szetszwo commented on PR #698: URL: https://github.com/apache/ratis/pull/698#issuecomment-1205842220
> 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. ArithmeticStateMachine indeed is a more complicated state machine than the CounterStateMachine. Anyway, let's focus on the Counter example here. > ... could you also invite me([[email protected]](mailto:[email protected])) to the slack channel? Just have invited you. Please check. -- 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]
