SzyWilliam commented on PR #925:
URL: https://github.com/apache/ratis/pull/925#issuecomment-1734914623

   > Is there a good reason to use LINEARIZABLE not LEASE?
   
   I believe we have.
   
   LINEARIZABLE should meet most requirements in typical scenarios. It allows 
followers to handle read requests while maintaining strict linearizability. 
This will be the default and recommended option to use in IoTDB.
   
   LEASE is designed for situations where low latency is crucial, even at the 
potential cost of linearizability violations. The use of LEASE is mandated by 
Alluxio @codings-dan. His experiments have demonstrated that in a 3-node 
cluster, using LINEARIZABLE alone results in only a 160% improvement in 
throughput due to latency, whereas theoretically, it could achieve a 300% 
improvement.
   
   Nevertheless, IoTDB may consider employing this option if the potential 
benefits outweigh the drawbacks.
   
   Also, I added revoke mechanisms during leader-transfer / stepDown. PTAL, 
thanks!
   @szetszwo @OneSizeFitsQuorum 
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to