Skip to content

behnambm/redis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A simple implementation of Redis server in Go

It listens on TCP port 6379 and decodes RESP format and responds according to get command that the client sends.

List of commands and features of server:

  • Ping
  • Echo
  • Set
  • Set with expiry(milliseconds)
  • Get

This server is compatible with redis-cli so it makes it compatible with other redis clients too.


Run:

make run

To test you can use:

redis-cli PING

TODO

  • Read port number from command line arguments

About

go implementation of Redis server

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published