Skip to content

Redis In-Memory Database Cache Implementation in Python

Notifications You must be signed in to change notification settings

a7medayman6/Tiny-Redis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

89 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Redis In-Memory Database Cache Implementation in Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published