Skip to content
my Next.js SaaS from a VPS
zubi987
OP

2 months ago

"Hi, I am migrating my Next.js SaaS from a VPS. My app processes long-running background API tasks (e.g., verifying 5,000+ emails in a for loop, taking several minutes). Do you have strict serverless timeout limits like Vercel (10-15 seconds), or will my long background loop continue to execute until finished?"

"Will I need to integrate third-party tools like Upstash or Inngest to manage these long background tasks, or does your platform keep the Node server process alive natively?"

Solved

1 Reply

Status changed to Awaiting Railway Response Railway • about 2 months ago


Railway
BOT

2 months ago

Services on Railway run in long-lived Docker containers, not serverless functions, so there is no execution time limit. Your Node.js process stays alive continuously and your background loop will run until it finishes, whether that takes seconds or hours. No need for Upstash, Inngest, or any external job queue just to keep a process running.


Status changed to Awaiting User Response Railway • about 2 months ago


Railway
BOT

2 months ago

This thread has been marked as solved automatically due to a lack of recent activity. Please re-open this thread or create a new one if you require further assistance. Thank you!

Status changed to Solved Railway • about 2 months ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...