News for hackers. Stuff that matters.
Re:Starbase: SQLite on the Edge by rmbyrro on Sunday October 06, 2024 @09:21PM (#41761874)
From what I could understand of their architecture [1], you may lose data when the machine running DO fails.

DO implements a very comprehensive strategy to mitigate data loss in DO backed by SQLite. But Starbase seems to add a layer of query caching on the application level, which seems to be naively implemented (I might be misunderstanding, please correct if I'm wrong).

[1] https://starbasedb.com/blog/developing-acid-transaction-supp...

Re:Starbase: SQLite on the Edge by brayden_wilmoth on Sunday October 06, 2024 @09:50PM (#41762027)
We don't cache query responses in the Starbase application layer. When we originally set out to build this, we were under the assumption we had to handle the ACID transactional support ourselves. Thankfully someone from Cloudflare shed some light for us as you can see in our Github issues and open PR's :)

Learn more about that here: https://github.com/Brayden/starbasedb/issues/12

Re:Starbase: SQLite on the Edge by leourbina on Sunday October 06, 2024 @10:30PM (#41762252)
Just fyi, the person that replied wasn't just "someone" at Cloudflare. It was Kenton Varda (kentonv here). He's the creator of Cloudflare workers, he's an incredible engineer.
Re:Starbase: SQLite on the Edge by brayden_wilmoth on Sunday October 06, 2024 @10:33PM (#41762276)
Yes, of course! Sorry didn't mean to make it seem insignificant – was quite excited to see him show up there from a personal fanboy perspective.
Re:Starbase: SQLite on the Edge by imdsm on Monday October 07, 2024 @05:38AM (#41764291)
On the other hand, everyone is just someone, somewhere. Let's not criticise people for not giving enough of an intro to people.