Five Basic Models + Advanced Features of RabbitMQ

I. Installation 1.linux Download three rpm files and upload: elrang,scoat,rabbitmq-server Installation: rpm -ivh erlang-19.0.4-1.el7.centos.x86_64.rpm rpm -ivh socat-1.7.3.2-1.1.el7.x86_64.rpm --force --nodeps rpm -ivh rabbitmq-server-3.6.6- ...

Posted on Thu, 29 Aug 2019 21:25:29 -0700 by dandare

Spring Boot Integration RabbitMQ Instance

What is a message? Messages are a way of communicating between one or more entities and are ubiquitous. Since the invention of computers, computers have sent messages in a variety of ways. Messages define how software, hardware, or applications communicate.Messages always have one sender and multiple recipients. Messages are synchronous and a ...

Posted on Sat, 11 May 2019 17:14:05 -0700 by syth04

RabbitMQ - From Foundation to Practice (1) - Hello RabbitMQ

No reprinting without permission! 1. introduction This blog article introduces how to install RabbitMQ Server on windows platform and use JAVA code to send and receive messages. Note: The picture can be enlarged by clicking! 2. Install RabbitMQ RabbitMQ was developed with Erlang, so you need to install the Erlang environment first. Here Downlo ...

Posted on Sat, 13 Apr 2019 22:30:32 -0700 by navid

phoenix development API series (3) phoenix api combined with database

Summary After introducing various writing methods of api, the following is how to connect with database when building api. Note that the complete code of the project used below has been made public: http://git.oschina.net/wangyubin/phoenix-api ecto introduction ecto is actually independent of phoenix framework. It is a framework for accessing d ...

Posted on Thu, 21 Mar 2019 02:18:52 -0700 by Phairest

Elxir High Availability Series (II) GenServer

Summary If we need to manage multiple processes, then we need a special server to centrally monitor and control the status of these processes, start and stop, etc. GenServer in OTP platform is an abstraction of the general part of this server. Using the general operation already provided in GenServer, we can easily develop reliable and robust p ...

Posted on Wed, 20 Mar 2019 21:54:52 -0700 by SchweppesAle

Elxir High Availability Series (III) GenEvent

Summary GenEvent is an abstraction of the general part of event processing. Through GenEvent, we dynamically add event handling to existing services. Differences between GenEEvet and GenServer The main differences between GenServer, GenServer and GenEvent have been introduced before. GenServer is the abstraction of servers. In addition to enca ...

Posted on Wed, 20 Mar 2019 12:09:27 -0700 by elum.chaitu

gen_server terminate and trap_exit

Whether novice or expert, writing gen_server often encounters terminate/2, sometimes executing, sometimes not executing confusion. For example, in stack overflow Handling the cleanup of the gen_server state Because Documentation of terminate It was vaguely written and did not give a solution for how terminate/2 would be executed. In order to st ...

Posted on Mon, 24 Dec 2018 21:00:06 -0800 by JasonTC