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) · Created: Feb 28, 2007 · Length: min · 72 MB
“PeepCode is awesome!” Tim O'Reilly, O'Reilly Media
“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
“[The] git PeepCode book is awesome. Congrats on a job very well done. This should be required reading for all git users.” Jamis Buck, Rails Core Alumnus
“It was refreshing to read about git from the bottom up, and not compared to SVN. I was at the stage where I could do most of the basic tasks I used to do in SVN, but lacked a fundamental understanding of how it was working under the hood...Understanding all those concepts really helped me grok why the higher level commands and workflows work the way they do, and how to avoid some of the pitfalls.” James, in blog comment
“Even if you are not planning to write a Rails plugin, you should absolutely check this book, there are great insights about how Rails works and you will figure out that building a plugin is as easy as anything in Ruby, it’s just a matter of knowing where to place your code.” Codevader Blog
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.