Skip to content

Latest commit

 

History

History
executable file
·
51 lines (39 loc) · 1.07 KB

README.md

File metadata and controls

executable file
·
51 lines (39 loc) · 1.07 KB

Tiny Redis

Redis In-Memory Database Implementation in Python

This is an implementation for CodeCrafters.io Build you own Redis challenge.

progress-banner

Implemented Features

  • PING
  • ECHO
  • SET
  • GET
  • EXPIARY
  • Storing on disk
  • Save Commands
  • Load Commands from file

How to Run

  • Python >= 3.8 installed
  • Clone the repository
git clone https://github.com/a7medayman6/Tiny-Redis/
  • Spawn a redis server
./spaw_redis_server.sh

Test it

redis-cli PING
# PONG

redis-cli ECHO hello world
# hello world

redis-cli SET x 5
# OK

redis-cli GET x
# 5

redis-cli SET y 6 px 10
# OK