30K Concurrent Users – Betting Tips App on Railway Hobby (8GB RAM /
veyiezx312
HOBBYOP

5 months ago

8 vCPU) + PocketBase

Body:

Hey everyone

I’m running a betting prediction app that currently handles 30,000 concurrent users on the Railway Hobby plan (which provides up to 8GB RAM and 8 vCPUs per service).

Stack:

  • PocketBase (SQLite-based backend)

  • Cloudflare Workers + KV for external validation and caching

  • IndexedDB caching on mobile (Android WebView app)

  • WAL + PRAGMA tuned for high concurrency

Usage Pattern:

  • Continuous read/write operations (predictions, credits, referrals)

  • ~200,000 reads/min and 50,000 writes/min

  • Cache-first architecture + external job handling

Question:

Since the Hobby plan includes $5/month with $5 of usage credits, and any excess usage (CPU/RAM) is billed separately, is it realistic to expect this setup to run for a full 30 days without extra charges, given this traffic?

I know that the resources (8GB RAM / 8 vCPU) are generous, but I’m concerned about hidden overages or silent throttling once the free credit is used up.

Any tips, similar experiences, or cost optimization strategies are welcome

Thanks in advance!

Solved$10 Bounty

4 Replies

passos
MODERATOR

5 months ago

Hey, I guess the only option you would have here is by testing it out, the usage highly depends on your application code, a good way is by using load testing (k6 for example) and see how it goes, but in my opinion it'll exceed the $5. Also, if your application is profitable then you'll need upgrade to Pro as only non-profitable workloads are allowed on Hobby plan.


sim
FREE

5 months ago

You can set usage limits like this https://docs.railway.com/reference/usage-limits and try using your app as @passos said


sim
FREE

5 months ago

They show you the estimated month's cost here https://railway.com/workspace/usage based on your usage


phoenixauro
HOBBY

5 months ago

You would easily cross the 5$ mark. I would estimate a range of 25$ to 65$.
In your project usage section there is a limit under current usage. Set it to the max you are ready to spend in the billing month. Note that railway will shut your services so that you are not billed more.


Status changed to Solved chandrika 5 months ago


Loading...