Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The VPS option won’t be €50. I have a small vps for like $10/month.

Setup a VM. Install SQLite and caddy on it. Choose an async server framework Node or python quart or something.

Add a table to your SQLite, saved_games(id,json). Add two endpoints, save and load, save generates and Id saves json and returns a link, load returns the json. Make sure there’s an index on the id too.

Run your server, for example via Hypercorn if you’re using Quart or equivalent node prod setup.

Set up caddy to reverse proxy port 443 to your running instance. This gives you HTTPS

There you go. Quite simple and fast.

You could probably serve upwards of 1k QPS with this setup. That’s about 1/100th the qps of Google search.

You could try compressing the json before storing it too. Once you have some saves a dictionary compression would be really effective on a particular json format.



Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: