{ "info": { "author": "Tim Savannah", "author_email": "kata198@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Topic :: Internet", "Topic :: Internet :: WWW/HTTP", "Topic :: System :: Distributed Computing", "Topic :: System :: Networking" ], "description": "PumpkinLB\n=========\n\n\nPumpkinLB is a fast multi-process TCP load balancer / port forwarder, compatible with: Linux, Cygwin, and Windows environments.\n\n\n**Processing**\n\nPumpkinLB listens for requests on ports local to the machine on which it is running, and farms them out to any number of workers.\n\nYou can use it to very quickly setup a load balancer, e.x. from 1 entry-point to 5 different apache workers on various servers.\n\nEach incoming port is waited-on by a distinct process, and each connection is yet another process, thus it performs very well even under heavy load.\n\nRequests are generally handled round-robin between the various workers. \nIf a request fails on a backend worker, it will be retried on another random worker until it succeeds, and a message will be logged.\n\n**Usage**\n\n\nExecute by running PumpkinLB.py [cfgFile]\n\nWhere [cfgFile] is the path to your config file. There is a sample \"example.cfg\" included.\n\n\n**Config Sections**\n\nThe Config file is broken up into sections, definable by [$SectionName], followed by variables in format of key=value.\n\n\n*[options]*\n\n* pre_resolve_workers=0/1 - Default 1\n\n\tAny workers defined with a hostname will be evaluated at the time the config is read.\n\n\tThis is preferable as it saves a DNS trip for every request, and should be enabled \n\n\tunless your DNS is likely to change and you want the workers to match the change.\n\n\n* buffer_size=N - Default 4096\n\n\t Default read/write buffer size (in bytes) used on socket operations. 4096 is a good default for most, but you may be able to tune better depending on your application.\n\n\n\n*[mappings]*\n\n* localaddr:inport=worker1:port,worker2:port...\n\n\tListen on interface defined by \"localaddr\" on port \"inport\". Farm out to worker addresses and ports.\n\n\tEx: 192.168.1.100:80=10.10.0.1:5900,10.10.0.2:5900\n\n* inport=worker1:port,worker2:port...\n\n\tListen on all interfaces on port \"inport\", and farm out to worker addresses with given ports.\n\n\tEx: 80=10.10.0.1:5900,10.10.0.2:5900\n\n\n\nSo an example to listen on port 80 localhost and farm out to 3 apache servers on your local subnet:\n\n\t80=192.168.1.100:80,192.168.1.101:80,192.168.1.102:80\n\n\n**Graceful Shutdown**\n\nSending SIGTERM, SIGINT, or pressing control+c will do a graceful shutdown (it will wait for up to 6 seconds to finish any active requests, and then terminate).", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/kata198/PumpkinLB", "keywords": "load balancer,load balance,python,balance,lb,http,socket,port,forward,tcp,fast,server,network", "license": "GPLv3", "maintainer": "", "maintainer_email": "", "name": "PumpkinLB", "package_url": "https://pypi.org/project/PumpkinLB/", "platform": "", "project_url": "https://pypi.org/project/PumpkinLB/", "project_urls": { "Homepage": "https://github.com/kata198/PumpkinLB" }, "release_url": "https://pypi.org/project/PumpkinLB/2.0.0/", "requires_dist": null, "requires_python": "", "summary": "A simple, fast, pure-python load balancer", "version": "2.0.0" }, "last_serial": 2563720, "releases": { "1.2": [ { "comment_text": "", "digests": { "md5": "eb185fc1a172251ccc6d60dd1c311f86", "sha256": "c5a299bd18267237f2a36fff879f14039908914526d06c2f8765336e52cbb468" }, "downloads": -1, "filename": "PumpkinLB-1.2.tar.gz", "has_sig": false, "md5_digest": "eb185fc1a172251ccc6d60dd1c311f86", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5451, "upload_time": "2015-03-23T18:45:31", "url": "https://files.pythonhosted.org/packages/1b/18/58b1b9faa0c5a130b505f7a6cebbef28bdd3e622a3d7bdcc498092e82ac3/PumpkinLB-1.2.tar.gz" } ], "1.2.1": [ { "comment_text": "", "digests": { "md5": "de330453b94c05503ffb2b953e8f549d", "sha256": "ac7ab9493ccc59e7c3578409587c679ee83c1bc04d8374d6e4b7bc9e66806a8c" }, "downloads": -1, "filename": "PumpkinLB-1.2.1.tar.gz", "has_sig": false, "md5_digest": "de330453b94c05503ffb2b953e8f549d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6951, "upload_time": "2015-04-08T18:21:27", "url": "https://files.pythonhosted.org/packages/14/f3/8c6f529c54dc08c78f9ac41b8867338f3c7d35d8f1e8ed473aef267931ce/PumpkinLB-1.2.1.tar.gz" } ], "1.3": [ { "comment_text": "", "digests": { "md5": "6df6b9a57cf15e247d0be264b462d14a", "sha256": "271099b3105a8881ec10f9da5e8da9700811187fc71a154762899ba6813ffec9" }, "downloads": -1, "filename": "PumpkinLB-1.3.tar.gz", "has_sig": false, "md5_digest": "6df6b9a57cf15e247d0be264b462d14a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7142, "upload_time": "2015-06-09T19:26:58", "url": "https://files.pythonhosted.org/packages/54/f2/703a316b72fc4d04d9b88d89b6cae20d399d58c4ec65a58c1a44cb3af124/PumpkinLB-1.3.tar.gz" } ], "1.4": [ { "comment_text": "", "digests": { "md5": "2b9313031b3e60a05a685c136bff1eeb", "sha256": "b4c737e261f126ac184fda3b02c2e8cfe24daac6a421d281d776e102ce4df1d7" }, "downloads": -1, "filename": "PumpkinLB-1.4.tar.gz", "has_sig": false, "md5_digest": "2b9313031b3e60a05a685c136bff1eeb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21175, "upload_time": "2015-09-18T19:09:10", "url": "https://files.pythonhosted.org/packages/8d/c4/a25023f08f43bfda54f2f8df140a6579b80a0e85527f4d29a04b1f62aec9/PumpkinLB-1.4.tar.gz" } ], "1.4.0": [ { "comment_text": "", "digests": { "md5": "db3c76a04c67819c2c50d6bfba976df5", "sha256": "0de1bc9bc3306f765c77f9570330aa470948fc14838f1b87601435eeecd924eb" }, "downloads": -1, "filename": "PumpkinLB-1.4.0.tar.gz", "has_sig": false, "md5_digest": "db3c76a04c67819c2c50d6bfba976df5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21220, "upload_time": "2015-09-18T19:14:39", "url": "https://files.pythonhosted.org/packages/54/d2/c9a1909d60e8db04cd02a915616b5c7c3045c20ebd7b68fce71f90e50432/PumpkinLB-1.4.0.tar.gz" } ], "2.0.0": [ { "comment_text": "", "digests": { "md5": "649873b77abcfffad9f48541ae277c6e", "sha256": "32e84297ac455d2cb00c4c2991c981b7a06b205f9966524a078fc24861e75d26" }, "downloads": -1, "filename": "PumpkinLB-2.0.0.tar.gz", "has_sig": false, "md5_digest": "649873b77abcfffad9f48541ae277c6e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 22676, "upload_time": "2017-01-10T04:21:53", "url": "https://files.pythonhosted.org/packages/cc/88/b4df1a3416ea09dd17bea4214d802d87f83afeafe9646ef42712c8e652f6/PumpkinLB-2.0.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "649873b77abcfffad9f48541ae277c6e", "sha256": "32e84297ac455d2cb00c4c2991c981b7a06b205f9966524a078fc24861e75d26" }, "downloads": -1, "filename": "PumpkinLB-2.0.0.tar.gz", "has_sig": false, "md5_digest": "649873b77abcfffad9f48541ae277c6e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 22676, "upload_time": "2017-01-10T04:21:53", "url": "https://files.pythonhosted.org/packages/cc/88/b4df1a3416ea09dd17bea4214d802d87f83afeafe9646ef42712c8e652f6/PumpkinLB-2.0.0.tar.gz" } ] }