项目
在 GitHub 查看
bcoe/crapify
关于
a proxy for simulating slow, spotty, HTTP connections
系统与基础设施实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文crapify
crapify is a proxy for simulating slow, spotty, HTTP connections. It allows you to vary:
- the upload and download speed of requests.
- the maximum number of concurrent outbound HTTP connections.
- the number of bytes dropped during transfers.
Contribute to Crapify on GitHub
Usage
npm install crapify -gcrapify start --port=5000 --speed=3000 --concurrency=2, where:portis the port crapify should start on.speedis the connection speed in bytes/second.concurrencyis the number of concurrent outbound connections allowed.drop-frequencyis how often bytes should be dropped (byte count%drop frequency).
Examples
usage with npm
npm config set proxy http://127.0.0.1:5000
usage with curl
curl -v --proxy http://127.0.0.1:5000 https://www.google.com
usage with OSX
- Go to
system preferences. - Click on
Network. - Click on
Advanced. - Click on
Proxies. - Enable an
http, and anhttpsproxy, with127.0.0.1, and:5000, respectively.
If you like crapify, you may also like...
- tylertreat/Comcast, a Go frontend that simulates terrible network connections by directly modifying settings for your network interfaces.
探索相关项目
加载中…
