TibrvTransport.setBatchSize()
Declaration
void
setBatchSize
(int numBytes)
throws
TibrvException
Purpose
Enable outbound batching of data from IPM, and set the batch size (in bytes).
Remarks
This type of batching is available only with the IPM library. It is not available with the standard (daemon-based) Rendezvous library.
When the batch size is greater than zero, IPM transfers data to the network in batches. This option can increase throughput, at the cost of higher latency.
When the batch size is zero, IPM transfers data to the network immediately, for lowest latency.
If you do not explicitly set the batch size using this call, then the default behavior disables outbound batching.
Note |
Contraindications These conditions characterize situations in which we do not recommend batching:
|
Parameter |
Description |
|
Set the batch size (in bytes). Zero is a special value, which disables batching for the transport. |