News for hackers. Stuff that matters.
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.
Re:Build Your Own Database by pcdevils on Tuesday October 21, 2025 @02:57PM (#45660040)
Pretty much how eventstoredb works. Deleting data fully only happens at scavenge which rewrites the data files.
Re:Build Your Own Database by hxtk on Tuesday October 21, 2025 @03:32PM (#45660559)
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]

0 - https://www.youtube.com/watch?v=3t6L-FlfeaI

Re:Build Your Own Database by elygre on Tuesday October 21, 2025 @02:52PM (#45659989)
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!
Re:Build Your Own Database by archerx on Tuesday October 21, 2025 @02:58PM (#45660051)
That would be useful for logging.
Re:Build Your Own Database by Etheryte on Tuesday October 21, 2025 @04:11PM (#45661044)
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.
Re:Build Your Own Database by mewpmewp2 on Tuesday October 21, 2025 @03:30PM (#45660538)
It would be good for before going to sleep then.