Installing keepalived in Linux binary

Deployment of keepalivedkeepalived is used in many highly available clusters. Generally, nginx, ipvs and haproxy are placed in the front end For example, when we use rabbitmq, we make such a cluster. If we make a cluster generally, we need such a highly available load balancer to distribute traffic. If we use haproxy, For example, if a rebbitm ...

Posted on Thu, 27 Feb 2020 06:20:27 -0500 by kind

Spring cloud pre knowledge + RabbitMQ

1, Introduction to microservice architecture 1. Single architecture Monomer architecture is also called monomer application. It is to couple all functional modules in one project 1.1 characteristics of single architecture 1. It will be packaged into a separate unit (a unique jar package or war pac ...

Posted on Mon, 24 Feb 2020 08:42:29 -0500 by jawinn

sed Common Commands

sed is a text processing tool that allows you to replace, add, select, and so on. formatsed option action file name Replace a field in a file with sedFor example, if you write a yaml file with a field in the middle that needs to be modified, you can use sed to replace it on the outside command lineFormat: sed's/original/new/filename [root@zhao ...

Posted on Mon, 17 Feb 2020 14:24:12 -0500 by mubashir

RabbitMQ explains the concept of message communication

1. RabbitMQ message communication architecture When it comes to message communication, we may first think of email, QQ, wechat, SMS and other communication methods. These communication methods have sender, receiver and a container for storing offline messages. But these communication modes are diffe ...

Posted on Wed, 12 Feb 2020 22:10:25 -0500 by james_holden

A reusable distributed transaction message architecture scheme based on RabbitMQ!

Author: Throwable Blog Park: https://www.cnblogs.com/throwable/p/12266806.html premise Distributed transaction is a difficult problem in micro-service practice. In the micro-service practice schemes implemented by the author, all of them adopt compromise or avoid strong consistency.Referring to the local message table scheme proposed by Ebay ...

Posted on Thu, 06 Feb 2020 22:48:04 -0500 by bigfatpig

Spring Cloud configuration center uses bus (message bus) to refresh cluster configuration automatically

spring boot version: 2.1.10.RELEASE spring cloud version: Greenwich.SR4 1, Refresh from client All of the following configurations are for clients and are available on the Microservice builds Spring Cloud configuration center [Client] The configuration posted here is the full version, but will not be ...

Posted on Sun, 02 Feb 2020 03:09:37 -0500 by Mega

Message queue of Golang -- the use of RabbitMQ

Usage scenarios of message queuing Asynchronous processing Asynchrony means that you don't need to finish the execution at one time. You can execute something else first, wait for the response here, and then do the processing. Here I will take a bad example of online use: user registration. After the ...

Posted on Mon, 20 Jan 2020 23:38:26 -0500 by stokie-rich

Teuthology Platform Deployment Manual

Teuthology architecture The automated test framework process is roughly as follows: Software Composition The software used by the Teuthology test framework consists of the following components: Jenkins Continuous Integration Tool teuthology Ceph test suite shaman queries provide chacra nodes for packages, scaling out and dispatching chacra no ...

Posted on Mon, 20 Jan 2020 23:02:24 -0500 by rickead2000

Lightweight RabbitMQ automatic configuration and exception handling component

Development background rabbitmq is used in the project. When a new switch or queue is introduced, exchange, queue and routingKey need to be configured. Repetitive work is cumbersome. Multiple copies need to be configured when the consumer side and the production side are separated, which is easy to m ...

Posted on Thu, 16 Jan 2020 05:43:16 -0500 by im8kers

Kafka use summary and production and consumption Demo implementation

What is kafka Kafka official website's own introduction is: a distributed flow platform can be supported.kafka official website kafka has three key capabilities: 1. Publish / subscribe record flow, similar to message queue and enterprise information system 2. Store the record stream in a fault-tolerant and persistent way 3. Con ...

Posted on Wed, 15 Jan 2020 07:25:05 -0500 by xydra