{"id":72961,"library":"nspcc-dev-hrw","title":"HRW","description":"Package hrw implements Rendezvous hashing.","status":"active","version":"1.0.9","language":"go","source_language":null,"source_url":"https://github.com/nspcc-dev/hrw","tags":["hashing","rendezvous","distributed-systems"],"install":[{"cmd":"go get github.com/nspcc-dev/hrw","lang":"bash","label":"Install github.com/nspcc-dev/hrw"}],"dependencies":[],"imports":[{"symbol":"hrw","correct":"github.com/nspcc-dev/hrw"}],"quickstart":{"code":"package main\n\nimport \"github.com/nspcc-dev/hrw\"\n\nfunc main() {\n    nodes := []string{\"node1\", \"node2\"}\n    winner := hrw.SortByWeight(nodes, []byte(\"key\"))\n    _ = winner\n}","lang":"go","description":"Perform rendezvous hashing to select a node for a key."},"warnings":[],"env_vars":null,"search_vec":"'distribut':10 'distributed-system':9 'hash':6,7 'hrw':1,3 'implement':4 'packag':2 'rendezv':5,8 'system':11","created_at":"2026-06-17T18:45:37.293690+00:00","updated_at":"2026-06-17T18:45:37.293690+00:00","problems":[],"ecosystem":"go","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/nspcc-dev/hrw","github":"https://github.com/nspcc-dev/hrw","docs":"https://pkg.go.dev/github.com/nspcc-dev/hrw#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility","networking"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}