{"id":21018699,"url":"https://github.com/tal-tech/pomelo-bench","last_synced_at":"2025-06-15T00:32:49.986Z","repository":{"id":189730256,"uuid":"678764032","full_name":"tal-tech/pomelo-bench","owner":"tal-tech","description":"pomelo多终端压测控制工具","archived":false,"fork":false,"pushed_at":"2024-03-01T08:41:49.000Z","size":268,"stargazers_count":5,"open_issues_count":0,"forks_count":2,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-04-03T05:12:09.942Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tal-tech.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2023-08-15T10:17:35.000Z","updated_at":"2024-08-18T18:13:38.000Z","dependencies_parsed_at":"2024-03-01T09:38:55.678Z","dependency_job_id":null,"html_url":"https://github.com/tal-tech/pomelo-bench","commit_stats":null,"previous_names":["tal-tech/pomelo-bench"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tal-tech%2Fpomelo-bench","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tal-tech%2Fpomelo-bench/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tal-tech%2Fpomelo-bench/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tal-tech%2Fpomelo-bench/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tal-tech","download_url":"https://codeload.github.com/tal-tech/pomelo-bench/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254288231,"owners_count":22045863,"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":[],"created_at":"2024-11-19T10:27:09.680Z","updated_at":"2025-05-15T06:31:41.358Z","avatar_url":"https://github.com/tal-tech.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Go Pomelo Bench 多节点压测工具\n\npomelo多节点压测工具，将后端服务部署至多节服务中，由前端服务统一控制，完成大规模压测\n\n工具分为两部分:\n\n1. 后端压测单元（bench）\n2. 前端命令行控制器(bench cli)\n\n结构为:\n\n![](docs/pomelo-bench.jpg)\n\n1. pomelo-bench: 压测单元实际为rpc服务端，通过grpc接口实现对压测任务的创建,操作,销毁等。\n2. pomelo-cli: 前端命令行控制器提供多压测单元控制，提供建议操作命令，通过grpc客户端连接到后端压测单元，简单实现模拟分布式压测控制。\n\n## 快速启动\n\n### 程序编译\n\n```shell\n# 命令详见 Makefile \nmake build\n```\n\n### 本地测试快速启动\n\n```shell\n# 开启后端压测单元（bench）,cd pomelo-bench目录下, 命令详见 Makefile \nmake run_bench\n\n# 开启前端命令行控制器(bench cli)\nmake run_bench_cli\n```\n\n### 成功运行例子\n\n```shell\n# pomelo bench cli!\n\n INFO  尝试连接压测woker机器\n INFO  连接 0.0.0.0:8080 成功\n INFO  连接 0.0.0.0:8082 成功\n INFO  连接压测woker机器完成\nPlease select an option [type to search]: \n\u003e connect\n  send\n  close\n  tree\n  quit\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftal-tech%2Fpomelo-bench","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftal-tech%2Fpomelo-bench","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftal-tech%2Fpomelo-bench/lists"}