Sign inSign up

awwyan/fluxdb

By awwyan

•Updated 6 months ago

A Redis-inspired key-value store built from scratch in C++17

Image
Databases & storage
0

10K+

awwyan/fluxdb repository overview

⁠Flux DB

A Redis-inspired key-value store built from scratch in C++17. No external dependencies — every data structure is implemented by hand.

⁠Features
  • Non-blocking event loop with poll()
  • Hand-rolled hash table with incremental rehashing
  • AVL tree backed sorted sets
  • TTL expiry via min-heap
  • AOF persistence with fsync
  • Thread pool for background work
⁠Supported commands

get · set · del · keys · pexpire · pttl · zadd · zrem · zscore · zquery

⁠Quick start
docker run -p 1234:1234 awwyan/fluxdb
⁠Source code

https://github.com/awwyan/flux-db⁠

Tag summary

Content type

Image

Digest

sha256:e63ae2ae5…

Size

27.2 MB

Last updated

6 months ago

docker pull awwyan/fluxdb