TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: Crapify, a proxy for simulating slow, spotty HTTP connections

96 点作者 BenjaminCoe超过 10 年前

8 条评论

semi-extrinsic超过 10 年前
Nice! There was a different tool in the same category, aptly named &quot;Comcast&quot;, featured on HN a few weeks ago: <a href="https://github.com/tylertreat/Comcast" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;tylertreat&#x2F;Comcast</a>
评论 #8832656 未加载
BenjaminCoe超过 10 年前
At work we&#x27;ve been running into problems performing npm installs over a VPN. I&#x27;m suspicious that it relates to executing too many concurrent HTTP requests. This motivated me to create crapify, a tool which lets us experiment with throttling connection speed and concurrency.
taf2超过 10 年前
On OS X you can achieve something similar using ipfw<p>For example,<p>sudo ipfw pipe 1 config bw 500KByte&#x2F;s<p>Limits all network on your box to 500kb&#x2F;s<p>sudo ipfw add 1 pipe 1 src-port 443<p>To direct all traffic through port 443 through your slow pipe<p>sudo ipfw delete 1<p>When you are all done delete
评论 #8832644 未加载
评论 #8832466 未加载
评论 #8832765 未加载
Spooky23超过 10 年前
This is cool. If it could add random NATing between various VLANs and occasionally not open firewall ports as configured, it would be a simulation of my work environment!
hippich超过 10 年前
For linux there is tool &#x27;tc&#x27;
hrjet超过 10 年前
A more complete version of this: <a href="https://github.com/lightbody/browsermob-proxy" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;lightbody&#x2F;browsermob-proxy</a><p><pre><code> * captures performance data in the HAR format. * blacklisting and whitelisting certain URL patterns * simulating various bandwidth and latency * remapping DNS lookups * flushing DNS caching * controlling DNS and request timeouts * automatic BASIC authorization * REST API</code></pre>
Rygu超过 10 年前
If you simply need to test a website on a simulated slow connection, then Chrome Devtools. For all other purposes, this looks great!
youngtaff超过 10 年前
Why not use DummyNet, Clumsy or Network Link Conditioner (depending on your OS of choice)?<p>If you really need a HTTP proxy there are tools like Charles (although the low RTT to a proxy may change the nature of the testing)
评论 #8832270 未加载
评论 #8832307 未加载