Skip to content

chtnnh/blues

Repository files navigation

blues

redis subset in python3

0 AI. Check out "Build Your Own Redis" Challenge to do something similar!

Motivation

  1. get some additional practice with async programming in python3
  2. get better with pytest-asyncio and hypothesis
  3. (some) learning on data structures and redis internals

What's done

  1. Blues Stanza Protocol (RESP2 compatible)
  2. Blues Server (async), (strings, lists, streams) TODO: list implemented commands
  3. Blues Client (async)
  4. Blues CLI Client (async), mostly for manual testing, but pretty functional
  5. Transactions

What's coming

  1. Optimistic Locking
  2. Replication
  3. Persistence
  4. More if I can finish the above before the free challenge changes

Dev Tools

  1. uv
  2. pytest
  3. hypothesis
  4. Zed

Attribution and Thanks

  1. "Build Your Own Redis" Challenge
  2. StringTrie implementation

License

Apache 2.0

Author

© Chaitanya Mittal, 2026

Notice

Reach out if I have missed out an attribution or something needs to be removed! No harm intended.

About

blues - single-threaded redis (subset) in async python3

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors