# How to scale Mautic in Kubernetes

**URL:** <https://forum.mautic.org/t/how-to-scale-mautic-in-kubernetes/35732>\
**Category:** General Discussion\
**Tags:** development, mautic-5\
**Created:** [May 27, 2025, 10:54am UTC](https://forum.mautic.org/t/how-to-scale-mautic-in-kubernetes/35732 "2025-05-27T10:54:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kiarttantasi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/kiarttantasi/32/13386_2.png) [@kiarttantasi](https://forum.mautic.org/u/kiarttantasi)\
**Post date:** [May 27, 2025, 10:54am UTC](https://forum.mautic.org/t/how-to-scale-mautic-in-kubernetes/35732/1 "2025-05-27T10:54:28Z")

</div>

**Your software**  
My Mautic version is: 5.2.4  
My PHP version is: 8.1  
My Database type and version is: 8.0

**Your problem**  
My problem is:

I am current deploying Mautic in Kubernetes with 1 pod of web, 1 pod of cron and 1 pod of worker. (Each pod has CPU of 1000 and Memory of 1000). The set-up is based on this official repo: [docker-mautic/examples/basic/docker-compose.yml at 51f8ed9b086c3ea2d332f5e93301a9aa2ce4c960 · mautic/docker-mautic · GitHub](https://github.com/mautic/docker-mautic/blob/51f8ed9b086c3ea2d332f5e93301a9aa2ce4c960/examples/basic/docker-compose.yml)

With this set-up, I can send emails for around 30 emails/second.

But when I change to 1 pod of web, 8 pods of cron and 16 pods of worker, I still got 30 emails/second instead of being faster.

I am not sure if I have to configure somewhere in mautic so that all pods are used to speed the sending rate.

---

<div class="post-metadata">

**Author:** ![kiarttantasi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/kiarttantasi/32/13386_2.png) [@kiarttantasi](https://forum.mautic.org/u/kiarttantasi)\
**Post date:** [May 28, 2025, 5:49pm UTC](https://forum.mautic.org/t/how-to-scale-mautic-in-kubernetes/35732/2 "2025-05-28T17:49:54Z")

</div>

Solution:

Matt O’Keefe suggested to change Doctrine queue to RabbitMQ queue. After doing so, I can finally see the sending rate increases following the replica number of cron and worker.
