Hacker News new | ask | show | jobs
by judofyr 1990 days ago
You're able to serve all your clients from a single control process? And this would probably work for quite a while? Then I struggle to see why you couldn't just use SQLite. On startup read the full database into memory. Serve reads straight from memory. Writes go to SQLite first and if it succeeds then you update the data in memory. What am I missing here?
1 comments

We could use SQLite. (I love SQLite and have written about it before!) The goal is N control processes not for scale, but for more flexibility with deployment, canarying, etc.
That makes sense. Thanks for answering all of my critical questions. Looks like a very nice piece of technology you’re building!