{ "info": { "author": "Mozilla Services, GTO Web", "author_email": "xiech@garena.com", "bugtrack_url": null, "classifiers": [ "Framework :: Pylons", "License :: OSI Approved :: Apache Software License", "Programming Language :: Python", "Topic :: Internet :: WWW/HTTP", "Topic :: Internet :: WWW/HTTP :: WSGI :: Application" ], "description": "django-memcached-pool\n=====================\n\n**This is a maintained version of Mozilla django-memcached-pool**\n\nAn efficient fast Django Memcached backend with a pool of connectors, based on\nultramemcache.\n\nSee https://github.com/esnme/ultramemcache\n\nEach connection added in the pool stays connected to Memcache or Membase,\ndrastically limiting the number of reconnections and open sockets your\napplication will use on high load.\n\nIf you configure more than one Memcache server, each new connection\nwill randomly pick one.\n\nEverytime a socket timeout occurs on a server, it's blacklisted so\nnew connections avoid picking it for a while.\n\nTo use this backend, make sure the package is installed in your environment\nthen use `memcachepool.cache.UMemcacheCache` as backend in your settings.\n\n**Also, make sure you use umemcache >= 1.5**\n\nHere's an example::\n\n\n CACHES = {\n 'default': {\n 'BACKEND': 'memcachepool.cache.UMemcacheCache',\n 'LOCATION': '127.0.0.1:11211',\n 'OPTIONS': {\n 'MAX_POOL_SIZE': 100,\n 'BLACKLIST_TIME': 20,\n 'SOCKET_TIMEOUT': 5,\n 'MAX_ITEM_SIZE': 1000*100,\n }\n }\n }\n\n\nOptions:\n\n- **MAX_POOL_SIZE:** -- The maximum number of connectors in the pool. default: 35.\n- **BLACKLIST_TIME** -- The time in seconds a server stays in the blacklist. default: 60\n- **SOCKET_TIMEOUT** -- the time in seconds for the socket timeout. default: 4\n- **MAX_ITEM_SIZE** -- The maximum size for an item in Memcache.\n\n\n\n2016-08-24 - 0.6\n################\n\n- rename _get_memcache_timeout to get_backend_timeout for Django >1.9\n- add function bug fix\n\n2013-12-13 - 0.4\n################\n\n- Use pickle.HIGHEST_PROTOCOL #8\n-\n.....\n\n2012-10-05 - 0.3.1\n##################\n\n- fixed cache.clear\n- make sure timeout=0 is treated as infinite\n\n\n2012-10-05 - 0.3\n################\n\n- now based on umemcache 0.5\n- added support for MAX_ITEM_SIZE\n\n2012-09-07 - 0.2\n################\n\n- Added the licence info\n\n2012-08-28 - 0.1\n################\n\n- Initial release", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/gto-web/django-memcached-pool", "keywords": "django memcached pool", "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "django-memcached-pool-gto", "package_url": "https://pypi.org/project/django-memcached-pool-gto/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-memcached-pool-gto/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/gto-web/django-memcached-pool" }, "release_url": "https://pypi.org/project/django-memcached-pool-gto/0.6/", "requires_dist": null, "requires_python": null, "summary": "A Memcached Pool for Django", "version": "0.6" }, "last_serial": 2305337, "releases": { "0.6": [ { "comment_text": "", "digests": { "md5": "786807ab4746ffd5821ea317bae8a84b", "sha256": "971d3a9ce572c1c78113c5917494b02b5682c605aab7027cffb3835b38a6434e" }, "downloads": -1, "filename": "django-memcached-pool-gto-0.6.tar.gz", "has_sig": false, "md5_digest": "786807ab4746ffd5821ea317bae8a84b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6972, "upload_time": "2016-08-26T04:32:15", "url": "https://files.pythonhosted.org/packages/58/8d/65588d2b6959599174d6879c17fd0a4a9d46edaf800db5ad965389ccff02/django-memcached-pool-gto-0.6.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "786807ab4746ffd5821ea317bae8a84b", "sha256": "971d3a9ce572c1c78113c5917494b02b5682c605aab7027cffb3835b38a6434e" }, "downloads": -1, "filename": "django-memcached-pool-gto-0.6.tar.gz", "has_sig": false, "md5_digest": "786807ab4746ffd5821ea317bae8a84b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6972, "upload_time": "2016-08-26T04:32:15", "url": "https://files.pythonhosted.org/packages/58/8d/65588d2b6959599174d6879c17fd0a4a9d46edaf800db5ad965389ccff02/django-memcached-pool-gto-0.6.tar.gz" } ] }