Skip to content

Python implementation of memcached server. For educational purposes :)

Notifications You must be signed in to change notification settings

GedRap/toycache.py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

toycache.py Build Status

Memcached server implemented in python for educational purposes, wanted to learn more about the memcached protocol.

Compatibility with memcached

Screenshot

I tried to achieve high compatibility but made some decisions to limit the scope of the project to keep it at the 'weekend project' level and thus excluded some features.

Most of the minor things missing are marked as @todo in the code but major missing features are as follows:

  • Binary protocol support;

  • stats output is very minimal.

Running it locally

git clone https://github.com/GedRap/toycache.py.git
cd toycache.py
pip install -r requirements.txt
./run.sh

Running it in production

Don't do that.

About

Python implementation of memcached server. For educational purposes :)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published