Re:Clumsy, an open-source utility for simulating broken netw...
by another on Thursday November 13, 2014 @11:51AM
(#8602500)
Reliable network interaction on mobile is enormously difficult if you are trying to deploy code globally: each MNO mangles your packets in its own special way. Good to see tools like this, wish there were more, but the other half of the picture is empirical data on how particular pathological networks behave (I don't mean "EDGE", I mean "EDGE in poor coverage on MTN in Afghanistan"). Haven't found any real information, even in general terms, along these lines. Pointers welcome.
This area would be a great place for someone like Internet.org to add value, and they've announced some related work, but nothing seems real yet.
Re:Clumsy, an open-source utility for simulating broken netw...
by paulirish on Thursday November 13, 2014 @01:27PM
(#8603100)
If you're looking for this for a webapp, the DevTools in Chrome now have presets for Edge/3g/4G (and offline) that tackle both latency and throughput. The added benefit is they only affect that one tab, so the others are still running at max speed.
Re:Clumsy, an open-source utility for simulating broken netw...
by tomasandrle on Thursday November 13, 2014 @05:12AM
(#8600761)
Nice, I have found some hard to reproduce bugs using tools like this.
On Mac OS X and iOS, there's the Network Link Conditioner which is built into iOS and part of the developer tools package on MAC OS X I believe (installed as a Preference pane).
Re:Clumsy, an open-source utility for simulating broken netw...
by masklinn on Thursday November 13, 2014 @06:35AM
(#8601001)
Yep, although it is quite a bit simpler: NLC does bandwidth, delay and drop (which clumsy calls throttle, lag and drop), it does not reorder, duplicate or tamper with packets.
It also applies to all network communications, it can't be applied to specific links or connections. On the other hand it's very, very easy to use.
Re:Clumsy, an open-source utility for simulating broken netw...
by guardian5x on Thursday November 13, 2014 @06:01AM
(#8600890)
Nice, this tool will help software engineers to make their software more robust. Far too often apps are only tested under ideal conditions and then fail when only a bad network connection, for example bad mobile reception, is available.
Re:Clumsy, an open-source utility for simulating broken netw...
by TheLoneWolfling on Thursday November 13, 2014 @11:56AM
(#8602538)
In particular, a lot of applications will work fine if there is no network access, or if there is great network access, but will crash and burn when, for example, it can access url A but not url B. (the network equivalent of "if not exists(file): fallback() else: file.open()")
Re:Clumsy, an open-source utility for simulating broken netw...
by tomovo on Thursday November 13, 2014 @01:47PM
(#8603258)
Weird things also happen when a request is fired but NOTHING happens - no failure, no response. It's what happens when you connect to one of those annoying paid airport wifi APs (and don't pay). No failure, no response, just a black hole for packets.
This area would be a great place for someone like Internet.org to add value, and they've announced some related work, but nothing seems real yet.
Screenshot: http://i.imgur.com/n0aFXo6.png
[1]: http://www.linuxfoundation.org/collaborate/workgroups/networ...
It also applies to all network communications, it can't be applied to specific links or connections. On the other hand it's very, very easy to use.
You can configure DummyNet to shape traffic for specific IPs/ MAC addresses etc. - ifpw is you friend.
typo - s/recommanded/recommended/
It would be fairly simple to simulate a saturated upstream though.