horizonzy opened a new pull request, #2030:
URL: https://github.com/apache/zookeeper/pull/2030

   For each request, it will be serialized three times.
   1. Leader proposal. It will serialize the request, wrap the serialized data 
in a proposal, then send the proposal to the quorum members.
   2. SyncRequestProcessor append txn log. It will serialize the request, then 
write the serialized data to the txn log.
   3. ZkDataBase addCommittedProposal. It will serialize the request, wrap the 
serialized data in a proposal, then add the proposal to committedLog.
   
   Serialization operations are CPU-sensitive, and when the CPU experiences 
jitter, the time required for serialization operations will also skyrocket. 
Therefore, we should avoid serializing the same request multiple times.
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@zookeeper.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to