Running in production environments (Docker/Kubernetes) #665
-
I want to know the recommend approach to run bullmq with docker for a production environment (k8s). I´m running the getting started example from https://docs.bullmq.io/. Breaking down the question:
Thanks in advance. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I think this question is not specific for BullMQ but to any NodeJs application. Although process managers like pm2 will recommend you to use them even in docker, I personally do not do that and rely on dockers own auto restart policies and health check mechanisms.
Same thing here really. There is nothing fundamentally different with a BullMQ worker than any other NodeJs server application, I recommend you to read elsewhere what others recommend since this is quite subjective and there are many pros and cons for the different alternatives. |
Beta Was this translation helpful? Give feedback.
I think this question is not specific for BullMQ but to any NodeJs application. Although process managers like pm2 will recommend you to use them even in docker, I personally do not do that and rely on dockers own auto restart policies and health check mechanisms.
Same thing here really. There is nothing fundamentally different with a BullMQ worker than any other NodeJs server application, I recommend you to read els…