Skip to content

High-performance Redis server implemented in Scala with ZIO.

Notifications You must be signed in to change notification settings

otobrglez/dojodis

Repository files navigation

dojodis 🍤

dojodis is an experimental high-performance Redis clone written Scala ZIO.

Supported Commands

dojodis server supports the following Redis commands: get, set, exists, incr, incrby, ping, del, keys

Development

sbt run

redis-cli -p 6666 set my_name "Oto Brglez"
redis-cli -p 6666 get my_name
cat test.txt | redis-cli -h 127.0.0.1 -p 6666

Silly benchmark

Although this is considered to be a very experimental project I was really tempted to make it compliant with redis-benchmark to see how it will perform.

Simple dojodis vs. Redis v7 benchmark

Benchmark was ran against Redis server v=7.0.0 sha=00000000:0 malloc=libc bits=64 build=efafb97113670c08 and here are the results for the common test suite. Raw data can be found here.

redis-benchmark -h 127.0.0.1 -p 6666 -t get,set,incr,incrby,del -n 100000 -c 4 --csv

Resources

Authors

Twitter Follow

About

High-performance Redis server implemented in Scala with ZIO.

Topics

Resources

Stars

Watchers

Forks