KVDB – Scale without a care in the world
summary
Builds a tiny Key-Value layer called KVDB on MariaDB 10.6 using MariaDB Connector/Python, storing Python dicts in a table with a JSON columns value and system versioning for history. Exposes put/get and a one- or two-line integration into a Raspberry Pi game to record scores (example high score 95), switches to UUID session keys to avoid overwrites, and keeps full row history while warning the approach is a toy, not production-ready.
AI-written summary · about
chapters (16)
- 0:00Introduction and motivation
- 1:18Why NoSQL explained
- 2:52Demo of the Bunner game
- 5:21Recording scores in KVDB
- 7:14Fixing high score overwrites
- 8:57Unique keys and high scores
- 10:38Nested key-value structures
- 11:50KVDB library internals
- 14:11Why NoSQL simplifies development
- 16:04Database schema and tables
- 17:25System versioning for history
- 18:53Convenience and flexibility
- 19:15Ingredients behind KVDB
- 21:43JSON and NoSQL features
- 23:08MaxScale and MongoDB compatibility
- 24:16Summary and conclusion
