Skip to content

tommll/jedis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to run

  cd cmd
  go run main.go
  # on another terminal
  redis-cli -p 8080

Supported features

  • Compatible with Redis CLI
  • Single-threaded architecture
  • Multiplexing IO using epoll for Linux and kqueue for MacOS
  • RESP protocol
  • Graceful shutdown
  • Simple eviction mechanism

Commands

  • PING
  • SET, GET, TTL

Data types

  • String

Data structures

  • Hash table

Todos

  • Other data types: number, array, boolean, date, ...
  • Other eviction strategies: LRU, LFU

About

A powerful key value store

Resources

Stars

7 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages