Hitachi

In-Memory Data Grid Hitachi Elastic Application Data Store


9.2.3 Parameters related to thread pools and connection pools

The following table lists the parameters related to thread pools and connection pools.

Table 9‒2: Parameters related to thread pools and connection pools

No.

Property file

Parameter name

Value to be specified

Default value

1

Server property file

eads.server.maxConnections

1 to 1024

10

2

eads.server.cache.maxExecuteThreads

1 to the eads.server.maxConnections parameter value

eads.server.maxConnections parameter value

3

eads.server.function.maxExecuteThreads

1 to the eads.server.maxConnections parameter value

eads.server.maxConnections parameter value

4

Function property file

eads.function.user-function-name.maxExecuteThreads

0 to the eads.server.function.maxExecuteThreads parameter value

0

5

Client property file

eads.client.connectionPool.poolsize

1 to 1024

10

6

eads.client.connectionPool.exceedMaxSizeError.enable

  • true

  • false

false

Organization of this subsection

(1) Server property file

(a) eads.server.maxConnections

This parameter specifies the maximum number of simultaneous connections to the EADS server.

If an attempt is made to establish more connections than the specified maximum number of simultaneous connections, an error is returned and communication is closed.

Specify at least the sum of the eads.client.connectionPool.poolsize parameter values specified in the client properties of the EADS clients that will be connected.

Note that the eads.client.connectionPool.poolsize parameter's value is also set in backlog of the Listen queue. If the value exceeds an OS limitation, the OS's limit value is set.

Extend the OS's limit value taking into account the value of the eads.client.connectionPool.poolsize parameter in the client properties. For details about how to extend limit values, see the OS documentation.

(b) eads.server.cache.maxExecuteThreads

This parameter specifies the maximum number of simultaneous threads for performing data operations.

(c) eads.server.function.maxExecuteThreads

This parameter specifies the maximum number of simultaneous threads for user functions.

(2) Function property file

(a) eads.function.user-function-name.maxExecuteThreads

This parameter specifies the maximum number of simultaneous threads for each user function.

For a user function name, specify a fully qualified class name.

If zero is specified, there is no limit to the number of simultaneous threads.

(3) Client property file

(a) eads.client.connectionPool.poolsize

This parameter specifies the maximum number of connections to be pooled for the same connection target.

As many connections as the value specified in this parameter can be established.

Specify the number of threads that can execute client API functions simultaneously.

(b) eads.client.connectionPool.exceedMaxSizeError.enable

This parameter specifies whether a request from an EADS client is to result in an error when the maximum number of connections to be pooled for the same connection target is reached and all are in use.

true

The client API function is to result in an error.

false

The client API function is not to result in an error. Instead, the client API function is to be placed in wait status.