3 ms·
"""Think about it, in the 'full stack' of browser -> client -> interweb -> web server -> app server -> db server the little bit of code that you wrote is minusc
by squeed 16y ago
"""Think about it, in the 'full stack' of browser -> client -> interweb -> web server -> app server -> db server the little bit of code that you wrote is minuscule compared to what you didn't write."""
This. The old saying "don't prematurely optimize" has never been truer. Too bad it's gotten harder to profile. Unless you write a boring CGI, one-load-per-page site, you're never going to be able to get all of that information server-side. The only way is with browser-based testing frameworks... Sigh.
- fleitz 16y agoAnd even at that you'll need a network nightmare box or equivalent to simulate all the high latency connections out there.
- rhizome 16y agoWith Dummynet, FreeBSD can simulate any kind of connection you can think of. Latency, packetloss, the whole schmear, available in bootable ISO form. http://info.iet.unipi.it/~luigi/dummynet/ http://info.iet.unipi.it/~luigi/dummynet/
- shaddi 16y agoI've used Dummynet extensively (with great satisfaction!), but I've been looking for a more recently updated alternative (preferably with good Linux support). Is anyone aware of any such thing?
- cperciva 16y agoThe most recent commit to the dummynet source code was 5 days ago. Are you sure you need a more recently updated alternative?
- Sukotto 16y agoWhere do you see that? On the page linked in the GP the most recent revision is dated 2010-03-19 Do I just not see the link to the repo or is there another project page someplace?
- absconditus 16y agoWhy is less than a year too long? Is dummynet missing functionality?
- cperciva 16y agoLuigi is a FreeBSD committer and works in the FreeBSD tree. That's where you'll find the most up-to-date dummynet code.
- shaddi 16y agoAlright, I'm an idiot. For some reason I had it in my head that development had ceased a couple years ago. Thanks for the info.
- sciurus 16y ago"netem provides Network Emulation functionality for testing protocols by emulating the properties of wide area networks. The current version emulates variable delay, loss, duplication and re-ordering." http://www.linuxfoundation.org/collaborate/workgroups/networking/netem http://www.linuxfoundation.org/collaborate/workgroups/networ...
- cygwin98 16y agoDummynet now supports Linux, check its homepage out.
- JonnieCache 16y agonetwork nightmare Thankyou so much. I have been trying to remember the name of these devices for ages.