Merchant transaction result notification design
Technology stack: java+springboot+rabbitmq
In this article, let's discuss the design scheme of merchant transaction result notification. Students who do payment know that some transaction types are asynchronous transactions, that is, when the transaction message is sent to the bank or a third-party payment channel, the other party does not r ...
Posted by lnt on Sat, 06 Nov 2021 16:31:38 -0700
Using Docker Desktop to build zookeeper cluster under win10
1. Installation
2. Configure alicloud
3. Get image
There are many online tutorials in these three steps, so I won't write them.
Because each version may bring some changes, I'll talk about the version I use
zookeeper:3.7.0
Docker Desktop 4.1.1
Windows 10 professional 21H1
4. Configure docker-compose.yml
If it is too troublesome to configure d ...
Posted by hotcigar on Sat, 06 Nov 2021 08:55:02 -0700
[linux] CentOS8 Hadoop pseudo distributed environment construction (three node machines)
preface
1. This article mainly refers to Blogs: Click to enter , it integrates the pseudo distributed environment construction and some pit stepping matters.2. There are three node machines built in the environment: pc1, pc2 and pc3. Among them, pc1 is the management machine, and the three node machines all use the user Sillyhumans. If t ...
Posted by paperthinT on Thu, 04 Nov 2021 17:50:19 -0700
Bus of spring cloud 2020.0.4 series
1. General
As the old saying goes: people who can rest can work better. Body is the capital of revolution. If their body breaks down, they can no longer work.
To get back to business, we talked about the distributed configuration center config of SpringCloud before. In this article, we talked about the dynamic refresh of config configuration, ...
Posted by mbdonner on Thu, 04 Nov 2021 13:54:57 -0700
Zookeeper 3.7.0 installation and deployment
1, Introduction
1.1 general
Zookeeper
It is an open source distributed framework that provides coordination services for distributed frameworks
Apache
project
Working mechanism:
1.2 features
1.3 data structure
Structure and of ZooKeeper data model
Unix
The fil ...
Posted by wildteen88 on Wed, 03 Nov 2021 15:20:03 -0700
Spring cloud 2020.0.4 series Config
1. General
As the old saying goes: if one road doesn't work, go the other way. If plan A can't be implemented, follow Plan B. It's always useful to prepare more plans.
Well, let's get down to business. Today, let's talk about the distributed configuration center Config of spring cloud. There are many service nodes in the microservice architec ...
Posted by Scud on Wed, 03 Nov 2021 00:11:19 -0700
RocketMQ-Producer Start Process Decryption
The following is the RocketMQ - Producer series article index:
1: Start the process (this article)
2: Routing dynamic updates
3: Send Mode Analysis + Message Type Difference
4: Sending process of producer message
5: Routing queue selection, client redundancy policy (QA)
Introduction to Producer
Producer is the sender of the Ro ...
Posted by Pi_Mastuh on Tue, 02 Nov 2021 09:18:26 -0700
Zookeeper source code analysis - detailed explanation of zookeeper server
Previously:
The first two articles mainly introduced the startup process of Zookeeper server under cluster mode and the process of leader election. After the leader election, each node in the cluster has corresponding roles: leader, Follower and Observer. Then, according to the corresponding mode, different services will be started respectivel ...
Posted by stickynote427 on Sun, 31 Oct 2021 21:13:00 -0700
Hadoop is fully distributed
In fact, the construction methods of fully distributed and pseudo distributed are basically the same. Only individual files need to be changed. Let's start now!
The first step is to configure the IP address, host name, and the mapping between host and IP address. The tutorial is included in my previous pseudo distributed building, which will n ...
Posted by smudge on Sun, 31 Oct 2021 12:30:57 -0700
Why does Ali have to ask Redis for an interview? Alibaba architect's Redis distributed lock actual combat sharing
1, What is a distributed lock?
We all know the concept of lock when learning Java, such as synchronized lock based on JVM implementation and a set of code level locking mechanism lock provided by jdk. We often use these two locks in concurrent programming to ensure the correctness of code running in multi-threaded environment. However, these l ...
Posted by DJ Judas on Sat, 30 Oct 2021 11:10:29 -0700