Raft algorithm_ SOFAJRaft source code learning_ (I. background and main selection demonstration)
background
For the principle of raft algorithm, it is recommended to refer to the raft official website: https://raft.github.io/
It is highly recommended to watch the process animation of raft to facilitate intuitive understanding of the algorithm process
Animation address: http://thesecretlivesofdata.com/raft/
By reading the source code ...
Added by renegade888 on Sat, 25 Dec 2021 01:12:42 +0200
Message queue RocketMQ: message retry
Article catalog
Message queue RocketMQ: (I) overview
Message queuing RocketMQ: (II) system architecture
Message queue RocketMQ: (III) sending ordinary messages (three methods)
Message queue RocketMQ: (IV) sequential messages
Message queue RocketMQ: (V) delay message
Message queue RocketMQ: (VII) batch messages
Message queue RocketMQ: (VI ...
Added by jrtaylor on Fri, 24 Dec 2021 15:20:41 +0200
[SpringCloudAlibaba] Nacos distributed configuration
1, Nacos distributed configuration
1. Nacos concept
Nacos provides key/value storage for storing configuration and other metadata, and provides server-side and client-side support for externalized configuration in distributed systems. Using Spring Cloud Alibaba Nacos Config, you can centrally manage the external attribute configuration of ...
Added by drexnefex on Fri, 24 Dec 2021 03:38:22 +0200
Interviewer: how can Redis distributed locks be automatically renewed
Click on "end of life", pay attention to the official account.
Daily technical dry goods, delivered at the first time!
1. Redis implements distributed locks
Specify a key as the lock mark, store it in Redis, and specify a unique user ID as the value. When the key does not exist, the value can be set to ensure that only one ...
Added by jay_bo on Thu, 23 Dec 2021 22:37:26 +0200
Message Middleware--RabbitMQ Summary
Basic knowledge
Why use message middleware
decoupling
In applications with multiple systems, it is common that system A affects B, C, D data. The usual practice is to call the interfaces of other systems in A, so that the dependencies between systems are too large, and if new systems are added later, you need to add appropriate logic in ...
Added by webguy262 on Thu, 23 Dec 2021 04:33:49 +0200
My Distributed ID Service
Distributed ID Project
Main functions:
Distributed Project Acquisition ID UniqueImplement high availability and dynamic scalingHow to squeeze server resources
1. How to Keep ID Unique
Determining that the primary key ID is obtained is the only global need to ensure that the ID contains these elements:
Timestamp, globally unique and self-in ...
Added by peaforabrain on Tue, 21 Dec 2021 07:36:14 +0200
Learning notes of springcloud: understanding microservices, talking about capital, iterative evolution of technology, and taking payment module as an example to experience demo
springcloud2020
Daily Maxim
Learning your mind and understanding is useless—— "Confucian classics Grottoes"
Organize knowledge
String your previous things
How to learn at this stage
While learning new knowledge, don't forget to review yourself and your knowledge
My own things
javaSEdatabaseFront end knowledgeServle ...
Added by LoStEdeN on Tue, 21 Dec 2021 02:06:40 +0200
Hadoop distributed platform construction
Building Hadoop distributed platform in linux system
First, if the liunx network cannot be connected, click "Edit" in the VMwvare main interface, and then select "virtual network editor" After entering, restore the default settings in the following two steps. Generally, you can restore them after setting 1. Environmental ...
Added by Daveyz83 on Mon, 20 Dec 2021 15:04:22 +0200
[SpringBoot] distributed (Dubbo + Zookpeer) - service registration and discovery
1, What is distributed
Distributed computing is a new computing method proposed in recent years. The so-called distributed computing is that two or more software share information with each other. These software can run on the same computer or multiple computers connected through the network.
In distributed system principles and mode ...
Added by GregArtemides on Sun, 19 Dec 2021 22:34:26 +0200
Section 2 grpc Java quick start
catalogue
Step 1: create a project
1. Introduce dependency
2. Introducing plug-ins
3. Engineering structure
Step 2: write helloword proto
Step 3: generate code using plug-ins
Step 4: copy the file to the corresponding package
Step 5: use the generated code to write the client and server
1. Server code
2. Client code
3. Run
This s ...
Added by markmil2002 on Sun, 19 Dec 2021 18:24:58 +0200