Microservices
Zookeeper distributed lock
Most Internet systems are deployed in a distributed manner. Distributed deployment can indeed bring performance and efficiency improvements, but for this, we need to solve the problem of data consistency in a distributed environment in a single-machine environment. We can solve it through the concurrent API (lock, syn, etc.) provided by java, but it is much more complicated in a distributed environment (cross-JVM). Common solutions are distributed things, distributed locks, etc. Zookeeper imple