Simulate delayed and dropped packets on Linux

netem leverages functionality already built into Linux and userspace utilities to simulate networks. This is actually what Mark’s answer refers to, by a different name. The examples on their homepage already show how you can achieve what you’ve asked for: Examples Emulating wide area network delays This is the simplest example, it just adds a … Read more

Best way to implement request throttling in ASP.NET MVC?

Here’s a generic version of what we’ve been using on Stack Overflow for the past year: /// <summary> /// Decorates any MVC route that needs to have client requests limited by time. /// </summary> /// <remarks> /// Uses the current System.Web.Caching.Cache to store each client request to the decorated route. /// </remarks> [AttributeUsage(AttributeTargets.Method, AllowMultiple = … Read more