登录 注册
开发者工具 benchmarkinggohttpload-testing
25,250
Stars
1,427
Forks
304
Watchers
125
Open Issues
MIT
许可证
Go
语言
2013-08-13
创建时间
2026-09-24
最近更新

项目能做什么

HTTP 压测工具和库,性能强劲,专为高并发负载测试打造。
来源:AI 基于仓库事实生成 · 内容以仓库实际 README 为准

使用说明 查看原始 README 原仓库文档

中文使用说明暂未生成。下面保留原仓库 README 摘录,命令与配置均以原文为准。
原始 README 摘录(英文原文,节选前 3000 字符)
# Vegeta [![Build Status](https://github.com/tsenart/vegeta/workflows/CI/badge.svg)](https://github.com/tsenart/vegeta/actions) [![Go Report Card](https://goreportcard.com/badge/github.com/tsenart/vegeta)](https://goreportcard.com/report/github.com/tsenart/vegeta) [![PkgGoDev](https://pkg.go.dev/badge/github.com/tsenart/vegeta/v12/lib)](https://pkg.go.dev/github.com/tsenart/vegeta/v12/lib) [![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/tsenart/vegeta?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge) [![Donate](https://img.shields.io/badge/donate-bitcoin-yellow.svg)](#donate)

Vegeta is a versatile HTTP load testing tool built out of a need to drill
HTTP services with a constant request rate. [It's over 9000!](https://en.wikipedia.org/wiki/It's_Over_9000)

![Vegeta](assets/hero.png)

## Features

- Usable as a command line tool and a Go library.
- CLI designed with UNIX composability in mind.
- [Avoids](https://github.com/tsenart/vegeta/pull/92/files#r20198929) nasty [Coordinated Omission](http://highscalability.com/blog/2015/10/5/your-load-generator-is-probably-lying-to-you-take-the-red-pi.html).
- Extensive reporting functionality.
- Simple to use for [distributed load testing](https://kubernetes.io/blog/2015/11/one-million-requests-per-second-dependable-and-dynamic-distributed-systems-at-scale/).
- Easy to install and run (static binary, package managers, etc).

## Install

### Pre-compiled executables

Get them [here](http://github.com/tsenart/vegeta/releases).

### macOS

You can install Vegeta using the [Homebrew](https://github.com/Homebrew/homebrew/):

```shell
$ brew update && brew install vegeta
```

Or with [MacPorts](https://www.macports.org/):

```shell
$ port install vegeta
```

### Arch Linux

```shell
$ pacman -S vegeta
```

### FreeBSD

On FreeBSD you can install Vegeta with the built in package manager because there is a [Vegeta Package](https://www.freshports.org/benchmarks/vegeta) available.

```shell
$ pkg install vegeta
```

### Source

```shell
git clone https://github.com/tsenart/vegeta
cd vegeta
make vegeta
mv vegeta ~/bin # Or elsewhere, up to you.
```

## Versioning

Both the library and the CLI are versioned with [SemVer v2.0.0](https://semver.org/spec/v2.0.0.html).

After [v8.0.0](https://github.com/tsenart/vegeta/tree/v8.0.0), the two components
are versioned separately to better isolate breaking changes to each.

CLI releases are tagged with `cli/vMAJOR.MINOR.PATCH` and published on the [GitHub releases page](https://github.com/tsenart/vegeta/releases).
As for the library, new versions are tagged with both `lib/vMAJOR.MINOR.PATCH` and `vMAJOR.MINOR.PATCH`.
The latter tag is required for compatibility with `go mod`.

## Contributing

See [CONTRIBUTING.md](.github/CONTRIBUTING.md).

## Usage manual

```console
Usage: vegeta [global flags] <command> [command flags]

global flags:
  -cpus int
    	Number of CPUs to use (default = number of cpus)
  -profile string
    	Enable profiling of [
阅读完整原文

项目深度分析 AI 生成

全托管云端分布式压测 SaaS 平台

产品构想以 Vegeta 作为底层执行引擎,提供多地域节点一键发起百万级 QPS 压测的云平台,配有实时 Web UI 与统计看板。
核心功能多地域工作节点管理、实时 QPS/延迟曲线图、测试历史对比分析、自动化 PDF/HTML 性能分析报告导出。
目标用户需要模拟全球多点高并发流量的中小型互联网团队、SRE。
难度/周期中等 · 2 - 3 个月 · 成本:服务器/带宽成本(发包节点按量付费)、前端与调度控制面开发。
收费模式按测试时长/产生的并发流量包订阅(如 $49-$299/月),或按次计费(Pay-as-you-go)。
竞争风险云厂商出口带宽费用高;同赛道面临 k6 Cloud、Gatling Enterprise 等成熟商业产品的竞争。
依据 已验证事实(README提及Kubernetes分布式压测,具备良好基础)

Vegeta 自动化回归与 CI/CD 质量门禁插件

产品构想面向 GitHub Actions / GitLab CI 的商业化插件,将接口性能测试纳入构建流,若延迟或错误率劣化超阈值则阻断发布。
核心功能CI 自动化配置向导、PR 级别性能变动 Diff 对比、基于历史基准的自适应告警规则、Slack/钉钉通知机器人。
目标用户推行性能自动化防护的 DevOps 团队及技术管理者。
难度/周期较低 · 1 - 1.5 个月 · 成本:极少(主要为自建存储服务与 Webhook 控制台的轻量级主机费用)。
收费模式Freemium 模式,基础版免费,高级对比、历史归档及企业团队协作按席位收费($10-20/席位/月)。
竞争风险开源脚本配合 Prometheus 也能部分自建,纯 CI 插件付费壁垒较薄弱。
依据 数据支持的判断(压测工具融入 CI 提升测试频率是主流工程趋势)

Kubernetes 原生压测 Operator 与监控集成企业套件

产品构想基于 Kubernetes CRD 封装 Vegeta 调度器,支持在内网 K8s 集群中动态拉起 Job 压测集群内/外网服务,并自动抓取应用 Profile 进行瓶颈诊断。
核心功能K8s CRD 自动化压测编排、与 Prometheus/Grafana 深度联动指标、结合 pprof 的服务端瓶颈联动诊断分析。
目标用户拥有中大型 K8s 集群的互联网企业、金融及企业级自建云团队。
难度/周期较高 · 3 - 4 个月 · 成本:中等(主要是开发维护成本,无需承担云基础设施带宽)。
收费模式企业级开源核心(Open-Core)商业授权,按集群规模收取年费 License(如 $2,000 - $10,000/年)。
竞争风险销售周期长,企业客户对开源工具的自研替代倾向较高。
依据 AI推测
AI 基于仓库公开数据分析生成,含推测成分,不构成收益承诺。
报告会保存到 个人中心

竞品与相似项目 GitHub Search 真实检索

相似项目数据正在完善中,暂不展示(避免误导)

项目优势与风险

技术成熟度创建于 2013-08-13,最近推送 2026-09-24,发布过 71 个 Release
社区活跃Star 25,250 / Fork 1,427 / Issue 125(数据支持,可自行核实)
许可证MIT
主要风险上游项目方向可能变化;同赛道竞争者较多(见竞品表);热度与需求不完全等价

安装与使用

此项目未提供 Docker 镜像,安装步骤以原仓库 README 为准(涉及依赖安装与环境配置,对新手门槛较高)。