17th level Hacker

Http_load for Request Replay

The presentation that Rasmus gave at OSCON this year seems to have kicked some ass. I missed the conf, but got a bunch of interesting info from the slides. In particular I hadn’t used http_load before. Part of what I’ve been doing at AdMob is taking a look at performance and scaling, so that was a great find. It’s exactly the set of controls and measurements I normally start out with, and it really does run very efficiently in terms of not loading down the system that http_load is running on.

Just about the only thing that didn’t work the way I wanted was the random selection from the url list file. I wanted to replay a set of traffic in order, so I hacked up an -orderedurls option to select from the url list sequentially (repeating the list once you get to the end) instead of randomly choosing. Reading the whole file in and parsing it probably isn’t the way to go for this particular usage, so I’ll have to clean it up when the traffic segments I’m playing get into the millions instead of just the tens of thousands. But it works great for now.