drriguz commented on PR #698:
URL: https://github.com/apache/ratis/pull/698#issuecomment-1205003760

   BTW, I think we could also simplify the 
[ArithmeticStateMachine.java](https://github.com/apache/ratis/blob/master/ratis-examples/src/main/java/org/apache/ratis/examples/arithmetic/ArithmeticStateMachine.java)
 to use `synchronized` instead of `ReentrantReadWriteLock`, comparing with the 
benefit of performance, the code is less readable then the counter example.


-- 
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