{"id":20740944,"url":"https://github.com/rollbar/pylibmc-hashring-compat-test","last_synced_at":"2026-04-18T23:04:50.936Z","repository":{"id":66165741,"uuid":"603187200","full_name":"rollbar/pylibmc-hashring-compat-test","owner":"rollbar","description":null,"archived":false,"fork":false,"pushed_at":"2023-04-28T18:20:41.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-05T16:11:58.185Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/rollbar.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-02-17T19:58:40.000Z","updated_at":"2023-02-17T20:01:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"7c6d031d-ea58-4c07-b073-da59b758cfd2","html_url":"https://github.com/rollbar/pylibmc-hashring-compat-test","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rollbar%2Fpylibmc-hashring-compat-test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rollbar%2Fpylibmc-hashring-compat-test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rollbar%2Fpylibmc-hashring-compat-test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rollbar%2Fpylibmc-hashring-compat-test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rollbar","download_url":"https://codeload.github.com/rollbar/pylibmc-hashring-compat-test/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243030803,"owners_count":20224666,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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-17T06:31:39.359Z","updated_at":"2025-12-24T23:02:51.658Z","avatar_url":"https://github.com/rollbar.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Running the test\n\nStart up the memcached servers \n\n```bash\ndocker compose run --rm memcached\n```\n\nSeed data both with pylibmc and hashring\n\n```bash\ndocker compose run --rm -e NUMBER_ITEMS_TO_SEED=1000 seed_with_hashring\ndocker compose run --rm -e NUMBER_ITEMS_TO_SEED=1000 seed_with_pylibmc\n```\n\nThis will add + create a json dump of the added data in `added_data/`, which will be used when trying to pull up the keys later. \n\n\nTry to get data with hashring/python-memcached client and with the pylibmc client \n\n```bash\nmemcache-test git:(main) docker compose run -e NUMBER_ITEMS_TO_SEED=1000 hashring\n\nSearching with hash_ring memcached client\n[PYLIBMC SEEDED] Searched for 1000 keys, found 312\n[HASHRING SEEDED] Searched for 1000 keys, found 1000\n----------\n```\n\n```bash\ndocker compose run -e NUMBER_ITEMS_TO_SEED=1000 pylibmc\n\nSearching with pylibmc client\n[PYLIBMC SEEDED] Searched for 1000 keys, found 1000\n[HASHRING SEEDED] Searched for 1000 keys, found 332\n----------\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frollbar%2Fpylibmc-hashring-compat-test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frollbar%2Fpylibmc-hashring-compat-test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frollbar%2Fpylibmc-hashring-compat-test/lists"}