~mpldr/ringstoreDB

dc7998e2 — Moritz Poldrack 8 months ago
fix typo
87278a8e — Moritz Poldrack 8 months ago
more of them buzzwords!
096778bc — Moritz Poldrack 8 months ago
first idea

refs

master
browse  log 

clone

read-only
https://git.sr.ht/~mpldr/ringstoreDB
read/write
git@git.sr.ht:~mpldr/ringstoreDB

You can also use your local clone with git send-email.

#RingstoreDB

Never. Ever. Write a database by yourself. If you can do it in the future, you will know that before you start writing it.

— My CS professor

I was never one to listen to instructions, so here we go.

#Idea

The idea is to have a persistent ringbuffer that can be efficiently read in sequence and keeps the size mostly stable. Potential use could be:

  • Log storage
  • Metric storage
  • Moving average
  • Queue implementation
  • IPC

#Comparison

Feature SQLite RingstoreDB Redict
embedded
data structure tables ringbuffer of documents key-value
SQL ✔️ (boring) ❎ (hip, fresh, disruptive) ✖️ (but also boring)
row to keep Gen Z attention Subway Surfer 🍆🌽🍑🍌 💀💀💀
predictable size
battle-tested

#Documents