Push Notification using RabbitMQ and NodeJS.
<p>So this was one of my internship task where I had to build a push notification system for our application. However after searching various of ways of implementing it from YouTube or any blog, I wasn’t able to find a descent method. Hence, I experimented out with few technologies I came across and finally made it . Hence writing this blog tell you how I did it.</p>
<p><strong>Introduction:</strong></p>
<p>Push notifications are quite common whose general architecture suggest to make use of a queue based system which would keep track of all the event . RabbitMQ is more like a message broker which helps you maintain that queue to store and retrieve all those notification messages.</p>
<h1>What is AMQP?</h1>
<p>AMQP stands for Advanced Message Queuing Protocol. It is an open-standard protocol for message-oriented middleware. The defining features of AMQP are message orientation, queuing, routing (including point-to-point and publish-and-subscribe), reliability, and security.</p>
<p>AMQP has the following components:</p>
<ol>
<li><strong>Producer</strong> is an application that sends messages.</li>
<li><strong>Consumer</strong> is an application that receives messages.</li>
<li><strong>Queue</strong> is a buffer that stores the messages.</li>
<li><strong>Message</strong> is the information that is sent from the producer to a consumer.</li>
<li><strong>Exchange</strong> receives messages from producers and pushes them to queues depending on rules defined by the exchange type. The exchange type determines how messages are routed.</li>
<li><strong>Binding</strong> links the queue to the exchange.</li>
</ol>
<p><a href="https://medium.com/@sysagar07/push-notification-using-rabbitmq-and-nodejs-276ff73433c2">Click Here</a> </p>