DEV Community

Tung Nguyen
Tung Nguyen

Posted on Originally published at blog.boltops.com

Run n8n in queue mode with a private editor

n8n is a popular workflow automation tool. With Blossom, you can run the editor and workers as separate services. That’s the part I like. You can add workers without touching the editor.
We set it up in queue mode with a private editor.

  • The main service handles the editor, triggers, and webhook entry points.- Workers pull execution jobs from Redis.- PostgreSQL holds workflows, saved credentials, and execution records.- The main process and workers use the same n8n release and the same N8N_ENCRYPTION_KEY. Keep that key stable across updates so replacement containers can use the saved credentials.Our first test was a published webhook that uses Header Auth and returns the request ID. We called it with and without the header to check both outcomes. Then we redeployed, repeated the calls, and ran the same test after increasing and reducing the worker count. If your workflows pass files around, work out shared binary storage before adding workers. Scaling the workers gives you more execution capacity. Editor and trigger redundancy has its own setup. Adapted from my BoltOps article. AI helped with the draft.

Top comments (0)