Code Monkey home page Code Monkey logo

python-async-memcached-server's Introduction

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

python-async-memcached-server's People

Contributors

jaysonsantos avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.