Skip to content

sidsingla/Redis-Cluster-LRU-Cache

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

LRU Cache has been implemented using Redis Cluster as the caching system.
Redis Cluster - https://redis.io/topics/cluster-tutorial.
Redis Cluster Python Implementation - https://github.com/Grokzen/redis-py-cluster.

Redis cluster was setup. Same host machine was used with different ports to mimic distributed setting. 3 masters and 3 slaves according to the minimum requirement for a cluster.
https://medium.com/@iamvishalkhare/create-a-redis-cluster-faa89c5a6bb4#:~:text=Running%20Redis%20in%20cluster%20mode&text=Every%20instance%20also%20contains%20the,every%20time%20it%20is%20needed.

Expected Code Output

b'3'
None
b'3'
b'5'
b'6'

Future Work

Multi-threaded client implementation.

About

Redis Cluster with LRU Cache

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages