Smile CDR v2022.11.PRE
On this page:
   38.73    HTTP Listener 38.75    HTTP Security   

38.74HTTP Request Pool

 

The HTTP Request Pool configuration category includes the following configurable options:

  • Maximum Request Header Size (KB)

  • Maximum Response Header Size (KB)

  • Read Idle Timeout (millis)

  • Thread Pool Accept Queue Size

  • Thread Pool Maximum Size

  • Thread Pool Minimum Size

38.74.1Property: Maximum Request Header Size (KB)

 
Property Name Maximum Request Header Size (KB)
Property Key
Property Type POSITIVE_INTEGER
Description This setting controls the maximum total size for the request headers to parse by the server. Increase this setting if you expect to have large request header groups.
Applies to Modules
  • CDS Hooks REST Endpoint
  • FHIR Gateway REST Endpoint
  • FHIR REST Endpoint (DSTU2)
  • FHIR REST Endpoint (R3)
  • FHIR REST Endpoint (R4)
  • FHIRWeb Console
  • Hybrid Providers REST Endpoint
  • JSON Admin API
  • Package Registry Endpoint
  • Payer to Payer
  • SMART App Host (Deprecated)
  • SMART Outbound Security
  • Subscription Websocket Endpoint
  • appSphere
Default Value 8
Example Property
module.[MODULE_ID].config.max_header_size.request.kb = 8

38.74.2Property: Maximum Response Header Size (KB)

 
Property Name Maximum Response Header Size (KB)
Property Key
Property Type POSITIVE_INTEGER
Description This setting controls the maximum total size for the response headers to be generated by the server. Increase this setting if you expect the server to generate large response headers, e.g. if Performance Tracing or validation will be output to the HTTP headers.
Applies to Modules
  • CDS Hooks REST Endpoint
  • FHIR Gateway REST Endpoint
  • FHIR REST Endpoint (DSTU2)
  • FHIR REST Endpoint (R3)
  • FHIR REST Endpoint (R4)
  • FHIRWeb Console
  • Hybrid Providers REST Endpoint
  • JSON Admin API
  • Package Registry Endpoint
  • Payer to Payer
  • SMART App Host (Deprecated)
  • SMART Outbound Security
  • Subscription Websocket Endpoint
  • appSphere
Default Value 8
Example Property
module.[MODULE_ID].config.max_header_size.response.kb = 8

38.74.3Property: Read Idle Timeout (millis)

 
Property Name Read Idle Timeout (millis)
Property Key
Property Type POSITIVE_INTEGER
Description When reading a request payload arriving from a client, this value specifies how long the server should wait if data stalls before timing out.
Applies to Modules
  • CDS Hooks REST Endpoint
  • FHIR Gateway REST Endpoint
  • FHIR REST Endpoint (DSTU2)
  • FHIR REST Endpoint (R3)
  • FHIR REST Endpoint (R4)
  • FHIRWeb Console
  • Hybrid Providers REST Endpoint
  • JSON Admin API
  • Package Registry Endpoint
  • Payer to Payer
  • SMART App Host (Deprecated)
  • SMART Outbound Security
  • Subscription Websocket Endpoint
  • appSphere
Default Value 30000
Example Property
module.[MODULE_ID].config.read_idle_timeout.millis = 30000

38.74.4Property: Thread Pool Accept Queue Size

 
Property Name Thread Pool Accept Queue Size
Property Key
Property Type NON_NEGATIVE_INTEGER
Description If set, provides the number of requests that will be queued waiting for an available thread before giving up and rejecting incoming connections. By default the queue is unbounded.
Applies to Modules
  • CDS Hooks REST Endpoint
  • FHIR Gateway REST Endpoint
  • FHIR REST Endpoint (DSTU2)
  • FHIR REST Endpoint (R3)
  • FHIR REST Endpoint (R4)
  • FHIRWeb Console
  • Hybrid Providers REST Endpoint
  • JSON Admin API
  • Package Registry Endpoint
  • Payer to Payer
  • SMART App Host (Deprecated)
  • SMART Outbound Security
  • Subscription Websocket Endpoint
  • appSphere
Default Value (no default)
Example Property
module.[MODULE_ID].config.threadpool.accept_queue_size = 

38.74.5Property: Thread Pool Maximum Size

 
Property Name Thread Pool Maximum Size
Property Key
Property Type POSITIVE_INTEGER
Description The maximum number of threads to create for servicing requests when this module is under full load.
Applies to Modules
  • CDS Hooks REST Endpoint
  • FHIR Gateway REST Endpoint
  • FHIR REST Endpoint (DSTU2)
  • FHIR REST Endpoint (R3)
  • FHIR REST Endpoint (R4)
  • FHIRWeb Console
  • Hybrid Providers REST Endpoint
  • JSON Admin API
  • Package Registry Endpoint
  • Payer to Payer
  • SMART App Host (Deprecated)
  • SMART Outbound Security
  • Subscription Websocket Endpoint
  • appSphere
Default Value 10
Example Property
module.[MODULE_ID].config.threadpool.max = 10

38.74.6Property: Thread Pool Minimum Size

 
Property Name Thread Pool Minimum Size
Property Key
Property Type NON_NEGATIVE_INTEGER
Description The minimum number of threads to keep idle in the pool between servicing requests.
Applies to Modules
  • CDS Hooks REST Endpoint
  • FHIR Gateway REST Endpoint
  • FHIR REST Endpoint (DSTU2)
  • FHIR REST Endpoint (R3)
  • FHIR REST Endpoint (R4)
  • FHIRWeb Console
  • Hybrid Providers REST Endpoint
  • JSON Admin API
  • Package Registry Endpoint
  • Payer to Payer
  • SMART App Host (Deprecated)
  • SMART Outbound Security
  • Subscription Websocket Endpoint
  • appSphere
Default Value 5
Example Property
module.[MODULE_ID].config.threadpool.min = 5
   38.73    HTTP Listener 38.75    HTTP Security