News for hackers. Stuff that matters.
Re:Ask HN: Need a simple HTTP service that allows basic stri... by vhodges on Sunday June 06, 2021 @12:28PM (#27414195)
How durable do you need it to be?

A small go service writing to a sqlite db would be pretty easy (and probably pretty performant) but needs streaming replication to improve robustness/durability. For that see:

https://litestream.io/ and https://mtlynch.io/litestream/ (an example) Edit: I just re-read the mylynch.io post and it probably has all the code you need.

Probably could run it on the fly.io free tier + S3/B2 storage costs.

Re:Ask HN: Need a simple HTTP service that allows basic stri... by roberja90 on Sunday June 06, 2021 @12:48PM (#27414368)
Wow looks really cool. I was actually hoping for zero configuration on my part but this looks really exciting. Going have a play