redix is a very simple key => value storage engine that speaks redis and even more simpler and flexible. redis is very simple, sometimes we abuse it, so I decided to build a pure key-value storage system that introduces the core utilities for building any data structure you want based on the key => value model that is because I think that everything could be modeled easily using that model, so I decided to not to follow redis and all of its commands, you won’t find lpush, hset, sadd, … etc you will find a new way to do the same job but more easier and flexable, i.e, the well-known hset key field value command could be replaced with set key/field value, but sometimes you need to return a specific hashmap as key => value, but you run hget key field to get the key’s value and also it could be replaced with get key/field, but how could we replace hgetall key? I will say “it is easy”, let’s make the hget command work as a prefix scanner that scan the whole database.
Features
- A really simple key => value store that speaks redis protocol but with our rules!
- A real system that you can abuse! it isn’t intedented for cache only but a “database system”
- Async (all writes happen in the background), or Sync it won’t respond to the client before writing to the internal datastore
- Pluggable storage engines, currently it supports (postgresql, filesystem), and there may be more engines be introduced in the upcomning releases
- It could be used using redis clients easily, i.e: “the famouus redis-cli”
- Speaks redis and even more simpler and flexible