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
No reprinting without permission!
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
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 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
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
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
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