I hate databases.
Databases suck. Universally.
Okay, I can already hear the people with “but actually:tm: my database is good actually” coming for me with the pitchforks and torches, so lemme elaborate.
If you know me at all, you know that I’ve been working on my own container scheduler. In the process of this, I’ve been needing a good, consistent way to store the state of the system as a whole. This basically boils my options down to:
- Use a database, and hate every minute of it
- Write my own, and hate every minute of it
Having said that, what do I actually do?
A brief summary of databases
They all suck.
Seriously though, I just don’t seem to be able to find one that fits my needs. In a database or other data store for mahou, I want:
- Key-value storage. Basically just get/set/del/key-scan, the last one in that list being used for things like “fetch all existing deployments.” I’m open to a better...
Continue reading →