{"id":31098941,"url":"https://github.com/beefsack/go-jch","last_synced_at":"2025-10-20T03:33:09.268Z","repository":{"id":28995686,"uuid":"32522545","full_name":"beefsack/go-jch","owner":"beefsack","description":"Jump Consistent Hash implementation in Go","archived":false,"fork":false,"pushed_at":"2015-03-19T13:40:31.000Z","size":124,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-06-20T17:31:23.114Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/beefsack.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-03-19T13:21:56.000Z","updated_at":"2019-11-06T04:10:24.000Z","dependencies_parsed_at":"2022-07-26T04:02:22.352Z","dependency_job_id":null,"html_url":"https://github.com/beefsack/go-jch","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/beefsack/go-jch","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beefsack%2Fgo-jch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beefsack%2Fgo-jch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beefsack%2Fgo-jch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beefsack%2Fgo-jch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/beefsack","download_url":"https://codeload.github.com/beefsack/go-jch/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beefsack%2Fgo-jch/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275483994,"owners_count":25473165,"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","status":"online","status_checked_at":"2025-09-16T02:00:10.229Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":"2025-09-16T21:05:28.122Z","updated_at":"2025-09-16T21:05:30.579Z","avatar_url":"https://github.com/beefsack.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![GoDoc](https://godoc.org/github.com/beefsack/go-jch?status.png)](http://godoc.org/github.com/beefsack/go-jch) [![Build Status](https://travis-ci.org/beefsack/go-jch.svg?branch=master)](https://travis-ci.org/beefsack/go-jch)\n\nPackage jch provides an implementation of the Jump Consistent Hash\nconsistent hashing algorithm in Go.\n\nConsistent hashing is designed to minimise hash changes when the number of\nbuckets is changed, and is particularly useful for data sharding.  More\ninformation on consistent hashing is available at\nhttp://en.wikipedia.org/wiki/Consistent_hashing.\n\nJump Consistent Hash was invented by John Lamping and Eric Veach, and is\ndescribed in the paper \"A Fast, Minimal Memory, Consistent Hash Algorithm\"\n(2014) available at http://arxiv.org/abs/1406.2294v1.\n\n```go\nimport \"github.com/beefsack/go-jch\"\n\nfunc ExampleHash() {\n\thash := jch.Hash(28, 5)\n\tfmt.Print(hash)\n\t// Output: 2\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeefsack%2Fgo-jch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbeefsack%2Fgo-jch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeefsack%2Fgo-jch/lists"}