{ "info": { "author": "Jim Fulton", "author_email": "jim@jimfulton.info", "bugtrack_url": null, "classifiers": [ "Framework :: ZODB", "Intended Audience :: Developers", "License :: OSI Approved :: Zope Public License", "Operating System :: Microsoft :: Windows", "Operating System :: Unix", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: Implementation :: CPython", "Topic :: Database", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "=======================\nZODB Replicated Storage\n=======================\n\nZODB replicated storage (ZRS) provides database replication for\nZODB. For each database, a primary storage and one or more secondary\nstorages may be defined. The secondary storages will automatically\nreplicate data from the primary storage.\n\nReplication is superior to back-ups because as long as secondaries are\nrunning, secondary data is kept updated. In the event of a failure of\na primary storage, just reconfigure a secondary to be the primary, and\nit can begin handling application requests.\n\n.. contents::\n\nFeatures\n========\n\n- Primary/secondary replication\n\n- Support for read-only secondary storages\n\nRequirements\n============\n\n- ZODB 3.9 or later.\n\nInstallation\n=============\n\nZRS is installed like any other Python package, by installing the\n``zc.zrs`` package with `easy_install\n`_, `zc.buildout\n`_, `pip\n`_, etc.\n\nUsing ZRS\n=========\n\nZRS provides two ZODB storage implementations: a primary storage and a\nsecondary storage. Both storages are used with file storages.\n\n- The primary storage is a readable and writable storage.\n\n- The secondary storage is read-only.\n\n A secondary storage can be used by read-only application clients to\n reduce server load.\n\n Secondary storages replicate from primary storages, or other\n secondary storages.\n\nTheoretically, ZRS storages can be used wherever a ZODB storage would\nbe used. In practice, however, they're used in ZEO servers.\n\nConfiguration with ZConfig\n--------------------------\n\nIf using an application, like a ZEO server or Zope, that uses `ZConfig\n`_ to configure ZODB storages,\nthe configuration of a ZRS primary or secondary storage may be\nincluded in the configuration file as with any other storage e.g, to\nconfigure a primary storage, use something like::\n\n %import zc.zrs\n\n \n replicate-to 5000\n\n \n path /path/to/data/file\n \n \n\nHere is a line-by-line walk through::\n\n %import zc.zrs\n\nThe import statement is necessary to load the ZConfig schema\ndefinitions for ZRS.\n\n::\n\n \n\nThe zrs section defines a ZRS storage. A ZRS storage may be a primary\nstorage or a secondary storage. A ZRS storage without a\n``replicate-from`` option (as in the example above) is a primary\nstorage.\n\n::\n\n replicate-to 5000\n\nThe replicate-to option specifies the replication address. Secondary\nstorages will connect to this address to download replication\ndata. This address can be a port number or a host name (interface\nname) and port number separated by a colon.\n\n::\n\n \n path /path/to/data/file\n \n\nA ZRS storage section must include a filestorage section specifying a\nfile storage to contain the data.\n\nConfiguring a secondary storage is similar to configuring a primary\nstorage::\n\n %import zc.zrs\n\n \n replicate-from primary-host:5000\n replicate-to 5000\n keep-alive-delay 60\n\n \n path /path/to/secondary/data/file\n \n \n\nFor a secondary storage, a ``replicate-from`` option is used to specify\nthe address to replicate data from.\n\nBecause primary and secondary storages are generally on separate\nmachines, the host is usually specified in a ``replicate-from``\noption.\n\nA secondary storage can also specify a ``replicate-to`` option. If this\noption is used, other secondary storages can then replicate from the\nsecondary, rather than replicating from the primary.\n\nSecondary storages also support the following optional option:\n\nkeep-alive-delay SECONDS\n In some network configurations, TCP connections are broken after\n extended periods of inactivity. This may even be done in a way that\n a client doesn't detect the disconnection. To prevent this, you can\n use the ``keep-alive-delay`` option to cause the secondary storage\n to send periodic no-operation messages to the server.\n\nCode and contributions\n======================\n\nhttps://github.com/zc/zrs\n\n\nRecent Changes\n==============\n\nFor earlier changes, see the `HISTORY.rst `_.\n\n3.1.0 (2017-04-07)\n------------------\n\n- Python 3 (3.4 amd 3.5) support.\n\n 3.6 support will be added when Twisted supports Python 3.6.\n (There are worrying test failures under Python 3.6.)\n\n- Minor convenience change to API: When instantiating primary or\n secondary servers, you can pass a file-name instead of a storage\n instance and a file storage will be created automatically.\n\n\n3.0.0 (2017-04-04)\n------------------\n\n- Add support for ZODB 5\n\n- Drop ZooKeeper support.", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/zc/zrs", "keywords": "ZODB", "license": "ZPL 2.1", "maintainer": "", "maintainer_email": "", "name": "zc.zrs", "package_url": "https://pypi.org/project/zc.zrs/", "platform": "", "project_url": "https://pypi.org/project/zc.zrs/", "project_urls": { "Homepage": "https://github.com/zc/zrs" }, "release_url": "https://pypi.org/project/zc.zrs/3.1.0/", "requires_dist": null, "requires_python": "", "summary": "ZODB Replicated Storage", "version": "3.1.0" }, "last_serial": 2760188, "releases": { "2.0.5": [ { "comment_text": "", "digests": { "md5": "7cf5529e38ed966f5b2b9ece3a3b7ab9", "sha256": "721a2e661357a98365fc44a534300963316a6d83055558fa99e205f76ea685a9" }, "downloads": -1, "filename": "zc.zrs-2.0.5.tar.gz", "has_sig": false, "md5_digest": "7cf5529e38ed966f5b2b9ece3a3b7ab9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 39005, "upload_time": "2013-05-28T00:02:39", "url": "https://files.pythonhosted.org/packages/7d/3e/abf64f53312a081c5942f2da951141ebc35413236acaafc9f9aa599a907b/zc.zrs-2.0.5.tar.gz" } ], "2.0.6": [ { "comment_text": "", "digests": { "md5": "f82373d85d4009fb122dc4afe1c019ab", "sha256": "198605eb7e91ce459ddccdae0024a17f48e579de30474e63a00fa198d019b7d9" }, "downloads": -1, "filename": "zc.zrs-2.0.6.tar.gz", "has_sig": false, "md5_digest": "f82373d85d4009fb122dc4afe1c019ab", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 38973, "upload_time": "2013-05-28T12:49:38", "url": "https://files.pythonhosted.org/packages/7d/f1/d7d89fbd22b343be6cafd4581f7cf1a704937651a0320ba6095dc4b9c4ef/zc.zrs-2.0.6.tar.gz" } ], "2.4.2": [ { "comment_text": "", "digests": { "md5": "04b2fe987b07c986647020d138042e13", "sha256": "5e56a71b10e3e3333c5b721f0acca078111a2763987146e849b739745b37c5b5" }, "downloads": -1, "filename": "zc.zrs-2.4.2.tar.gz", "has_sig": false, "md5_digest": "04b2fe987b07c986647020d138042e13", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 41879, "upload_time": "2013-05-28T00:07:22", "url": "https://files.pythonhosted.org/packages/70/8a/fc747cc00d00dc3e69cc34d1439655141b78500f097eec1a57c17ba79f48/zc.zrs-2.4.2.tar.gz" } ], "2.4.3": [ { "comment_text": "", "digests": { "md5": "505fee10db50996aa4e79d877b72d244", "sha256": "041542746189588eb12f5ff082cc26f56751565beae92116e9fa726387798884" }, "downloads": -1, "filename": "zc.zrs-2.4.3.tar.gz", "has_sig": false, "md5_digest": "505fee10db50996aa4e79d877b72d244", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 43614, "upload_time": "2013-08-15T13:58:27", "url": "https://files.pythonhosted.org/packages/20/eb/dc94e712b8ecd9698720c367118609b8975e0e5d721c147cb0177c1add81/zc.zrs-2.4.3.tar.gz" } ], "2.4.4": [ { "comment_text": "", "digests": { "md5": "3df57718dacd17a34c07628b4829ad61", "sha256": "3d029316c8ecd429c5276ac6018da04ac1e702ad66f42774cfe245a8a58b3304" }, "downloads": -1, "filename": "zc.zrs-2.4.4.tar.gz", "has_sig": false, "md5_digest": "3df57718dacd17a34c07628b4829ad61", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 44352, "upload_time": "2013-08-17T14:53:26", "url": "https://files.pythonhosted.org/packages/91/c0/2fa8dd4cfaeb8408e2d7b237b630c991e6469f4276e61c820823a5801913/zc.zrs-2.4.4.tar.gz" } ], "2.5.0": [ { "comment_text": "", "digests": { "md5": "27d215f8bf742a323be1fc6fd72010df", "sha256": "5a7f6bb5e6de56d49cc645452d353e7abef0e10ee358220844ec92ea57426ade" }, "downloads": -1, "filename": "zc.zrs-2.5.0.tar.gz", "has_sig": false, "md5_digest": "27d215f8bf742a323be1fc6fd72010df", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 44749, "upload_time": "2015-01-25T19:17:12", "url": "https://files.pythonhosted.org/packages/4e/c8/a6ab9314428fb64604250e774c6d216d165b869f469794051df8d18e247a/zc.zrs-2.5.0.tar.gz" } ], "2.5.1": [ { "comment_text": "", "digests": { "md5": "073f507af864ece213559caec09828df", "sha256": "76cea600abe2687cf3ab03fd507440647ecb18aa3f793cc1571054dc6a1b9e92" }, "downloads": -1, "filename": "zc.zrs-2.5.1.tar.gz", "has_sig": false, "md5_digest": "073f507af864ece213559caec09828df", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 48054, "upload_time": "2015-01-28T19:18:36", "url": "https://files.pythonhosted.org/packages/9b/c0/cda5dbbedd8e9130989bfb33afe760fd89b76f562718ffc50c4bb4b210c3/zc.zrs-2.5.1.tar.gz" } ], "2.5.2": [ { "comment_text": "", "digests": { "md5": "2d3d15f54ba954f7cae3edeffbe0462e", "sha256": "f328e481c3f705d9b2fc254180f213c9fedfe33383b613f6faf8902d6d17edcd" }, "downloads": -1, "filename": "zc.zrs-2.5.2.tar.gz", "has_sig": false, "md5_digest": "2d3d15f54ba954f7cae3edeffbe0462e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 48955, "upload_time": "2015-02-07T16:58:39", "url": "https://files.pythonhosted.org/packages/91/95/2eb9e87f3ee1768ba85ab83e39d305e3ed2e033ee4fae3d2cf648cf28a4e/zc.zrs-2.5.2.tar.gz" } ], "2.5.3": [ { "comment_text": "", "digests": { "md5": "3b65605174bd1bdb269916b7deeef2aa", "sha256": "67dc6a4967c13e0ea736853ea610eaff68c2a42b4d5dab0d0cb85aa00ec00433" }, "downloads": -1, "filename": "zc.zrs-2.5.3.tar.gz", "has_sig": false, "md5_digest": "3b65605174bd1bdb269916b7deeef2aa", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 49162, "upload_time": "2015-02-16T11:58:22", "url": "https://files.pythonhosted.org/packages/97/36/70ade20188313b4d6861ccf04f408ffe591a807af0499f4ee5dd89b709f9/zc.zrs-2.5.3.tar.gz" } ], "3.0.0": [ { "comment_text": "", "digests": { "md5": "ee21ea58930234a6cc8993f1da850a0f", "sha256": "b1812f5c09f43b940a5cfb5cc2e7c567107f8466ec67783abc18f3ff599e679d" }, "downloads": -1, "filename": "zc.zrs-3.0.0.tar.gz", "has_sig": false, "md5_digest": "ee21ea58930234a6cc8993f1da850a0f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 47256, "upload_time": "2017-04-04T14:13:01", "url": "https://files.pythonhosted.org/packages/81/b3/63effa6e24c0fed825dfecb0921d6ed034d8246ee2ee50b8b49885fb3f2c/zc.zrs-3.0.0.tar.gz" } ], "3.1.0": [ { "comment_text": "", "digests": { "md5": "a0f12164d7a39b8e5e7a6f9cc3e4791b", "sha256": "ea556ea11654e7e2bf555c5c4be0803eeb5f14ab4116ae2eaa722e7151619f6f" }, "downloads": -1, "filename": "zc.zrs-3.1.0.tar.gz", "has_sig": false, "md5_digest": "a0f12164d7a39b8e5e7a6f9cc3e4791b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 47975, "upload_time": "2017-04-07T13:12:10", "url": "https://files.pythonhosted.org/packages/5c/b2/5a516f4883fc766ea37a9d979a5cacddc1b29df17140c14da26676a3c4b5/zc.zrs-3.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a0f12164d7a39b8e5e7a6f9cc3e4791b", "sha256": "ea556ea11654e7e2bf555c5c4be0803eeb5f14ab4116ae2eaa722e7151619f6f" }, "downloads": -1, "filename": "zc.zrs-3.1.0.tar.gz", "has_sig": false, "md5_digest": "a0f12164d7a39b8e5e7a6f9cc3e4791b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 47975, "upload_time": "2017-04-07T13:12:10", "url": "https://files.pythonhosted.org/packages/5c/b2/5a516f4883fc766ea37a9d979a5cacddc1b29df17140c14da26676a3c4b5/zc.zrs-3.1.0.tar.gz" } ] }