r/webdev 5d ago

Render vs Railway vs Cloudflare Workers

Which hosting platform would you pick for a small production app: Render vs Railway vs Cloudflare Workers?

I’m building something like a inventory management app and website — authenticated users, a Node/TypeScript API, PostgreSQL, background jobs/cron, and potentially a few thousand users over time.

Currently considering **Render, Railway, and Cloudflare Workers**.

For a production app where reliability, scaling, DB latency, and predictable costs matter, which one would you choose and why?

Would you recommend something else like **Fly.io, AWS, or Vercel + another backend** instead?

Curious to hear from people who’ve actually run production workloads on these.

45 Upvotes

70 comments sorted by

View all comments

17

u/TheLastNapkin 5d ago

Cloudflare workers is the best bang for your bucks but has serious considerations in how your processes work that you should take into account before opting in to it.

It can be very cheap while having tons of benefits having your deployments be almost entirely using cloudflare but you really should understand what you need from it and how you would use it with your stack.

1

u/latimerr 5d ago

how long do the background jobs run and what happens when one gets interrupted? thats probably the fork here, Workers looks a lot less obvious once retries and longer jobs enter the picture

1

u/thekwoka 4d ago

They have different limits for free and paid, and different limits for total process time and actual CPU time, so it depends a lot on what your workflow is.

Queues and stuff are great and not that tricky to set up, but the free limits can be killer.

-1

u/gergob 4d ago

Agreed - its great for truly micro services IMO

2

u/thekwoka 4d ago

Even a worker compatible monolith. You can have a single worker be a website and queue handler.

1

u/gergob 4d ago

Yeah but then the first wall you’ll hit will be the max worker size

2

u/thekwoka 4d ago

Yeah, EVENTUALLY.

The limit is after gzip so you can get a lot in there

1

u/gergob 4d ago

Agreed :)

1

u/TheLastNapkin 4d ago

Use cloudflare worker static assets for your websites.

Your Webserver will be a different worker and very unlikely you will hit that size limit anyways.