{"id":832,"date":"2011-05-18T01:54:45","date_gmt":"2011-05-18T05:54:45","guid":{"rendered":"http:\/\/steve.vinoski.net\/blog\/?p=832"},"modified":"2011-05-18T01:54:45","modified_gmt":"2011-05-18T05:54:45","slug":"more-erlang-web-server-benchmarking","status":"publish","type":"post","link":"https:\/\/steve.vinoski.net\/blog\/2011\/05\/18\/more-erlang-web-server-benchmarking\/","title":{"rendered":"More Erlang Web Server Benchmarking"},"content":{"rendered":"<p>In my <a href=\"\/blog\/2011\/05\/09\/erlang-web-server-benchmarking\/\">previous blog entry<\/a> I questioned the value of most web server benchmarking, particularly as related to Erlang. Typical benchmarks are misleading, inaccurate, and poorly executed. Perhaps worse, the intent of publishing them seems to be to assert that the <em>fastest<\/em> web server (at least according to the tests performed) is of course also the <em>best<\/em> web server. You&#8217;d think the flaws of this fallacy would be so obvious that nobody would fall for it, but think again: watching the <a href=\"http:\/\/www.delicious.com\/tag\/erlang\">delicious &#8220;erlang&#8221; tag<\/a> over the past few days revealed the <a href=\"http:\/\/www.ostinelli.net\/a-comparison-between-misultin-mochiweb-cowboy-nodejs-and-tornadoweb\/\">benchmarks my blog post referred to<\/a> to be one of the most bookmarked Erlang-related pages during that timeframe.<\/p>\n<p>Not surprisingly, though, it looks like I&#8217;m not the only one bothered by poor benchmarking practices. Over on his blog, <a href=\"http:\/\/www.mnot.net\/\">Mark Nottingham<\/a> just published <a href=\"http:\/\/www.mnot.net\/blog\/2011\/05\/18\/http_benchmark_rules\">a brilliant set of rules for HTTP load testing<\/a>. It&#8217;s quite instructive to take your favorite set of published web server benchmarks and see just how many of Mark&#8217;s rules they violate.<\/p>\n<p>Like I hinted last time, if you want benchmarks, you are best off by far if you run them yourself. That way, their relevance to the problems you&#8217;re addressing will be much more likely, and you can run them in a similar, or even the same, environment on which you plan to deploy. You can also gear the benchmarks to much more closely resemble your applications and the loads you require them to handle. Doing the benchmarking work yourself will give you valuable hands-on experience with the servers and frameworks you&#8217;re considering, allowing you to get a feel for important factors such as feature completeness and correctness, ease of development, flexibility, and ease of deployment and runtime management\/monitoring, none of which can be gauged by someone else&#8217;s performance benchmarks. Finally, by doing your own benchmarking you can also help ensure the validity and usefulness of your results by following Mark&#8217;s load testing rules.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In my previous blog entry I questioned the value of most web server benchmarking, particularly as related to Erlang. Typical benchmarks are misleading, inaccurate, and poorly executed. Perhaps worse, the intent of publishing them seems to be to assert that the fastest web server (at least according to the tests performed) is of course also [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,12,105,33],"tags":[140,147,180,160],"class_list":["post-832","post","type-post","status-publish","format-standard","hentry","category-erlang","category-performance","category-testing","category-web","tag-erlang","tag-performance","tag-testing","tag-web"],"_links":{"self":[{"href":"https:\/\/steve.vinoski.net\/blog\/wp-json\/wp\/v2\/posts\/832","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/steve.vinoski.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/steve.vinoski.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/steve.vinoski.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/steve.vinoski.net\/blog\/wp-json\/wp\/v2\/comments?post=832"}],"version-history":[{"count":10,"href":"https:\/\/steve.vinoski.net\/blog\/wp-json\/wp\/v2\/posts\/832\/revisions"}],"predecessor-version":[{"id":842,"href":"https:\/\/steve.vinoski.net\/blog\/wp-json\/wp\/v2\/posts\/832\/revisions\/842"}],"wp:attachment":[{"href":"https:\/\/steve.vinoski.net\/blog\/wp-json\/wp\/v2\/media?parent=832"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/steve.vinoski.net\/blog\/wp-json\/wp\/v2\/categories?post=832"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/steve.vinoski.net\/blog\/wp-json\/wp\/v2\/tags?post=832"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}