Tencent / phxpaxos

The Paxos library implemented in C++ that has been used in the WeChat production environment.
Other
3.35k stars 862 forks source link

请问batch propose 2KB 15W,压测条件为单条数据2KB再进行一定量的合并吗? #178

Open liuliuwd opened 4 years ago

liuliuwd commented 4 years ago

请问是单条2KB ×N条数据合并还是,N条任意大小的数据合并为2KB的batch请求再发起propose?我们自测有些差距,想了解下压测条件,麻烦看到后回复下,谢谢!

lynncui00 commented 4 years ago

15w qps of Node::BatchPropose and 2kb for each value. But this result requires a few perrequisites.

  1. 3 independent machines or more.
  2. Share Node::BatchPropose request to every machine.
  3. Sufficient network bandwidth. (2KB * 150000 = 300M = 2400mbps/s, For BatchPropose, we use 10 Gigabit LAN)
  4. Sufficient client concurrency.
liuliuwd commented 4 years ago

了解了,谢谢