39

分布式锁实现大型连续剧之(一):Redis-JavaIT程序员的博客

 5 years ago
source link: http://blog.51cto.com/13932491/2163864
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
单机环境下我们可以通过JAVA的Synchronized和Lock来实现进程内部的锁,但是随着分布式应用和集群环境的出现,系统资源的竞争从单进程多线程的竞争变成了多进程的竞争,这时候就需要分布式锁来保证。

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK