Improve command apply time
Closed this issue · 3 comments
bakwc commented
Currently we have long delay between time when command request received and time when it's applied to cluster (~0.4 seconds, according to benchmakrs in https://github.com/GianlucaBortoli/krafters). Need to write a delay benchmark and optimize delay.
schmidtfx commented
What's is the delay now?
bakwc commented
~0.01 seconds at 50rps with 5 nodes in a cluster. Benchmark can be launched by:
cd PySyncObj/benchmarks
python benchmarks.py delay
bakwc commented
Also you need to set appendEntriesUseBatch=False
, by default syncobj is optimized for max requests per second and not for delay.