nsq icon indicating copy to clipboard operation
nsq copied to clipboard

async rpc calls in put messages to clusters

Open DoraALin opened this issue 8 years ago • 3 comments

Async rpc calls introduced in put message to nsqd slave,instead of message synchronization between each slave nsqd one by one. master nsqd calls each nsqd in async way, then listen for responses from slaves.

DoraALin avatar May 03 '17 10:05 DoraALin

b97b10b8-71f0-436b-9f07-7af70af93f25 Time elapse of nsqd in two message synchronization way(async and sync), with nsqd cluster show in above pic. default

DoraALin avatar May 03 '17 10:05 DoraALin

commit in https://github.com/absolute8511/nsq/commit/0066f340091120cd36d9381e9ce0503fede51983

DoraALin avatar May 09 '17 03:05 DoraALin

PutMessageToCluster & PutMessagesToCluster are async

DoraALin avatar May 09 '17 03:05 DoraALin