Skip to content
Snippets Groups Projects
Commit 837e114e authored by Vladislav Shpilevoy's avatar Vladislav Shpilevoy
Browse files

swim: pool IO tasks

Before the patch each SWIM member had two preallocated task
objects, 3KB in total. It was a waste of memory, because network
load per member in SWIM is ~2 messages per round step regardless
of cluster size.

This patch moves the tasks to a pool, where they can be reused.
Even by different SWIM instances running on the same node.
parent eb0cc50c
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment