n8n Queue Mode / Worker support
-
I’d like to suggest adding support for n8n Queue Mode to the official n8n package on Cloudron.
This topic has already come up in older posts, and I think it is still very relevant. I understand that n8n itself only uses one CPU core per process. But that is exactly why Queue Mode would be useful: with multiple workers, executions and workflows can be distributed much better.
Especially when running Cloudron inhouse or on your own infrastructure, “just upgrade to a bigger VPS” is not always a real solution. Single-core performance cannot simply be increased endlessly. With larger amounts of data or heavier workflows, n8n can quickly become slow, hang, or crash.
In my opinion, Queue Mode would not even need to be enabled by default. It would already be very helpful if the official package included the required support so it could be enabled when needed.
I previously experimented with a custom version of the Cloudron n8n app, using AI, and managed to build a prototype with Queue Mode. I am not a Developper and just wandet to test if this would solve my perfomance issues wich it did. That makes me think it would be a real benefit to have this option available in the official package as well.
Overall, I believe this would make n8n on Cloudron much more robust for larger setups.
-
IIUC, you want n8n worker to run in the same machine. If this is what you want, https://docs.n8n.io/hosting/scaling/concurrency-control/ is better suited. Have you tried setting N8N_CONCURRENCY_PRODUCTION_LIMIT in the env file? See https://docs.cloudron.io/packages/n8n/#custom-env on how to set it. Concurrency is disabled by default .
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login