Why use distributed locks?
Before discussing this issue, let's take a look at a business scenario:
System A is an e-commerce system. At present, it is deployed on A machine. There is an interface for users to place orders. However, users must check the inventory before placing orders to ensure that the inventory is sufficient.
Because the sy ...
Posted on Sun, 05 Dec 2021 08:54:30 -0500 by sean paul
Absrtact: the HA scheme with multi master instance mode can not only avoid the problem of service interruption during active / standby switching and realize no or less service interruption, but also improve the concurrency ability by horizontally expanding the cluster.
This article is shared from Huawei cloud community< FusionInsight Spar ...
Posted on Wed, 01 Dec 2021 12:47:39 -0500 by lurius
Maven installation and configuration
1, Download and install
go to https://Download the latest version of Maven at maven.apache.org/download.cgi
2, Custom storage directory
Extract the file to D:\Program Files\Apache\maven directory
3, Environment variable configuration
New environment variable MAVEN_HOME, assignment D:\Program Files\A ...
Posted on Mon, 29 Nov 2021 03:57:45 -0500 by Sarok
I. Experimental objectives (1) Learn about ZooKeeper distributed application coordination services. (2) Use three machines to build a ZooKeeper cluster. (3) Use ZooKeeper cluster. II. Experimental analysis 2.1 planning nodes
IP host name node 192.168.32.140 zookeeper1 Cluster node 192.168.32.141 zookeeper2 Cluster node 192.168.32.142 ...
Learn technology, not only to understand the principles, but also to be good at summarizing, but also to learn to apply, only in this way, you can become a true master.
Say nothing but go straight to dry!
Spring Core Interfaces and Classes
The spring framework solves a very critical problem that allows you to manage the ...
Posted on Sat, 20 Nov 2021 15:08:51 -0500 by paragkalra
The above analyzes the main process of starting in Zookeeper cluster mode, one of which is the election of Leader nodes.
Since all transaction type requests in Zookeeper are executed by the Leader node, Leader election is very important. This paper will look at the timing and execution process of Leader election.
1. Role of zookee ...
Posted on Sat, 30 Oct 2021 19:59:41 -0400 by wstran
3. Eureka service registration and discovery
Global brain map structure
3.1 Eureka Basics
3.1.1 what is service governance
What is service governance
Spring Cloud encapsulates the Eureka module developed by Netflix to realize service governance In the traditional rpc remote invocation framework, it is complex to manage the depende ...
Posted on Wed, 20 Oct 2021 00:50:41 -0400 by forcer
The above articles introduce the knowledge related to RPC calls. This time, let's learn about the principle and practice of the registry. We mainly introduce from the following aspects:
Function and design analysis of Registration CenterOpen source registry selectionIn depth analysis of Nacos registryIn depth analysis of Zookeeper implementati ...
Posted on Mon, 11 Oct 2021 18:49:49 -0400 by gordo2dope