TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

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

96 pointsby BenjaminCoeover 10 years ago

8 comments

semi-extrinsicover 10 years ago
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 未加载
BenjaminCoeover 10 years ago
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.
taf2over 10 years ago
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 未加载
Spooky23over 10 years ago
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!
hippichover 10 years ago
For linux there is tool &#x27;tc&#x27;
hrjetover 10 years ago
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>
Ryguover 10 years ago
If you simply need to test a website on a simulated slow connection, then Chrome Devtools. For all other purposes, this looks great!
youngtaffover 10 years ago
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 未加载