{"id":21020236,"url":"https://github.com/bringhurst/balancemq","last_synced_at":"2026-04-29T06:32:07.466Z","repository":{"id":6343249,"uuid":"7579399","full_name":"bringhurst/balancemq","owner":"bringhurst","description":"An API for self-stabilization algorithms.","archived":false,"fork":false,"pushed_at":"2013-04-29T21:39:08.000Z","size":6514,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-01-02T15:19:09.974Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://www.balancemq.com/","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bringhurst.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-01-12T19:17:52.000Z","updated_at":"2014-04-25T11:36:42.000Z","dependencies_parsed_at":"2022-09-02T04:13:28.068Z","dependency_job_id":null,"html_url":"https://github.com/bringhurst/balancemq","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bringhurst/balancemq","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bringhurst%2Fbalancemq","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bringhurst%2Fbalancemq/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bringhurst%2Fbalancemq/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bringhurst%2Fbalancemq/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bringhurst","download_url":"https://codeload.github.com/bringhurst/balancemq/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bringhurst%2Fbalancemq/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32414414,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T06:29:02.080Z","status":"ssl_error","status_checked_at":"2026-04-29T06:29:00.631Z","response_time":110,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-19T10:36:24.907Z","updated_at":"2026-04-29T06:32:07.449Z","avatar_url":"https://github.com/bringhurst.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"BalanceMQ\n=========\nBalanceMQ is a continuous workload balancer that knows how to efficiently and automatically distribute work evenly among many (tens of thousands) of servers with minimal communications overhead (see [this paper](https://dl.acm.org/citation.cfm?id=2389114) for a description of the algorithm used).\n\nThis program is still in development, please come back later if you want to use it for a production need.\n\nExample\n-------\nThis example is a distributed treewalk of a filesystem hierarchy using the STOMP interface. Assuming the underlying filesystem is parallel (i.e. has multiple read heads), this will distribute and balance the stat(2) workload among many nodes.\n\n```\nimport sys \nimport stomp\n\nconn = stomp.Connection()\n\nclass TreewalkListener(object):\n    def on_error(self, headers, message):\n        print 'received an error %s' % message\n\n    def on_message(self, headers, message):\n\n        if os.path.isfile(message):\n            print 'F: %s' % message\n\n        if os.path.isdir(message):\n            print 'D: %s' % message\n\n            for file in os.listdir(message):\n                conn.send(file, destination='/queue/treewalk_example')\n\nconn.set_listener('', TreewalkListener())\n\nconn.start()\nconn.connect()\n\nconn.send(sys.argv[1], destination='/queue/treewalk_example')\nconn.subscribe(destination='/queue/treewalk_example', ack='auto')\n\nconn.disconnect()\n```\n\nBuild Status\n------------\nThe current build status is [![Build Status](https://travis-ci.org/fintler/balancemq.png?branch=master)](https://travis-ci.org/fintler/balancemq).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbringhurst%2Fbalancemq","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbringhurst%2Fbalancemq","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbringhurst%2Fbalancemq/lists"}