Photo by Alexander Sinn

whoami

codinglog

Field notes, experiments, and the occasional rant. A log of what I'm learning, breaking, and building — plus the random stuff that doesn't fit anywhere else.

tools

latest_notes

--> all

Was working with litestream to make backup/restore for my sqlite db on litebin. Plan was to have multiple destinations for backup to land. As usual AI agent told everything works and realised new v0.5 doesn't support multiple destinations. I wanted a local backup then another external one r2/s3, but now litestream doesn't do that and I would need to run multiple instances, one for each destination, which in my lightweight thesis stack doesn't make sense. So I ended up making local as primary destination using litestream, and the moment r2/s3 is added as destination it switches to external. Now to have a local backup I run a daily snapshot from the external and keep it local. This helps in 2 things: 1. I can verify backup is working and I get a local copy to restore just in case. 2. One instance of litestream.

Oct 12, 2026, 3:53 PM · today
#litestream #sqlite #backup #litebin

Picking the Cloudflare stack for the new project. The traffic profile is all or nothing: if it takes off it can see millions of hits a day, and if it doesn't it gets none. Setting up for that on AWS or a VPS with Kubernetes means building the scalable deployment upfront, time spent before knowing if the project even works. Instead I'm going with Cloudflare Workers, R2 for images, and KV, starting on the $5/mo Workers plan. The frontend goes on Cloudflare Pages, so that's served through the Cloudflare CDN as well. Not saying $5 covers all the scale, just the start. After that it stays cheap for what it is, and more hits means more revenue, which is easy to pay. What I'd rather avoid is setting up something on a VPS that needs to be scalable upfront for a site this uncertain. No k8s to babysit either way.

Sep 3, 2026, 12:15 PM · Sep 3, 2026
#cloudflare #workers #r2 #infrastructure #side-project

$ leave_a_message

Spotted something interesting, or want to point me at a tool? Drop it here.