In this chapter, we will integrate our application with RabbitMQ.1 RabbitMQ is a popular queueing system . One common use case of RabbitMQ is for running a background task. A background task is a task that need not be done within a request-response cycle. Having a background task to handle a noncritical process helps make your application more responsive.
But wait, Haskell supports multithreading. Why don’t we just spawn a new thread to run the task and call it a day? Well, there are multiple reasons why an external queueing system is more preferable than just spawning a new ...