# Eliminating crons in favour of pub/sub (amqp, rabbit, etc.)

**URL:** <https://forum.mautic.org/t/eliminating-crons-in-favour-of-pub-sub-amqp-rabbit-etc/24161>\
**Category:** Product Support\
**Created:** [May 19, 2022, 6:00pm UTC](https://forum.mautic.org/t/eliminating-crons-in-favour-of-pub-sub-amqp-rabbit-etc/24161 "2022-05-19T18:00:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![xmontero](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/xmontero/32/7499_2.png) [@xmontero](https://forum.mautic.org/u/xmontero)\
**Post date:** [May 19, 2022, 6:00pm UTC](https://forum.mautic.org/t/eliminating-crons-in-favour-of-pub-sub-amqp-rabbit-etc/24161/1 "2022-05-19T18:00:22Z")

</div>

My Mautic version is: 4

Since the last few years, software architectects have been promoting “queues” instead of “crons” to decouple long-lived-processes from short-lived-processes.

This is also true for sending emails. Instead of cronifying them, just off-load via “posting a signal” and the “queue handler” will take the load for you. This applies to anything ressembling a “trigger”. Entities throw events and “whoever” captures them and processes them.

Any experiences here shifting mautic from a cron-based system to a queue-based system?

---

<div class="post-metadata">

**Author:** ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)\
**Post date:** [May 20, 2022, 8:47am UTC](https://forum.mautic.org/t/eliminating-crons-in-favour-of-pub-sub-amqp-rabbit-etc/24161/2 "2022-05-20T08:47:37Z")

</div>

As far as I know Mautic 5 will be using redis to queue messages.  
J
