{ "info": { "author": "Keith Bourgoin", "author_email": "hello@parsely.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Topic :: Database", "Topic :: Database :: Front-Ends", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "Redis Fluster Cluster\n=====================\n\nA Redis cluster for when single points of failure leave you flustered.\n\nOverview\n--------\n\nRedis Fluster is a very limited Redis pool/cluster implementation that makes sharding simple for a few common use cases.\n\nQuickstart\n^^^^^^^^^^\n\n.. code-block:: python\n\n import redis\n from fluster import FlusterCluster\n cluster = FlusterCluster([redis.Redis(6379), redis.Redis(6380)])\n\n while True:\n for key in ('foo', 'bar'):\n try:\n client = cluster.get_client(key)\n client.incr(key, 1)\n client.get(key)\n except ConnectionError:\n client = cluster.get_client(key)\n client.incr(key, 1)\n client.get(key)\n time.sleep(1)\n\n\nLimited, how? I want to use this for everything!\n------------------------------------------------\n\nSimply put, don't. Fluster maintains a pool of connections to various Redis instances and will return a connection to one based on a shard key provided. If one goes down, it gets put in a penalty box until it comes back up, at which point it's usable again.\n\nAt not point are keys duplicated, nor are they redistributed when nodes drop/join. If you're writing INCR statements and the node goes down, now you're writing them to another instance. Once the original instance returns, you've got two sets of values for the same key. This will be seamless and your program won't crash, so maybe that's enough.\n\nThen what's it good for?\n------------------------\nCaches and ephemeral data. The ideal case is where going down is worse than duplicated data. If a Redis fluster node goes down and you've got two copies of a cache, this probably isn't a problem. You've set expiries on the data, right?\n\nLikewise, if you're using lists to distribute a queue to multiple Redis instances, then one dropping and joining isn't a problem. Items queued while it was down went elsewhere and if your workers read from all available instances, then nothing has been lost, or is really all that different.\n\nWhat about Redis Cluster?\n-------------------------\nLooks great! Unfortunately, it's very new and not ready for production use. With all due luck, that will achieve all its promise and this project can quietly fade away.\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/Parsely/redis-fluster", "keywords": "redis cluster", "license": "Apache License 2.0", "maintainer": "", "maintainer_email": "", "name": "fluster", "package_url": "https://pypi.org/project/fluster/", "platform": "", "project_url": "https://pypi.org/project/fluster/", "project_urls": { "Homepage": "https://github.com/Parsely/redis-fluster" }, "release_url": "https://pypi.org/project/fluster/0.1.1/", "requires_dist": [ "mmh3", "redis", "hiredis" ], "requires_python": "", "summary": "Redis Cluster with Some Features", "version": "0.1.1" }, "last_serial": 5183187, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "dbb12e1a5db196eb47230c41b1bc549d", "sha256": "4b274f796d15279d2b55d65940fc5af416f293ca3c850b1dc167c34d836d0e2f" }, "downloads": -1, "filename": "fluster-0.0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "dbb12e1a5db196eb47230c41b1bc549d", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 13870, "upload_time": "2016-10-19T20:26:26", "url": "https://files.pythonhosted.org/packages/35/72/5507525c2b3f3da2237cec25d9adc560de916f52bf55b6468e9262ad0635/fluster-0.0.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "401649a5afe2a99c344c9df8ff4a3eba", "sha256": "e3b2b45af9db144da6a2711fac759e00b8a8aba81d73a3e378e7badc1e3705e3" }, "downloads": -1, "filename": "fluster-0.0.1.tar.gz", "has_sig": false, "md5_digest": "401649a5afe2a99c344c9df8ff4a3eba", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10507, "upload_time": "2016-10-19T20:26:29", "url": "https://files.pythonhosted.org/packages/2c/95/05033d5a3626cda3d07c767bd4ac0dcc69a29a04162f60d81e477b32ad46/fluster-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "f5b67f3394684efa1eeaf63e8c63e18d", "sha256": "b2a574172e94627e29fd7117cdfc461b04f65e5a51a4932a5fea6539919375b2" }, "downloads": -1, "filename": "fluster-0.0.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "f5b67f3394684efa1eeaf63e8c63e18d", "packagetype": "bdist_wheel", "python_version": "3.5", "requires_python": null, "size": 13868, "upload_time": "2016-10-19T20:31:54", "url": "https://files.pythonhosted.org/packages/33/64/3138672ac1a86ef3a0ca85a909d158f923a7ad368dde814b9ca7bb8f3945/fluster-0.0.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a7671568ff9288625cddb7a735be92b1", "sha256": "d716aae56a872b1485123c49a3404f3e32ee33315bfc0f08f5ec383410879a00" }, "downloads": -1, "filename": "fluster-0.0.2.tar.gz", "has_sig": false, "md5_digest": "a7671568ff9288625cddb7a735be92b1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10524, "upload_time": "2016-10-19T20:31:51", "url": "https://files.pythonhosted.org/packages/a3/39/d95de82998496fc0d84fda8e422b97c7e3608a7f682456d96f8306cb2e64/fluster-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "e6ee6e0d86354f02275e4edb6b0f5769", "sha256": "a6ee2e31470a52ec867df5e733f2dc3c4c6bf9ffc5ac22aabb9abcabb5d0cb35" }, "downloads": -1, "filename": "fluster-0.0.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "e6ee6e0d86354f02275e4edb6b0f5769", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 13872, "upload_time": "2016-10-19T20:39:56", "url": "https://files.pythonhosted.org/packages/87/d3/9207fb1b4d73e8a547b0a3d8c8fd037cbc136b97f161bf4f5a77ed9c06e9/fluster-0.0.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b09bda43675a6e9908739f61e2e751de", "sha256": "ce9bc8f57d3828bec30f52e7a0a83d760588e720d98440bf2528857eb6ed3f5c" }, "downloads": -1, "filename": "fluster-0.0.3.tar.gz", "has_sig": false, "md5_digest": "b09bda43675a6e9908739f61e2e751de", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10531, "upload_time": "2016-10-19T20:39:58", "url": "https://files.pythonhosted.org/packages/02/15/0829d50dd74c4e8859e0aecc316367b196e5b2fd8193ab9b02020410d696/fluster-0.0.3.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "19c6bb3ed54e4cb34670d98af5a84046", "sha256": "f547e94dd0e146df67bc0675e9e127b456bd44e908c18c8ff4327f4d4adccb10" }, "downloads": -1, "filename": "fluster-0.0.4-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "19c6bb3ed54e4cb34670d98af5a84046", "packagetype": "bdist_wheel", "python_version": "3.5", "requires_python": null, "size": 15736, "upload_time": "2016-10-19T20:43:20", "url": "https://files.pythonhosted.org/packages/56/af/843fcdba9872aefe971d76c408930b26ea19c26489477cbaabdf79720043/fluster-0.0.4-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "1fb0d1db386ea94f0aa0b93950d4f096", "sha256": "a74ac7330c266e280461f0cbf0582884caba6a0b13ced079ba1fc7a493893d48" }, "downloads": -1, "filename": "fluster-0.0.4.tar.gz", "has_sig": false, "md5_digest": "1fb0d1db386ea94f0aa0b93950d4f096", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10636, "upload_time": "2016-10-19T20:43:17", "url": "https://files.pythonhosted.org/packages/29/d4/a7f50ab4718b659c2a15fbf6867bff10e278dc245c771c415c9f28e8a006/fluster-0.0.4.tar.gz" } ], "0.0.5": [ { "comment_text": "", "digests": { "md5": "079f8179229f7fbe5177efe6621b5585", "sha256": "6a3dd75efd5a65829af0c993b334003b7191ec7c2462520d33b1b49e7134aae6" }, "downloads": -1, "filename": "fluster-0.0.5-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "079f8179229f7fbe5177efe6621b5585", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 19027, "upload_time": "2018-06-08T19:12:03", "url": "https://files.pythonhosted.org/packages/6d/0f/0a32366a2c6756f63fdc30484fc8360c6a6dddc6172c48948deffa2fb837/fluster-0.0.5-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d187ae2ae3e0526b8b1c5a01a4ceeaba", "sha256": "87e76c8385e8bb56cd8c7c5a1c9d5cb26c03e9e8c9606be676e18741e93f0ea3" }, "downloads": -1, "filename": "fluster-0.0.5.tar.gz", "has_sig": false, "md5_digest": "d187ae2ae3e0526b8b1c5a01a4ceeaba", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17798, "upload_time": "2018-06-08T19:12:05", "url": "https://files.pythonhosted.org/packages/99/ee/9c1b47209dc69a3be4f05aaaec687680c2c454b07b8e99b0bf13a3572235/fluster-0.0.5.tar.gz" } ], "0.1.0": [ { "comment_text": "", "digests": { "md5": "85c4cc16c8347c5a46aedfac523e8e54", "sha256": "3d575e531fb389a12afecaa329f815a4ea57ed4cbacde058ad1f24722f739cbd" }, "downloads": -1, "filename": "fluster-0.1.0.tar.gz", "has_sig": false, "md5_digest": "85c4cc16c8347c5a46aedfac523e8e54", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14171, "upload_time": "2019-01-22T20:48:18", "url": "https://files.pythonhosted.org/packages/b8/41/bb79b8c994e51ea86840218779da8dead0e90bf7a3b278754ae80eb76803/fluster-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "04023cb370f059f87a8499bf03b73247", "sha256": "61aebd53f22b6e4b47eed96b1b4f7770b7e9666eb55e1c4c37b9ec443d0b0d7f" }, "downloads": -1, "filename": "fluster-0.1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "04023cb370f059f87a8499bf03b73247", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 32253, "upload_time": "2019-04-24T16:13:20", "url": "https://files.pythonhosted.org/packages/26/14/1c582f47c47eeb5d9f45a60bebb21d99ddbf42b36fa2fd0d36d13790c325/fluster-0.1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "dd5d003789804e3e8db592705a572bdf", "sha256": "d652ffc9fa05d433867122eb843cdf57472312d64906071a60fe503bdb4063c5" }, "downloads": -1, "filename": "fluster-0.1.1.tar.gz", "has_sig": false, "md5_digest": "dd5d003789804e3e8db592705a572bdf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21473, "upload_time": "2019-04-24T16:13:22", "url": "https://files.pythonhosted.org/packages/54/69/db064c81a308767908926616b5d782b0af180bf352f06765ae8e209ac3c7/fluster-0.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "04023cb370f059f87a8499bf03b73247", "sha256": "61aebd53f22b6e4b47eed96b1b4f7770b7e9666eb55e1c4c37b9ec443d0b0d7f" }, "downloads": -1, "filename": "fluster-0.1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "04023cb370f059f87a8499bf03b73247", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 32253, "upload_time": "2019-04-24T16:13:20", "url": "https://files.pythonhosted.org/packages/26/14/1c582f47c47eeb5d9f45a60bebb21d99ddbf42b36fa2fd0d36d13790c325/fluster-0.1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "dd5d003789804e3e8db592705a572bdf", "sha256": "d652ffc9fa05d433867122eb843cdf57472312d64906071a60fe503bdb4063c5" }, "downloads": -1, "filename": "fluster-0.1.1.tar.gz", "has_sig": false, "md5_digest": "dd5d003789804e3e8db592705a572bdf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21473, "upload_time": "2019-04-24T16:13:22", "url": "https://files.pythonhosted.org/packages/54/69/db064c81a308767908926616b5d782b0af180bf352f06765ae8e209ac3c7/fluster-0.1.1.tar.gz" } ] }