{"id":51235,"library":"hailocab-go-hostpool","title":"go-hostpool","description":"A Go package for intelligently pooling hosts with round-robin or epsilon-greedy selection and avoidance of unresponsive hosts.","status":"active","version":"0.0.0-20160125115350-e80d13ce29ed","language":"go","source_language":null,"source_url":"https://github.com/hailocab/go-hostpool","tags":["host-pool","load-balancing","round-robin","epsilon-greedy"],"install":[{"cmd":"go get github.com/hailocab/go-hostpool","lang":"bash","label":"Install github.com/hailocab/go-hostpool"}],"dependencies":[],"imports":[{"symbol":"hostpool","correct":"github.com/hailocab/go-hostpool"}],"quickstart":{"code":"package main\n\nimport (\n\t\"fmt\"\n\t\"github.com/hailocab/go-hostpool\"\n)\n\nfunc main() {\n\tpool := hostpool.New([]string{\"host1:8080\", \"host2:8080\"})\n\thost := pool.Get()\n\tfmt.Println(host.Host())\n\thost.Mark(nil)\n}","lang":"go","description":"Select a host from a pool using intelligent strategies."},"warnings":[],"env_vars":null,"search_vec":"'avoid':21 'balanc':30 'epsilon':17,35 'epsilon-greedi':16,34 'go':2,5 'go-hostpool':1 'greedi':18,36 'host':10,24,26 'host-pool':25 'hostpool':3 'intellig':8 'load':29 'load-balanc':28 'packag':6 'pool':9,27 'robin':14,33 'round':13,32 'round-robin':12,31 'select':19 'unrespons':23","created_at":"2026-06-15T06:05:21.277751+00:00","updated_at":"2026-06-15T06:05:21.277751+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/hailocab/go-hostpool","github":"https://github.com/hailocab/go-hostpool","docs":"https://pkg.go.dev/github.com/hailocab/go-hostpool#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["networking"],"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}}