KVServer is single threaded?
zhangyafeikimi opened this issue · 2 comments
zhangyafeikimi commented
As I observed, there is only one working thread in ps, and request handles including KVServerDefaultHandle need not to be thread safe.
The result is that ps-lite can't leverage all CPU cores.
May I have a multi-thread server?
mli commented
you can use multiple threads in the handle function
zhangyafeikimi commented
Got it, thanks a lot.