分佈式設計mysql
1 讀取點贊數,如like_count=10 2 每次更新表中的數據時,爲了防止發生衝突,須要這樣操做 3 update t_article set like_count = 11 where article_id = 5 and like_count = 10;