I basically self host close to everything apart from obvious things and I think hetzner is the best place to do it, but again it comes with a con when I need low latency responses or event streams via websockets, has anyone found a better solution without falling in trap to other…
Commit
6c4b7ea
It depends on how many users you're serving. I host loads on Hetzner too, but for low usage things, Cloudflare Durable Objects is pretty insane. Designing an app for write heavy usage requires some serious optimisations though, because the pay per read/write to d1/sqlite/r2 can…
What about compute, I dont think I can trust the cloudflare containers at this stage, I used r2 before I agree they punish class A operations but they offer many benefits to overlook this con
I haven't used their container stuff. But I was pretty mind blown that for durable objects, you pay per read and write.
Forget an index, and that table lookup becomes expensive. But now the killer. Add an index, and your single record write costs 3 writes (record, primary key index, specific index)
commit 6c4b7ea