Hacker Timesnew | past | comments | ask | show | jobs | submitlogin

"""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.


And even at that you'll need a network nightmare box or equivalent to simulate all the high latency connections out there.


With 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/


I'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?


The most recent commit to the dummynet source code was 5 days ago.

Are you sure you need a more recently updated alternative?


Where 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?


Luigi is a FreeBSD committer and works in the FreeBSD tree. That's where you'll find the most up-to-date dummynet code.


Why is less than a year too long? Is dummynet missing functionality?


Alright, 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.


"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/networ...


Dummynet now supports Linux, check its homepage out.


network nightmare

Thankyou so much. I have been trying to remember the name of these devices for ages.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: