Implementation of distributed delay tasks based on rabbitmq delay plug-in

1, Usage scenarios for delayed tasks 1. The order was placed successfully and was not paid for 30 minutes. Payment timeout, automatic cancellation of order 2. The order was signed, and no evaluation was conducted 7 days after signing. The order timeout is not evaluated, and the system defaults to high praise 3. The order was placed successfu ...

Posted by mshallop on Sat, 05 Mar 2022 13:46:57 +0100

java implementation of distributed project construction

1 distributed 1.1 what is distributed A distributed system must be a system composed of multiple nodes. Among them, nodes refer to computer servers, and these nodes are generally not isolated, but interconnected.Our nodes are deployed on these connected nodes, and their operations will be coordinated. For users, the distributed system is just ...

Posted by napurist on Sat, 05 Mar 2022 13:07:40 +0100

Distributed serial interface calls openfeign -- how is the openfeign interface injected into spring

The declarative interface calls Feign, which greatly simplifies the calls between our interfaces. The interface between our systems can be called only through annotations. With regard to distributed, we focused on service governance. eureka, consul t and zookeeper have studied the principles and differences of the three frameworks from three ...

Posted by lindm on Fri, 04 Mar 2022 05:07:25 +0100

How to implement distributed locks with Redis?

brief introduction   I believe that the biggest motivation for many people to learn distributed locks is not their own system needs, but the needs of interviewers... Of course, this also shows that the distribution lock is very important. It is often used as an examination question. Before learning, we need to clarify several questions. ...

Posted by Virii on Thu, 03 Mar 2022 13:15:01 +0100

RabbitMQ - advanced features

Shangsi Valley Learning notes-8 RabbitMQ advanced features 8.1 reliable delivery of messages When using RabbitMQ, the message sender wants to eliminate any message loss or delivery failure scenarios. RabbitMQ provides us with two ways to control the delivery reliability mode of messages. ·confirm mode ·Return return mode rabb ...

Posted by JohnMC on Mon, 28 Feb 2022 13:03:52 +0100

Spring Cloud Gateway filter factory

SpringCloudAlibaba+Nacos integration Gateway Spring cloud gateway combined with Sentienl to implement gateway current limiting mechanism Instructions for use of various types of predicates built in Spring Cloud Gateway Routing filters allow you to modify incoming HTTP requests or outgoing HTTP responses in some way. The scope of the route ...

Posted by ccx004 on Mon, 28 Feb 2022 07:09:39 +0100

Practical exercise 3 (optional): deploy a three copy OceanBase cluster using OBD (offline installation)

Deployment planning This job is the three node deployment method of OceanBase cluster. Directly and remotely log in to the OceanBase node through the central control computer to deploy and start the observer and obproxy processes. Since there are exactly seven physical machines on hand, OBD will be directly deployed as an OceanBase cluster wi ...

Posted by scm24 on Sun, 27 Feb 2022 16:10:18 +0100

Redis or Zookeeper for distributed locks?

Distributed locks are usually implemented in the following ways: database Cache (e.g. Redis) Zookeeper etcd In actual development, Redis and Zookeeper are mostly used, so this article only talks about these two. Before discussing this issue, let's take a look at a business scenario: System A is an e-commerce system. At present, it is ...

Posted by itisme on Sun, 27 Feb 2022 00:51:50 +0100

Distributed transaction solution 2: message queue to achieve final consistency

1. Reliable messaging for ultimate consistency We have studied the CAP theory before and know that we generally guarantee P and A, abandon C and ensure the final consistency. Distributed transaction The core of using message queue to achieve final consistency is to split distributed transactions into multiple local transactions, and then coord ...

Posted by elflacodepr on Sat, 26 Feb 2022 14:09:51 +0100

RabbitMQ cluster scheme

catalogue 1. Principle of cluster scheme 2. Single machine multi instance deployment 3.RabbitMQ image cluster configuration 4. Load balancing - HAProxy 4.1 installing HAProxy 4.2 configuring HAProxy The clustering scheme of message queue will be adopted in practical production applications. If RabbitMQ is selected, it is necessary to ...

Posted by 11Tami on Fri, 25 Feb 2022 11:58:25 +0100