Changing the buffer size

The buffer size controls the number of entries that the gateway stores in its buffer before flushing them to the ObjectServer. The optimum value for the buffer size depends on the average event size and the speed of the network. The default buffer size is often sufficient. To reduce latency, you can adjust the buffer size.

The gateway uses separate buffers for the source and destination ObjectServers

Procedure

You can adjust the buffer size as follows:

  1. To determine the most efficient setting for your system, keep a record of the time that it takes for resynchronization operations to complete. Then, change the resynchronization properties and resynchronize again, and compare the timing figures. Repeat as required.
  2. To change the buffer size for the source and destination ObjectServer, change the values of the following properties accordingly:
    • Gate.ObjectServerA.Buffersize
    • Gate.ObjectServerB.Buffersize

What to do next

After you edit the properties file, restart the gateway.