{"id":16248141,"url":"https://github.com/vincentbernat/ip_vs_csh","last_synced_at":"2026-03-09T04:04:24.878Z","repository":{"id":51383015,"uuid":"127791296","full_name":"vincentbernat/ip_vs_csh","owner":"vincentbernat","description":"Consistent source hashing scheduler for Linux IPVS","archived":false,"fork":false,"pushed_at":"2019-11-01T19:24:47.000Z","size":6,"stargazers_count":8,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-03T05:51:15.871Z","etag":null,"topics":["ipvs","linux","linux-kernel-module","loadbalancing"],"latest_commit_sha":null,"homepage":null,"language":"C","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/vincentbernat.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}},"created_at":"2018-04-02T17:47:29.000Z","updated_at":"2023-01-23T09:34:34.000Z","dependencies_parsed_at":"2022-09-12T13:31:25.600Z","dependency_job_id":null,"html_url":"https://github.com/vincentbernat/ip_vs_csh","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/vincentbernat/ip_vs_csh","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vincentbernat%2Fip_vs_csh","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vincentbernat%2Fip_vs_csh/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vincentbernat%2Fip_vs_csh/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vincentbernat%2Fip_vs_csh/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vincentbernat","download_url":"https://codeload.github.com/vincentbernat/ip_vs_csh/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vincentbernat%2Fip_vs_csh/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30282567,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-09T02:57:19.223Z","status":"ssl_error","status_checked_at":"2026-03-09T02:56:26.373Z","response_time":61,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["ipvs","linux","linux-kernel-module","loadbalancing"],"created_at":"2024-10-10T14:40:24.509Z","updated_at":"2026-03-09T04:04:24.227Z","avatar_url":"https://github.com/vincentbernat.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"☠️ There is a [better version][0] of this module ready to be merged in\nthe kernel (to appear in 4.18). A [backport][2] is available.\n\n# Consistent source hashing scheduler for Linux IPVS\n\nBased on [Google's Maglev algorithm][1], this scheduler builds a\nlookup table in a way disruption is minimized when a change\noccurs. This helps in case of active/active setup without\nsynchronization. Like for classic source hashing, this lookup table is\nused to assign connections to a real server.\n\nBoth source address and port are used to compute the hash (unlike sh\nwhere this is optional).\n\nWeights are correctly handled. Unlike sh, servers with a weight of 0\nare considered as absent. Also, unlike sh, when a server becomes\nunavailable due to a threshold, no fallback is possible: doing so\nwould seriously impair the the usefulness of using a consistent hash.\n\nThe value of 65537 for the hash table size is currently not modifiable\nat compile-time. This is the value suggested in the Maglev\npaper. Another possible value is 257 (for small tests) and 655373 (for\nvery large setups).\n\n[0]: http://archive.linuxvirtualserver.org/html/lvs-devel/2018-03/msg00023.html\n[1]: https://research.google.com/pubs/pub44824.html\n[2]: https://github.com/vincentbernat/ip_vs_mh\n\n## Compilation\n\nThis is an out-of-tree module. Just type `make` and you should get an\n`ip_vs_csh.ko` file. You can use `insmod` to load it. If your kernel\nsource are in a non-standard place, use `make KDIR=...`.\n\nThere is no option for this scheduler. You can use it by its name:\n\n    ipvsadm -A -t 203.0.113.15:80 -s csh\n    ipvsadm -a -t 203.0.113.15:80 -r 10.234.79.11:80 -m\n    ipvsadm -a -t 203.0.113.15:80 -r 10.234.79.12:80 -m\n    ipvsadm -a -t 203.0.113.15:80 -r 10.234.79.13:80 -m -w 2\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvincentbernat%2Fip_vs_csh","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvincentbernat%2Fip_vs_csh","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvincentbernat%2Fip_vs_csh/lists"}