{"id":18537885,"url":"https://github.com/netbuffer/load-balance-test","last_synced_at":"2026-04-12T11:46:35.102Z","repository":{"id":150942236,"uuid":"128028611","full_name":"netbuffer/load-balance-test","owner":"netbuffer","description":"use spring-boot test load-balance","archived":false,"fork":false,"pushed_at":"2018-08-10T14:14:10.000Z","size":103,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-12-26T04:10:36.970Z","etag":null,"topics":["cmd","loadbalance","nginx","session","spring-boot"],"latest_commit_sha":null,"homepage":null,"language":"Java","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/netbuffer.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-04-04T08:01:45.000Z","updated_at":"2018-08-10T14:14:12.000Z","dependencies_parsed_at":"2023-05-06T18:47:47.427Z","dependency_job_id":null,"html_url":"https://github.com/netbuffer/load-balance-test","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netbuffer%2Fload-balance-test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netbuffer%2Fload-balance-test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netbuffer%2Fload-balance-test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netbuffer%2Fload-balance-test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/netbuffer","download_url":"https://codeload.github.com/netbuffer/load-balance-test/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239255296,"owners_count":19608253,"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","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":["cmd","loadbalance","nginx","session","spring-boot"],"created_at":"2024-11-06T19:40:51.231Z","updated_at":"2025-10-12T12:49:02.644Z","avatar_url":"https://github.com/netbuffer.png","language":"Java","readme":"# load-balance-test\n\n### step\n* 在终端中执行:`run-app.cmd 9000 9001 9002`来启动多个app实例\n* 以`nginx.conf`中的配置启动nginx\n* 启动`localhost`访问\n\n### 问题\n* nginx的ip_hash算法使用客户端ipv4地址的前3个octets，同一局域网中的设备访问会被分配到同一个后端server处理\n[http://nginx.org/en/docs/http/ngx_http_upstream_module.html#ip_hash](http://nginx.org/en/docs/http/ngx_http_upstream_module.html#ip_hash)\n\n# 微信扫码使用gitee工具\n![gitee工具](https://s1.ax1x.com/2018/08/10/P60MMF.jpg)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnetbuffer%2Fload-balance-test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnetbuffer%2Fload-balance-test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnetbuffer%2Fload-balance-test/lists"}