RabbitMQ and Drupal, a perfect match

  • Worker: A specific class that processes a message, also handles failures in case it could not process the message
  • Queue: A class that represents a RabbitMQ queue and allows for messages to be pushed to the corresponding queue. Each queue is linked to a worker
  • Consumer: Process that consumes a specific queue and its messages. Each queue can have zero or more consumers
  • Define queues and workers
  • Push messages to queues
  • Consume queues with a drush command or a background process
RabbitMQ logo

--

--

--

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Add Metamask payments to any website with just a few lines of code.

System Design Interview: Amazon/ Flipkart/ Ebay or Similar E-commerce Applications

sTOS Benefits & IDO Participant Airdrop[EN/KR]

Using CURL to Test Your Rails API

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Robin Ingelbrecht

Robin Ingelbrecht

More from Medium

Laravel VS Symfony

PHP functions strcspn() and strspn()

Symfony ElasticSearch — indexer symfony command

Retrieve random documents from Meilisearch