Re:Build Your Own Database
by i_k_k on Tuesday October 21, 2025 @02:40PM
(#45659831)
I always wanted to ship a write-only database. Lightning fast.
[ Parent
| on HN ]
Pretty much how eventstoredb works.
Deleting data fully only happens at scavenge which rewrites the data files.
I think it was a joke. It sounds like you read it as append-only, like most LSM tree databases (not rewriting files in the course of write operations), but I think GP meant it as write-only to the exclusion of reads, roughly equivalent to `echo $data > /dev/null`
Re:Build Your Own Database
by datadrivenangel on Tuesday October 21, 2025 @03:59PM
(#45660926)
I've forgotten how to count that low. [0]
Back in the 80s a professor at our college got a presentation on the concept of «write-only memory» accepted for some symposium.
Good times.
Re:Build Your Own Database
by thomasjudge on Tuesday October 21, 2025 @06:56PM
(#45662777)
Very secure!
That would be useful for logging.
Also useful for backups, so long as you don't need to restore.
Re:Build Your Own Database
by warkdarrior on Tuesday October 21, 2025 @02:59PM
(#45660074)
If it's write-only, and no reads ever happen, one can write to /dev/null without loss of utility.