Skip to content

This repo contains the lite version of redis server built with Golang. The idea inspired from John Cricket's coding challenge.

Notifications You must be signed in to change notification settings

jawahars16/redis-lite

Repository files navigation

Redis Lite

Continuous Integration

This repo contains the lite version of redis server built with Golang. It supports very few commands (PING, SET, GET). The idea inspired from John Cricket's coding challenge.

https://codingchallenges.fyi/

How to run

make run

This runs the server on port 6379. The port can be changed by passing the port number as an argument.

go run cmd/redis-lite/main.go -p 6379

The lite server can be accessed through redis CLI or redis-benchmark.

redis-cli PING

This lite version currently supports concurrent requests as well. It can be verified by below command,

redis-benchmark -t SET,GET

How to test

make test

This includes unit and integration tests. Integration tests are executed against the server running on port 6379. The server is running using a docker container.

About

This repo contains the lite version of redis server built with Golang. The idea inspired from John Cricket's coding challenge.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages