Worker process and Triggers

Do worker processes (n8n worker command) listen to triggers?

I want to have several instances listening to incoming RabbitMQ events, both for redundancy and for additional performance. Is it possible?

Welcome to the community @Saar_Yahalom!

No, currently do the trigger functions only run in the main process. That is for sure a bottle neck and not perfect. It is for that reason also planned to allow scaling it separately but we are sadly not there yet. Currently the only things for which it is possible is the worker processes (which execute the workflows) and the incoming webhook calls.

Thank you for the reply Jan, we will create a RabbitMQ → Http Proxy to mitigate this issue in the meanwhile.

1 Like