rakyll/hey
HTTP load generator, ApacheBench (ab) replacement
Go · ★ 20,573 · Fork 1,316 · 在 GitHub 查看
在手机上浏览源码、订阅每日 AI 趋势日报与项目架构深度解读:获取 CopoHub 客户端(iOS & HarmonyOS)→
GitHub Trending 上榜记录
rakyll/hey 已在 GitHub Trending 每日榜单上榜 2 天,最高排名第 14,首次上榜 2026-09-29,最近一次上榜 2026-09-30。
| 日期 | 排名 | Star | 当日增长 |
|---|---|---|---|
| 2026-09-30 | #14 | 20,573 | +34 |
| 2026-09-29 | #14 | 20,455 | +31 |
同期上榜的项目
- NVIDIA/OpenShell – OpenShell is the safe, private runtime for autonomous AI agents.
- debpalash/VoiceStudio – VoiceStudio is the open-source, fully-local ElevenLabs alternative — voice cloning, voice design, video dubbing, dictation, transcription & audiobook creation in 646 languages.
- mvschwarz/openrig – Build your own network of agents from Claude Code, Codex and Pi: persistent teams with roles, shared context and owned work.
- mksglu/context-mode – Free, local plugin that keeps tool output out of your coding agent's context window. Sandbox and SQLite FTS5 search, 99% fewer bytes in context. Works with Claude Code, Codex, Pi, OpenCode, Gemini CLI, Copilot CLI and 4 more agents. Zero telemetry.
- DietrichGebert/ponytail – Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.
- harry0703/MoneyPrinterTurbo – 利用 AI 大模型和自动化工作流,根据主题或关键词一键生成高清短视频。Generate HD short videos from a topic or keyword with an automated AI workflow.
rakyll/hey 项目深度剖析与商业评估报告
rakyll/hey 项目深度剖析与商业评估报告
1. 核心定位与商业落地价值
hey 解决的是一类极其朴素却高频的工程痛点:在无外部依赖的前提下,对任意 HTTP/HTTPS 端点进行可重复、可脚本化的并发压测。作为 ApacheBench(ab)的现代替代品,它补齐了 ab 长期存在的三个致命短板:原生 HTTP/2 支持、单文件跨平台二进制分发、以及更符合现代 CI 语义的参数模型(-z 持续时间模式、-q 速率限制、-o csv 结构化输出)。
从商业落地视角看,其价值集中在三类场景:
CI/CD 流水线中的性能回归门禁:-o csv 输出的逐请求指标(含 DNS 拨号、连接、TTFB、总耗时)可直接被脚本消费,用于在合并前检测 P95 延迟劣化。相比 k6、Locust 需要引入 JS/Python 运行时,hey 的零依赖特性使其成为流水线中最低摩擦的"性能哨兵"。 SRE 故障排查与容量基线测量:-q 的每 worker 速率限制允许构造精确的稳态负载,而非暴力打满,这在生产环境灰度验证时用于模拟真实流量分布极为关键。 微服务网关/边车(Sidecar)的单元级压测:在 Kubernetes 环境中,可将 hey 二进制注入调试容器,对单个 Pod 直接压测,绕过 Service 层干扰。
竞品差异化与护城河:与 wrk(C + Lua 脚本,性能极高但扩展需写 Lua)、vegeta(Go,支持攻击脚本与结果绘图)、bombardier(Go,性能更优)相比,hey 的护城河不在性能绝对值,而在极简 API 表面 + 20K stars 形成的认知垄断。它是"HTTP 压测"这一动作在工程师心智中的默认映射,这种默认地位带来的分发优势远超其技术领先性。需清醒认识到:这是一条认知护城河而非技术护城河。
2. 核心架构设计与技术深度
hey 的架构可概括为 "单进程 + 固定 worker 池 + Channel 汇聚" 的三段式模型,本质是一个精简的并发扇出/扇入(Fan-out/Fan-in)管线:
在 README 中展示上榜徽章
[](https://github.fq6825.top/repo/rakyll/hey)