Skip to content

Avanteesh/Miniature-Redis-Clone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 

Repository files navigation

Miniature-Redis-Clone (On progress!)

Redis is an In-memory database, that uses the Main memory and cache to store Data instead of The Hard disc, Redis is widely used in Backend servers for Caching but also can be used as a main database.
Core Features
  • Each Key can have a TTL (Time to Live) in The Map
  • Supports Lists data structure with TTL as well
  • You can even Queuing commands as a batch and executing it. Uses the concept of RESP (Redis serialization protocol) Bulk string Array
  • Even has Type command to check type of the key!
  • Also has Stream data structure, with operations like xadd and more coming soon!

Test screen shots!

So for testing two values name and age were set with ttl of k seconds as shown. after those k seconds the values were removed from the map!

Testing hashmap of redis with TTL Server runtime screen shot!

Run the script with:

server script

user$: python3 app/main.py

test using the Redis client

user$: redis-cli

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages