Smile CDR v2024.05.PRE
On this page:
   45.93    HTTP Listener 45.95    HTTP Security   

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

45.94.2Property: 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 (All FHIR Versions)
  • FHIR REST Endpoint (DSTU2 - Deprecated)
  • FHIR REST Endpoint (R3 - Deprecated)
  • FHIR REST Endpoint (R4 - Deprecated)
  • FHIRWeb Console
  • HL7 v2.x Listening Endpoint
  • Hybrid Providers REST Endpoint
  • JSON Admin API
  • MDM UI
  • Package Registry Endpoint
  • Payer to Payer
  • SMART Outbound Security
  • Subscription Websocket Endpoint
  • appSphere
Default Value 8
Example Property
module.[MODULE_ID].config.max_header_size.request.kb = 8

45.94.3Property: 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 (All FHIR Versions)
  • FHIR REST Endpoint (DSTU2 - Deprecated)
  • FHIR REST Endpoint (R3 - Deprecated)
  • FHIR REST Endpoint (R4 - Deprecated)
  • FHIRWeb Console
  • HL7 v2.x Listening Endpoint
  • Hybrid Providers REST Endpoint
  • JSON Admin API
  • MDM UI
  • Package Registry Endpoint
  • Payer to Payer
  • SMART Outbound Security
  • Subscription Websocket Endpoint
  • appSphere
Default Value 8
Example Property
module.[MODULE_ID].config.max_header_size.response.kb = 8

45.94.4Property: 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 (All FHIR Versions)
  • FHIR REST Endpoint (DSTU2 - Deprecated)
  • FHIR REST Endpoint (R3 - Deprecated)
  • FHIR REST Endpoint (R4 - Deprecated)
  • FHIRWeb Console
  • HL7 v2.x Listening Endpoint
  • Hybrid Providers REST Endpoint
  • JSON Admin API
  • MDM UI
  • Package Registry Endpoint
  • Payer to Payer
  • SMART Outbound Security
  • Subscription Websocket Endpoint
  • appSphere
Default Value 30000
Example Property
module.[MODULE_ID].config.read_idle_timeout.millis = 30000

45.94.5Property: 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 (All FHIR Versions)
  • FHIR REST Endpoint (DSTU2 - Deprecated)
  • FHIR REST Endpoint (R3 - Deprecated)
  • FHIR REST Endpoint (R4 - Deprecated)
  • FHIRWeb Console
  • HL7 v2.x Listening Endpoint
  • Hybrid Providers REST Endpoint
  • JSON Admin API
  • MDM UI
  • Package Registry Endpoint
  • Payer to Payer
  • SMART Outbound Security
  • Subscription Websocket Endpoint
  • appSphere
Default Value (no default)
Example Property
module.[MODULE_ID].config.threadpool.accept_queue_size = 

45.94.6Property: 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 (All FHIR Versions)
  • FHIR REST Endpoint (DSTU2 - Deprecated)
  • FHIR REST Endpoint (R3 - Deprecated)
  • FHIR REST Endpoint (R4 - Deprecated)
  • FHIRWeb Console
  • HL7 v2.x Listening Endpoint
  • Hybrid Providers REST Endpoint
  • JSON Admin API
  • MDM UI
  • Package Registry Endpoint
  • Payer to Payer
  • SMART Outbound Security
  • Subscription Websocket Endpoint
  • appSphere
Default Value 10
Example Property
module.[MODULE_ID].config.threadpool.max = 10

45.94.7Property: 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 (All FHIR Versions)
  • FHIR REST Endpoint (DSTU2 - Deprecated)
  • FHIR REST Endpoint (R3 - Deprecated)
  • FHIR REST Endpoint (R4 - Deprecated)
  • FHIRWeb Console
  • HL7 v2.x Listening Endpoint
  • Hybrid Providers REST Endpoint
  • JSON Admin API
  • MDM UI
  • Package Registry Endpoint
  • Payer to Payer
  • SMART Outbound Security
  • Subscription Websocket Endpoint
  • appSphere
Default Value 5
Example Property
module.[MODULE_ID].config.threadpool.min = 5
   45.93    HTTP Listener 45.95    HTTP Security