{"id":52743,"library":"serialx-hashring","title":"Hashring","description":"Implements consistent hashing ring for distributed systems, enabling key-based node assignment.","status":"active","version":"0.0.0-20200727003509-22c0c7ab6b1b","language":"go","source_language":null,"source_url":"https://github.com/serialx/hashring","tags":["consistent-hashing","distributed-systems","load-balancing"],"install":[{"cmd":"go get github.com/serialx/hashring","lang":"bash","label":"Install github.com/serialx/hashring"}],"dependencies":[],"imports":[{"symbol":"hashring","correct":"github.com/serialx/hashring"}],"quickstart":{"code":"package main\n\nimport (\n\t\"fmt\"\n\t\"github.com/serialx/hashring\"\n)\n\nfunc main() {\n\tnodes := []string{\"node1\", \"node2\", \"node3\"}\n\tring := hashring.New(nodes)\n\tnode, _ := ring.GetNode(\"mykey\")\n\tfmt.Printf(\"Key 'mykey' maps to node: %s\\n\", node)\n}","lang":"go","description":"Creates a hash ring and maps a key to a node."},"warnings":[],"env_vars":null,"search_vec":"'assign':14 'balanc':23 'base':12 'consist':3,16 'consistent-hash':15 'distribut':7,19 'distributed-system':18 'enabl':9 'hash':4,17 'hashr':1 'implement':2 'key':11 'key-bas':10 'load':22 'load-balanc':21 'node':13 'ring':5 'system':8,20","created_at":"2026-06-15T07:10:01.512627+00:00","updated_at":"2026-06-15T07:10:01.512627+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/serialx/hashring","github":"https://github.com/serialx/hashring","docs":"https://pkg.go.dev/github.com/serialx/hashring#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["networking","utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-15","next_check":"2026-12-12","install_tag":null}}