The difference between synchronized and Lock:
Middleware rocketMQ
Two lock modes: fair lock mode and unfair lock
Thread starved, Netease cloud uses rocketmq
How to achieve thread blocking: park, unpark
Thread communication
Middleware rocketMQ
Two lock modes: fair lock mode and unfair lock
Thread starved, Netease cloud uses rocketmq
How to achieve thread blocking: park, unpark
Thread communication