RabbitMQ introduction and Application
1, Brief introduction
Open source AMQP implementation, written in Erlang language, supports a variety of clients Distributed, highly available, persistent, reliable and secure Support multiple protocols: AMQP, STOMP, MQTT, HTTP Message Oriented Middleware for business decoupling between multiple systems
2, Basic concepts
1. Exchange: an ...
Added by niranjnn01 on Wed, 29 Dec 2021 17:59:32 +0200
Step by step screenshot of Feign learning notes of spring cloud service registration discovery (service governance) (with source code project written during learning)
SpringCloud
The project source code written during the learning of the whole spring cloud: git@gitee.com:HumorChen/spring-cloud-parent.git The last blog was: eureka (service governance) Step by step screenshot of Eureka learning notes of spring cloud service registration discovery (service governance) (with the source code project written d ...
Added by abakash on Wed, 29 Dec 2021 17:54:44 +0200
fastDFS lightweight distributed file system
1. fastDFS
fastDFS is an open source lightweight distributed file system developed in C language. It is generally used as a resource server
2. Main functions of fastdfs
file storeFile synchronizationFile access (file upload | file download)It is especially suitable for online services based on documents (picture websites, video website ...
Added by Jurik on Tue, 28 Dec 2021 21:27:02 +0200
On openresty, a high-performance long polling push service is quickly built based on lock and redis
Why?In the actual development, we often encounter the situation that we need to wait for background events for a long time, such as the common code scanning login function, the event that the QR code interface needs to wait for the successful code scanning login in the background, and the task that takes a long time to complete, such as import ...
Added by usmanmr on Tue, 28 Dec 2021 19:39:11 +0200
RabbitMQ Dead Letter Queue
1. The concept of dead letter queues
_First, clarify this definition from the conceptual explanation. Dead faith, as its name implies, is a message that cannot be consumed. Literally, it means that producer delivers the message to broker or directly to queue. Consumerer takes the message out of queue for consumption, but sometimes some mes ...
Added by D_tunisia on Mon, 27 Dec 2021 16:55:00 +0200
rabbitmq switch + dead letter queue + delay queue
5. Switch
In the previous section, we created a work queue. We assume that behind the work queue, each task is delivered to exactly one consumer (work process). In this section, we will do something completely different - we will convey the message to multiple consumers. This mode is called publish / subscribe
To illustrate this pattern, we w ...
Added by nileshkulkarni on Mon, 27 Dec 2021 01:21:58 +0200
Detailed explanation of Elasticsearch Template
In ES, we can set
Index Template and
Dynamic Template to better manage and set indexes and mapping for us.
1, Index Template
For example, we need to use es for log management. We all know that the amount of log data is very large. If a single index is used to save all log data, there may be some performance problems. We can automaticall ...
Added by TubeRev on Sun, 26 Dec 2021 23:24:49 +0200
Dead letter queue and delay queue of RabbitMQ
RabbitMQ dead letter queue and delay queue
RabbitMQ itself has the properties of dead letter queue and dead letter switch. Delay queue can be realized through dead letter queue and dead letter switch. In the e-commerce industry, there is usually a demand: if the order is not paid in time out, the order will be cancelled automatically. Then the ...
Added by Aurasia on Sun, 26 Dec 2021 19:41:36 +0200
[spring cloud] spring cloud integrates the client business process of Seata distributed transactions
preface
Article on Spring cloud integrates the basic environment of Seata distributed transaction (Part I) In this paper, we mainly complete the function implementation of three micro service order services: cloudalibaba Seata order service2001, inventory service: cloudalibaba Seata storage service2002 and balance service: cloudalibaba Seata a ...
Added by DaZZleD on Sat, 25 Dec 2021 08:25:59 +0200
Detailed explanation of ElasticSearch distributed search engine
1. ElasticSearch overview
The Elastic Stack, including elasticsearch, Kibana Beats and Logstash (also known as ELK Stack). It can safely and reliably obtain data from any source and any format, and then search, analyze and visualize the data in real time. Elasticsearch, abbreviated as ES, is an open-source and highly extended distributed full- ...
Added by railanc4309 on Sat, 25 Dec 2021 01:29:38 +0200