On this page:
   35.64    HTTP Listener 35.66    HTTP Security   

35.65HTTP 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

35.65.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
  • App Management Tools
  • 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
  • SMART App Host (Deprecated)
  • SMART Outbound Security
  • Subscription Websocket Endpoint
Default Value 8
Example Property
module.[MODULE_ID].config.max_header_size.request.kb = 8

35.65.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
  • App Management Tools
  • 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
  • SMART App Host (Deprecated)
  • SMART Outbound Security
  • Subscription Websocket Endpoint
Default Value 8
Example Property
module.[MODULE_ID].config.max_header_size.response.kb = 8

35.65.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
  • App Management Tools
  • 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
  • SMART App Host (Deprecated)
  • SMART Outbound Security
  • Subscription Websocket Endpoint
Default Value 30000
Example Property
module.[MODULE_ID].config.read_idle_timeout.millis = 30000

35.65.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
  • App Management Tools
  • 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
  • SMART App Host (Deprecated)
  • SMART Outbound Security
  • Subscription Websocket Endpoint
Default Value (no default)
Example Property
module.[MODULE_ID].config.threadpool.accept_queue_size = 

35.65.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
  • App Management Tools
  • 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
  • SMART App Host (Deprecated)
  • SMART Outbound Security
  • Subscription Websocket Endpoint
Default Value 10
Example Property
module.[MODULE_ID].config.threadpool.max = 10

35.65.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
  • App Management Tools
  • 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
  • SMART App Host (Deprecated)
  • SMART Outbound Security
  • Subscription Websocket Endpoint
Default Value 5
Example Property
module.[MODULE_ID].config.threadpool.min = 5
   35.64    HTTP Listener 35.66    HTTP Security