摘要: 1、使用synchronized 2、乐观锁,数据库增加data_version字段 3、如果并发高的话,可以考虑队列 4、cas aba (不是很了解,后续深度到了,再研究) 阅读全文
posted @ 2022-05-11 15:48 古家杰 阅读(193) 评论(0) 推荐(0)