Hitachi

In-Memory Data Grid Hitachi Elastic Application Data Store


9.1.2 Specifying the buffer size

The following figure provides an overview of the buffer used for communication by the EADS servers.

[Figure]

Requests sent from the EADS client are controlled in the EADS server as shown below.

[Figure]

Requests (data update operations) sent from the EADS client are retained in the history, and then queued for sending consensus messages. Queues for sending consensus messages are allocated for the number of EADS servers to which the consensus messages will be sent.

You can also use the eads.replication.sendQueue.length parameter in the server properties to specify the length of the queue for sending consensus messages. Use the eads.replication.sendQueue.datasize parameter in the server properties to specify the maximum amount of data that can be stored in the send queue.

You can use the eads.replication.preparations parameter in the shared properties to specify the maximum number of consensus processes that can be executed simultaneously.

For details about how to specify the maximum number of simultaneous connections and the maximum number of simultaneous threads, see 9.2 Designing the parameters related to thread pools and connection pools.

Approach

You can send and receive data efficiently by adjusting the buffer size according to the amount of data handled.