Skip to content

akashaio/python-async-memcached-server

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

WHY?

For fun. This is not intended to be used in production, however I'm focusing in using pypy to boost performance. I'm planning to have some sort of storages and add a possibility to persist data.

What is working?

  • Get, set, add, replace and delete functions.
  • Key expiration.
  • Support for custom storages.

Testing

trial tests.py

Benchmarks (Outdated)

To execute benchmarks, you need to run the server with:

python -mpmemached

PyPy 1.8

(pypy)jayson@jayson-ThinkPad-Edge:~/github/python-async-memcached-server (master) Python 2.7.2 (0e28b379d8b3, Feb 09 2012, 19:41:03) [PyPy 1.8.0 with GCC 4.4.3]
$ python benchmark.py
Finished in 23.00 seconds, total 4999950000

CPython 2.7.1

(dev)jayson@jayson-ThinkPad-Edge:~/github/python-async-memcached-server (master) Python 2.7.1+
$ python benchmark.py
Finished in 45.00 seconds, total 4999950000

Original memcached server

(dev)jayson@jayson-ThinkPad-Edge:~/github/python-async-memcached-server (master) Python 2.7.1+
$ python benchmark.py
Finished in 19.00 seconds, total 4999950000

About

A pure python and async memcached server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%