Skip to content

theredditbandit/redis-at-home

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Redis at home

for_exceptional_broski

Features

  • Full support for the PING command
  • Full support for the ECHO command
  • partial support for the SET command
    • PX flag is supported
  • Full support for the GET command

Ongoing

  • working on adding support for replication

TODO

  • Write tests for existing commands
  • add the following commands -EXISTS - check if a key is present. -DEL - delete one or more keys. -INCR - increment a stored number by one. -DECR - decrement a stored number by one. -LPUSH - insert all the values at the head of a list. -RPUSH - insert all the values at the tail of a list. -SAVE - save the database state to disk, you should also implement load on startup alongside this. -FLUSHDB - flush the database. -HSET - set a field to a value
  • add video recording to readme
  • upload stats from redis-benchmark comparing this implementation with actual redis

About

toy implementation of redis in go

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published