by Geoffrey Grosenbach with content from Zed Shaw, author of Mongrel.
Programmers love performance. We like to talk about it and form theories, but we don’t know how to measure it. And when we do, we don’t know what to do with the numbers we get.
This screencast shows how to use the very simple (but capable) httperf command-line tool. It also explains the basic statistics you need to know to compare separate benchmarking runs.
You’ll also learn how to use httperf to find the maximum performance of a single Mongrel instance. You can use this same technique to tune your server and find the optimum number of Mongrel processes to use in your cluster.
Now features a convenient chapter menu! This is a free update for anyone who purchased this screencast in the past.
| Minute Mark | Topic |
| 1 | Intro |
| 3 | Basic Statistics |
| 8 | Installing httperf |
| 10 | httperf in Action |
| 38 | Sample Sizes |
| 44 | Tuning Mongrel |
| 53 | Conclusion |
The code project from the Page, Action, and Fragment Caching screencast is used as an example. The code from that project is included in the download, but is not explained in this screencast.
Although a Rails application is used, the topics discussed could be used to benchmark any web application stack.
Revision (Notes) · Updated: Oct 07, 2007 · Length: min · 72 MB
“PeepCode is awesome!” Tim O'Reilly, O'Reilly Media
“I suspect there are a lot of smart DF readers out there who know nothing about the Unix-y aspects of Mac OS X, would like to, but never found a good way to get started. This screencast is it.” John Gruber, Daring Fireball
“These things are fantastic and the price is a steal. I strongly urge you to support this effort and buy the episodes. What a terrific way to learn!” Scott Barron, Rails Core Committer
“All the PeepCode screencasts are nothing short of awesome. Reading is one thing, but learning from [your screencasts] is enabling me to learn new things and advance like never before.” Todd Boteler
“I wanted to catch up with functional programming, watched PeepCode's screencast on Clojure, best one so far (and I have seen them all)” wearecloud
Login or signup and enter the code on your account page. If it is still valid you will be able to browse the list of products and redeem an episode.