It's possible to have a load balancer in Railway?

Hello, I was wondering if It's possible to have a load balancer in Railway? I want to add webhook processors in my N8N instance. Based on n8n documentation https://docs.n8n.io/hosting/scaling/queue-mode/#webhook-processors Each webhook is similar to a worker, but instead of completing the task, it receives the data and puts it in the queue so a worker can picks it up. as per n8n documentation, by using webhook processors you require a load balancer, so I'm not sure if this is something doable right now in railway or I have to externalise the load balancer thing to AWS or similar product. Thanks.
Configuring queue mode | n8n Docs
Documentation for n8n, a workflow automation platform.
6 Replies
Percy
Percy5mo ago
Project ID: 53d90c0e-0d69-400d-8c78-aaa211f288a1
ENT3I <3
ENT3I <35mo ago
53d90c0e-0d69-400d-8c78-aaa211f288a1
Brody
Brody5mo ago
@Jack - maybe you know something about this?
Jack
Jack5mo ago
I'll look into it tomorrow, sorry for not responding to your dm ENT, been so caught up
Jack
Jack5mo ago
Railway
Deploy N8N (w/ webhook processors) on Railway
A powerful workflow automation tool for technical people
Jack
Jack5mo ago
Will work on deploy, only problem right now is that there'll need to be minor manual work as far as url config. I could only set one "WEBHOOK_URL" env variable (there is no test url variable), and the worker only handles production webhooks, so you'll need to replace the webhook processor url with your primary service url if testing webhooks. Otherwise, you can set the "WEBHOOK_URL" env variable to your primary service url and use a proxied DNS host (ex. Cloudflare) rule to redirect the wildcard (/webhook/*) to your webhook processor url (but possibly sacrafice the speed gained when using the webhook processor anyways, not sure).