Configure Java Virtual Machine (JVM) -D startup parameters to tune High-speed Service Framework (HSF) behavior on Enterprise Distributed Application Service (EDAS), including ports, thread pools, timeouts, network bindings, and buffer limits.
Most parameters follow the naming pattern -Dhsf.{component}.{property}. Exceptions such as -Dpandora.qos.port and -DHsfBindHost are noted in the tables below.
Port configuration
When you run multiple HSF providers on the same machine, assign a unique port value to each provider.
Parameter | Default | Description |
|
| TCP port for the HSF service. |
|
| Pandora monitoring port. |
|
| HTTP port exposed by HSF. |
|
| Enables or disables the HSF HTTP port. |
Thread pool
Parameter | Default | Description |
|
| Maximum thread pool size for the HSF provider. Increase this value if concurrent requests frequently saturate the pool. |
|
| Minimum thread pool size for the HSF provider. |
Network binding
Use these parameters when the server has multiple network interface cards (NICs) and HSF binds to the wrong address.
Parameter | Default | Description |
| First NIC | IP address that the HSF provider binds to. By default, HSF binds to the first NIC. Set this parameter to override the default binding. |
| IP of first NIC | Host that the HSF provider binds to and reports to the address registry. For example, |
-DHsfBindHost uses PascalCase, unlike other HSF parameters.
Timeout and shutdown
Parameter | Default | Unit | Description |
|
| ms | Wait time for graceful shutdown. |
| - | - | Global timeout for all HSF consumer-side invocations. |
|
| - | When set to |
Service publishing
Parameter | Default | Unit | Description |
|
| - | When set to |
|
| ms | Interval between consecutive service publications. HSF exposes services immediately upon publishing. Increase this value if the application cannot handle the incoming workload during startup. |
Routing
Parameter | Default | Description |
|
| When |
|
| Controls whether the HSF client can make targeted calls that bypass ConfigServer. |
Write buffer limits
These parameters set the write buffer thresholds (water marks) for each channel. When the buffer exceeds the high water mark, the channel stops accepting writes. Writes resume after the buffer drops below the low water mark.
Set the high and low water marks as a pair. The high water mark must be greater than the low water mark. Consumer and provider water marks are configured independently.
Parameter | Default | Unit | Description |
|
| KB | Low water mark for each consumer channel. |
|
| KB | High water mark for each consumer channel. When the write buffer exceeds this value, new requests are rejected with an error. |
|
| KB | Low water mark for each provider channel. |
|
| KB | High water mark for each provider channel. When the write buffer exceeds this value, new responses are blocked, causing the consumer to time out. |
Generic invocation
Parameter | Default | Description |
| Not set | Set to |