Rocketmq distributed transaction processing details

Rocketmq distributed transaction processing details I Related concepts Based on its message definition, RocketMQ extends two related concepts to transaction messages: 1. Half(Prepare) Message -- half message (preprocessed message) Semi message is a special message type. Messages in this state cannot be consumed by consumers temporarily. When ...

Posted by web_loone_08 on Tue, 28 Dec 2021 10:21:22 +0100

Flume cluster installation and deployment, flume entry operation cases: Official cases of monitoring port data and real-time monitoring of multiple additional files in the specified directory

Introduction: This is a learning note blog about the installation and deployment of flume. The main contents include: flume installation and deployment and two entry cases of flume. They are: the official case of monitoring port data and the file changes tracked by multiple files in the specified directory in real time. If there are mistakes, p ...

Posted by 3.grosz on Tue, 28 Dec 2021 09:57:51 +0100

Feign study notes

Feign declarative remote call 1. Introduction Feign is a declarative HTTP client. Its purpose is to make remote calls easier. Feign provides the template of HTTP request. By writing a simple interface and inserting annotations, you can define the parameters, format, address and other information of HTTP request. Feign integrates Ribbon (l ...

Posted by Spaceboy on Tue, 28 Dec 2021 06:54:03 +0100

Zookeeper entry level knowledge notes

First meet Zookeeper Zookeeper is a sub project under the Apache Hadoop project. It is a tree directory service. The zoo keeper is used to manage Hadoop, Hive, Pig and other animals. Zookeeper is a distributed, open source, distributed application coordination service. The most commonly used functions: configuration management, distributed lo ...

Posted by macastor on Tue, 28 Dec 2021 06:12:33 +0100

[spring cloud] spring cloud integrates the environment of Seata distributed transactions

1, Foreword In the last article Research on distributed transaction principle of Seata AT mode In this paper, we will use spring cloud and spring cloud Alibaba to integrate Seata to realize distributed transaction control, and use Nacos as the registration center to register Seata into Nacos. 2, Environmental preparation This article mainly ...

Posted by burtybob on Mon, 27 Dec 2021 10:26:35 +0100

Add some practice to learning and develop a distributed im (instant messaging) system!

catalogue 1, Foreword 2, Demonstration 3, System design 4, UI development 1. Overall structure definition and sidebar 2. Dialog box 3. Friends bar 4. Event definition 5, Communication design 1. System architecture 2. Communication protocol 3. Add friends 4. Message response 5. Disconnection and reconnection 6. Trunking communica ...

Posted by nicko on Sun, 26 Dec 2021 20:29:26 +0100

Database sub database sub table - distributed global Id required

In the project development, with the continuous development of business, the data increases day by day. At this time, the database and table splitting operation of the data table will appear. Once the database and table are divided. The traditional ID loses its meaning. Therefore, a distributed global ID is required. Characteristics of distrib ...

Posted by sBForum on Fri, 24 Dec 2021 02:43:17 +0100

Detailed explanation of distributed lock learning

1. Distributed lock 1.1 what is distributed lock When we develop a stand-alone application involving concurrent synchronization, we often use synchronized or ReentrantLock to solve the problem of code synchronization between multiple threads. However, when our application works in a distributed cluster, we need a more advanced locking mechani ...

Posted by onyx on Wed, 22 Dec 2021 17:15:14 +0100

Talk about locks all the way

Synchronized I. Use Modifier class: instance method, static method, code block; Instance method: Lock object is the current instance object: public synchronized void sayHello(){ System.out.println("Hello World"); } Static method: Lock object is the current class Class object: public static synchronized void sayHello(){ System.out.print ...

Posted by nick314 on Wed, 22 Dec 2021 07:31:22 +0100

Easy implementation of distributed single-point timing tasks using Nacos

background Timing tasks need to be handled in the project, and our applications will be published and run on multiple servers. In order to avoid concurrent processing leading to dirty data, we usually introduce distributed scheduling systems such as Elastic-Job or xxl-Job to process. But this requires a new system to be built, and if it's just ...

Posted by evaoparah on Wed, 22 Dec 2021 00:49:29 +0100