News for hackers. Stuff that matters.
Re:Ask HN: Do you self-host your database? by Moto7451 on Tuesday June 29, 2021 @09:13AM (#27675307)
This pattern is what I did when I used SQLite in production. I used a lightweight actor model microframework to make it easier to route write requests from multiple areas of the code to the single writer thread and offer a continuation (or async/await) perform any follow up actions. Performance easily went beyond the requirements for the app.
Re:Ask HN: Do you self-host your database? by zo1 on Tuesday June 29, 2021 @12:15PM (#27678003)
I'm not sure how to express my reaction to this kind of design/architecture without being rude. Especially with performant open source databases being available. Was this some sort embedded app or toy project?