(jlongster.com) A future for SQL on the web

ROAM_REFS: https://jlongster.com/future-sql-web

I discovered something absurd recently and I’m very excited to tell you about it.

The end result is absurd-sql, and it’s a persistent backend for SQLite on the web. That means it doesn’t have to load the whole db into memory, and writes persist. In this post I will explain the absurdities of the web’s storage APIs (mainly IndexedDB), show how SQLite provides a 10x perf improvement, explain all the cool tricks that make it work, and explain the locking/transactional semantics that make it robust.

Local Graph

org-roam 0825811e-39a4-4197-9e14-f8ee84664a80 (github.com) GitHub - jlongster/absur... 827b53e0-dc95-4ef3-a52a-f87cba0c2bbf (jlongster.com) A future for SQL on t... 0825811e-39a4-4197-9e14-f8ee84664a80->827b53e0-dc95-4ef3-a52a-f87cba0c2bbf