O'Reilly logo

Building Scalable Apps with Redis and Node.js by Joshua Johanan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 4. RabbitMQ for Message Queuing

We are going to cover a concept that relates to making our application scalable: message queuing. Message queues allow us to break down our application into smaller pieces and hand out these pieces to be worked on. Message queues also help with scalability. We can parcel out the work to many different nodes, increasing our reliability and the handling of burst traffic. We will need a message queuing server to do this. This is where RabbitMQ (https://www.rabbitmq.com) comes in. So far, everything has been running on Node.js, and now we are adding another server application. We will cover the following topics in this chapter:

  • Installing RabbitMQ
  • Creating exchanges
  • Creating queues
  • Building workers
  • Passing messages ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required