Practical Haskell by Alejandro Serrano Mena
Author:Alejandro Serrano Mena
Language: eng
Format: epub
ISBN: 9781484244807
Publisher: Apress
Installing Rabbitmq
In order to run the code in this section, you need to have an AMQP-compatible broker in your machine. My suggestion is to use RabbitMQ, available at https://www.rabbitmq.com . The server runs in Linux, Windows, and MacOS X, and you can also get it as a Docker image. In the code below, I assume that you have RabbitMQ running in the default port, 5672, with the default security configuration, so we can access it as guests.
The simplest messaging model of AMQP involves four elements, all of them shown in Figure 8-4. The first one is queues, which store a sequence of messages. Each queue is identified by a name. Then we have producers and consumers, which write and read messages to a particular queue. Note that the distinction is not clear cut, since the same program may send and receive messages from the same queue. These three elements are obviously involved whenever we talk about queuing.
Figure 8-4High-level view of the AMQP messaging model
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
What's Done in Darkness by Kayla Perrin(25500)
Shot Through the Heart: DI Grace Fisher 2 by Isabelle Grey(18219)
Shot Through the Heart by Mercy Celeste(18160)
The Fifty Shades Trilogy & Grey by E L James(17774)
The 3rd Cycle of the Betrayed Series Collection: Extremely Controversial Historical Thrillers (Betrayed Series Boxed set) by McCray Carolyn(13189)
The Subtle Art of Not Giving a F*ck by Mark Manson(12912)
Scorched Earth by Nick Kyme(11831)
Stepbrother Stories 2 - 21 Taboo Story Collection (Brother Sister Stepbrother Stepsister Taboo Pseudo Incest Family Virgin Creampie Pregnant Forced Pregnancy Breeding) by Roxi Harding(11040)
Drei Generationen auf dem Jakobsweg by Stein Pia(10216)
Suna by Ziefle Pia(10185)
Scythe by Neal Shusterman(9259)
International Relations from the Global South; Worlds of Difference; First Edition by Arlene B. Tickner & Karen Smith(8608)
Successful Proposal Strategies for Small Businesses: Using Knowledge Management ot Win Govenment, Private Sector, and International Contracts 3rd Edition by Robert Frey(8419)
This is Going to Hurt by Adam Kay(7694)
Dirty Filthy Fix: A Fixed Trilogy Novella by Laurelin Paige(6453)
He Loves Me...KNOT by RC Boldt(5804)
How to Make Love to a Negro Without Getting Tired by Dany LaFerrière(5378)
Interdimensional Brothel by F4U(5304)
Thankful For Her by Alexa Riley(5161)