Joedb, the Journal-Only Embedded Database

joedb.org

69 points by mci 4 days ago


fjfaase - an hour ago

If you have reliable file locking you can implement a journal-only with multiple users without needing a server. You have to take care of write errors and deal with partial writes, which can be tricky with a binary format. A long time ago, I implemented one based on XML. Some non-Windows file-severs (citrix?) did not have reliable file locking, causing corrupted files.

xxr - 8 hours ago

Was going to say that I hope Joe doesn't end up going to prison for an unspeakable crime, but then I saw it was an acronym.

shikhar - 4 hours ago

KV store in Rust, backed by a disaggregated, replicated journal https://github.com/s2-streamstore/s2-kv-demo

drbig - 9 hours ago

An approach very close to one I've been thinking about lately.

My three cents: compact the journal when its size exceeds the actual data size. With thresholds or other knobs; with the point being the initial load time should be directly proportional to the amount of actual data. Everything else/older is a backup.