Description
In OrderedAsync, the messages are sent asynchronously except for the first message. The first message is used to establish the connection. OrderedAsync will wait for the first message to complete before sending the following messages.
Note that, when sending only two messages, the performance of sending the messages asynchronously is degenerated to sending them sequentially
msingh has discovered a case that can be optimized: an application may send two or more messages and the first message may take a long time to process. In this case, we may send a dummy lightweighted message establish the connection, and then send real messages.
Attachments
Attachments
Issue Links
- is broken by
-
RATIS-726 TimeoutScheduler holds on to the raftClientRequest till it times out even though request succeeds
- Resolved