Hacker News new | ask | show | jobs
by bob1029 16 days ago
> JSON blobs

An alternative to faster blob storage is to represent the blob's schema in SQL directly.

If most blob updates are incremental you can eliminate a significant amount of storage IO and garbage collection this way.

One SQLite database per blob type with a metadata SQLite db that tracks each. We could leverage powerful AI reasoning models to produce SQLite schemas and virtual table adapters for each encountered JSON schema type.

1 comments

You want an LLM to be modifying your db schemas on the fly?? Seems slow and error prone.
The LLM just produces the SQL schema from your JSON one time. basically like an ORM.