Xi. Using KeepAlived for high availability load balancing of RabbitMQ

Summary The high availability architecture is kept + HAproxy. It uses HAproxy to do RabbitMQ load balancing and high availability, and kept to ensure the high availability of HAproxy. assembly IP address port RabbitMQ disk node-01 192.168.0.101 5672 RabbitMQ disk node-02 192.168.0.102 5672 RabbitMQ dis ...

Posted on Sun, 17 Nov 2019 12:17:38 -0500 by andrewmay67

Java's new project learning online notes-day10

1.4 test CMS one key release interface 1.4.1 configure virtual host In nginx, configure the virtual host on the course details page to access: www.xuecheng.com/course/detail /... HTML. #Static resource serviceupstream static? Server? Pool{ server 127.0.0.1:91 weight=10; } server { listen 80; server_name www.xuecheng.com; ssi ...

Posted on Fri, 15 Nov 2019 17:05:20 -0500 by jrforrester

Ubuntu rabbitmq installation and springboot integration

install rabbitMQ is written in erlang language. Install erlang first sudo apt-get install erlang-nox #installation is complete erl Next, add the public key wget -O- https://www.rabbitmq.com/rabbitmq-release-signing-key.asc | sudo apt-key add - Install rabbitMQ, and it will start automatically after installation sudo apt-get ...

Posted on Tue, 12 Nov 2019 10:49:55 -0500 by PHPHorizons

Four Exchange modes of rabbitMQ are easy to use (direct fanout topic header instance)

Keyword Exchange: switch Routing key: routing key Four Exchange modes direct: producers and consumers need to bind the same Exchange and routing key s. fanout: broadcast mode requires producers and consumers to bind the same Exchange. topic: the broadcast mode supporting fuzzy matching is sepa ...

Posted on Sat, 02 Nov 2019 17:08:26 -0400 by phpcoding2

II. Use case of RabbitMQ in a mall project

I. sending messages when adding, deleting, modifying and checking commodities To introduce amqp dependency in item service: <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-amqp</artifactId> </dependency> Configure re ...

Posted on Fri, 01 Nov 2019 01:05:57 -0400 by phpuser1985

In depth understanding of RocketMq common message and sequential message usage, principle and optimization

1. background Recently, we have been doing some pressure tests on the system and optimizing some problems. We have gained a lot of good optimization experience from these problems. The following articles will focus on this aspect. In the process of this crackdown, what we have gained is the optimization of RocketMq. At the beginning, our compan ...

Posted on Mon, 28 Oct 2019 23:50:04 -0400 by EPCtech

(advanced thinking) II. Combing advanced knowledge II

Preface Technical point: restful wechat development, payment, subscription and publication, rpc.I don't know when I'm going to stop. Go ahead. 1. Subscription push Message queuing has been implemented in high concurrency detection series. In the same way as publish and subscribe, the real-time function needs cli online service, otherwise it nee ...

Posted on Mon, 28 Oct 2019 13:13:50 -0400 by dekeb55

Flink learning from 0 to 1 -- Introduction to Data Sink

Preface First of all, Sink means: You can probably guess! Data sink is a bit of a way to store (drop) data. As shown in the figure above, Source is the Source of data. The middle Compute is actually what Flink does. It can do a series of operations. After the operation, sink the calculated data result to a certain place. (it can be MySQL ...

Posted on Sun, 27 Oct 2019 04:37:40 -0400 by treppers

Getting started with Spring Boot: integrating Quartz timed tasks

Continuation of this film< Getting started with Spring Boot (8): integrating RabbitMQ message queuing >, refer to< Getting started with basic use of Quartz (version 2.3.0)> spring boot implements timing tasks. In addition to integrating Quartz, you can also directly use the scheduler annotation. It can be done with a simple annotat ...

Posted on Wed, 23 Oct 2019 15:23:02 -0400 by BrentonHale

rabbitmq configuration class writing notes

1. Create constant value for later application. (less typing and laziness are the responsibility of program change, but they are easy to use) The general model of rabbitmq sending message The constants that need to be defined when using rabbitmq are exchange and queue. Since the working mode we use is t ...

Posted on Sat, 19 Oct 2019 15:06:00 -0400 by Walle