“Why is a database rarely the best tool for a queue based problem”

Lovisa Johanson posted an article on the CloudAMQP blog which is a useful read in case that you enjoyed my two articles about Firebird Database Events and Message-oriented Middleware (part 1, part 2) on the Habari! blog.

It is based on a simple user scenario:

  1. Customer uploads a text document
  2. Your application converts the text document into a PDF
  3. Your application emails the PDF back to the customer

The article illustrates the limitations that you might notice if you use a database for a queue based system, and describes why using a message queue is recommended when you need to process a high-volume of asynchronous messages.

About CloudAMQ

CloudAMQP operates and provides support to cloud based RabbitMQ clusters. An introduction to the free open source RabbitMQ message broker is available on the CloudAMQP blog at the address

https://www.cloudamqp.com/blog/2015-05-18-part1-rabbitmq-for-beginners-what-is-rabbitmq.html

About Habari Client for RabbitMQ

Habari Client for RabbitMQ is a Delphi and Free Pascal client library which uses the STOMP protocol to connect applications with a RabbitMQ broker. Habari Client for RabbitMQ can connect to a RabbitMQ server instance running on CloudAMQP if the RabbitMQ STOMP plugin is enabled.

 

Advertisements