Skip to content

alexvu05/gedis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A multi-threaded Redis-like server

How to run

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

Supported features

  • Server Models:
    • Simple TCP Server
    • Thread pool
    • One thread per connection model
    • Multiplexing
    • Shared-nothing architecture
  • RESP protocol
  • Commands:
  • Passive, Active expired key deletion
  • Cache eviction: random, approximated LRU
  • Graceful shutdown

Todo

  • More commands:
  • Pipeline
  • Authentication
  • Data persistence: RDB, AOF ...

About

A multi-threaded Redis-like server impl in Go

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages