<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="/stylesheets/rss.css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>Segment7: Robot Co-op Hardware</title>
    <link>http://blog.segment7.net/articles/2006/03/15/robot-co-op-hardware</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description>The Blog</description>
    <item>
      <title>Robot Co-op Hardware</title>
      <description>&lt;p&gt;There&amp;#8217;s been interest in the hardware that has driven the sites of &lt;a href="http://www.robotcoop.com"&gt;The Robot Co-op&lt;/a&gt; over &lt;a href="http://blog.segment7.net/articles/2006/03/06/2-5-million"&gt;2.5 million requests/day&lt;/a&gt; so here it is:&lt;/p&gt;


&lt;table style="white-space:nowrap"&gt;
&lt;tr&gt;&lt;th&gt;Quantity&lt;th&gt;&lt;span class="caps"&gt;CPU&lt;/span&gt;&lt;th&gt;Memory&lt;th&gt;Disks&lt;th&gt;Functions
&lt;tr&gt;&lt;td&gt;4&lt;td&gt;Dual 3GHz Xeon&lt;td&gt;6GB&lt;td&gt;70GB &lt;span class="caps"&gt;RAID 1&lt;/span&gt;&lt;td style="white-space:normal"&gt;Apache, FastCGI, MogileFS storage node, memcached, image serving
&lt;tr&gt;&lt;td&gt;1&lt;td&gt;Dual 3GHz Xeon&lt;td&gt;2GB&lt;td&gt;70GB &lt;span class="caps"&gt;RAID 1&lt;/span&gt;&lt;td style="white-space:normal"&gt;Staging, mail, backend jobs
&lt;tr&gt;&lt;td&gt;1&lt;td&gt;Dual Opteron 246&lt;td&gt;12GB&lt;td&gt;5&amp;#215;73GB in &lt;span class="caps"&gt;RAID 5&lt;/span&gt;&lt;td&gt;MySQL
&lt;/table&gt;

	&lt;p&gt;The four web servers are more fluke than planning, we don&amp;#8217;t need the capacity they have just yet.  We started with two webservers, a database server and a staging/mail/backend server, all dual 3GHz Xeons.  We then added a third webserver and after that the Opteron MySQL box.  The old database server was recently repurposed as a webserver.&lt;/p&gt;


	&lt;p&gt;Site traffic is currently spread across all four web boxes as each box runs all of our sites by a hardware load balancer of unknown manufacture.  Eventually we&amp;#8217;ll switch to running the 43 Things on a pair of machines and all other sites on the remaining machines.&lt;/p&gt;


	&lt;p&gt;Images are routed through a separate IP directly to &lt;a href="http://www.webrick.org"&gt;WEBrick&lt;/a&gt; running a custom HTTPServlet that interacts with &lt;a href="http://www.danga.com/mogilefs"&gt;MogileFS&lt;/a&gt; to serve and resize images.&lt;/p&gt;
</description>
      <pubDate>Wed, 15 Mar 2006 18:12:00 -0800</pubDate>
      <guid isPermaLink="false">urn:uuid:ee8b48e1-1db3-4ece-acf6-e9b5d8ba5672</guid>
      <author>drbrain@segment7.net (Eric Hodel)</author>
      <link>http://blog.segment7.net/articles/2006/03/15/robot-co-op-hardware</link>
      <category>Robot Co-op</category>
    </item>
    <item>
      <title>"Robot Co-op Hardware" by Michael Shigorin</title>
      <description>&lt;p&gt;&amp;gt; Most importantly, lighttpd doesn’t
&amp;gt; have a mod_deflate equivalent
It&amp;#8217;s also a weird code, every person on our team who was first admired with it later regretted it for various reasons (not handling &amp;#8221;+&amp;#8221; in filenames or whatever architectural problems).&lt;/p&gt;


	&lt;p&gt;No one has got off nginx as a frontend/static server though, it&amp;#8217;s very robust.  Definitely worth looking at.&lt;/p&gt;</description>
      <pubDate>Tue, 04 Apr 2006 10:28:28 -0700</pubDate>
      <guid isPermaLink="false">urn:uuid:ee26dbcb-93c2-4c49-8222-f8693bdcbf15</guid>
      <link>http://blog.segment7.net/articles/2006/03/15/robot-co-op-hardware#comment-161</link>
    </item>
    <item>
      <title>"Robot Co-op Hardware" by Doug D</title>
      <description>&lt;p&gt;The load balancer is most likely a Cisco CSS series device.  Cisco is our preferred vendor for almost all of our network devices. (I work for Rackspace =D)&lt;/p&gt;</description>
      <pubDate>Mon, 27 Mar 2006 15:02:57 -0800</pubDate>
      <guid isPermaLink="false">urn:uuid:7faeeb39-53f1-475f-8b23-013e2bbd3c9b</guid>
      <link>http://blog.segment7.net/articles/2006/03/15/robot-co-op-hardware#comment-139</link>
    </item>
    <item>
      <title>"Robot Co-op Hardware" by djwm</title>
      <description>&lt;p&gt;regarding system load. it a very unrepresentive metric. you can have a box with a load of 500 which will be running almost like it has no work to do at all.&lt;/p&gt;


	&lt;p&gt;A good example is a forking ftp server. The ftp processes are lightweight and just do i/o in little spurts. High load, but FreeBSD just kicks ass for this&amp;#8230;&lt;/p&gt;


	&lt;p&gt;or a box with a flat load of 1.00 with a single process which sits on cpu all the time and is running at 100% of the systems capacity. any kqueueified single process daemon, such as thttpd.&lt;/p&gt;


	&lt;p&gt;i find mysql is very good at operating under load on freebsd6. I maintain a bacula backup server for our business and the some of tables used for the backup db have a lot of rows (10million+). I can run 40 concurrent backup jobs into this db &amp;#8211; AND run a table optimise query at the same time and the box sits about 60% CPU, disc on 20MB/s.&lt;/p&gt;


	&lt;p&gt;Did I mention, the box is a 2GHz P4 with 2GB RAM and a ATA100 drive? :)&lt;/p&gt;


	&lt;p&gt;... and its my KDE desktop too.&lt;/p&gt;


	&lt;p&gt;FreeBSD++&lt;/p&gt;</description>
      <pubDate>Fri, 17 Mar 2006 18:22:44 -0800</pubDate>
      <guid isPermaLink="false">urn:uuid:07f6bc4e-22c3-47e5-b61a-6dbc65a72d53</guid>
      <link>http://blog.segment7.net/articles/2006/03/15/robot-co-op-hardware#comment-104</link>
    </item>
    <item>
      <title>"Robot Co-op Hardware" by Chuq</title>
      <description>&lt;p&gt;Eric, interesting that you guys don&amp;#8217;t have a backup database server.  I&amp;#8217;m assuming that you guys are using a battery backed RAID controller at very least?&lt;/p&gt;</description>
      <pubDate>Fri, 17 Mar 2006 12:04:02 -0800</pubDate>
      <guid isPermaLink="false">urn:uuid:8a6d2ab0-7a2d-4720-b6be-8a1efe8e7c81</guid>
      <link>http://blog.segment7.net/articles/2006/03/15/robot-co-op-hardware#comment-103</link>
    </item>
    <item>
      <title>"Robot Co-op Hardware" by Paul</title>
      <description>&lt;p&gt;Curious are you using Apache2 + mod_fcgi or mod_fastcgi? Worker or prefork?
And I doubt it, but any PHP running
around on those servers?&lt;/p&gt;


	&lt;p&gt;Great to read though.&lt;/p&gt;</description>
      <pubDate>Fri, 17 Mar 2006 12:00:16 -0800</pubDate>
      <guid isPermaLink="false">urn:uuid:adfefd47-bb62-4cd8-9a39-e9266e01e6bd</guid>
      <link>http://blog.segment7.net/articles/2006/03/15/robot-co-op-hardware#comment-102</link>
    </item>
    <item>
      <title>"Robot Co-op Hardware" by Todd Huss</title>
      <description>&lt;p&gt;Great post, thanks for the info! It&amp;#8217;s interesting to compare setups, I&amp;#8217;ve written about our setup here:&lt;/p&gt;


	&lt;p&gt;&lt;a href="http://gabrito.com/post/website-hardware-and-our-setup" rel="nofollow"&gt;http://gabrito.com/post/website-hardware-and-our-setup&lt;/a&gt;&lt;/p&gt;</description>
      <pubDate>Fri, 17 Mar 2006 09:04:22 -0800</pubDate>
      <guid isPermaLink="false">urn:uuid:ad4ebd26-6a78-47e8-97f2-1721529a3b74</guid>
      <link>http://blog.segment7.net/articles/2006/03/15/robot-co-op-hardware#comment-101</link>
    </item>
    <item>
      <title>"Robot Co-op Hardware" by Zack Chandler</title>
      <description>&lt;p&gt;I use Rackspace also &amp;#8211; great company although pricey.  I didn&amp;#8217;t know they did freeBSD though.&lt;/p&gt;</description>
      <pubDate>Thu, 16 Mar 2006 22:56:02 -0800</pubDate>
      <guid isPermaLink="false">urn:uuid:6bb8cca5-663b-4064-8909-c2916051d3a4</guid>
      <link>http://blog.segment7.net/articles/2006/03/15/robot-co-op-hardware#comment-100</link>
    </item>
    <item>
      <title>"Robot Co-op Hardware" by Eric Hodel</title>
      <description>&lt;p&gt;Keith P: I&amp;#8217;ll post a rough outline of our software configuration after I&amp;#8217;m feeling well again.&lt;/p&gt;</description>
      <pubDate>Thu, 16 Mar 2006 20:19:30 -0800</pubDate>
      <guid isPermaLink="false">urn:uuid:e768a9c2-189f-4a09-845c-d91fd4cf9a4d</guid>
      <link>http://blog.segment7.net/articles/2006/03/15/robot-co-op-hardware#comment-99</link>
    </item>
    <item>
      <title>"Robot Co-op Hardware" by Eric Hodel</title>
      <description>&lt;p&gt;Keith V: No, we only use it for an image store.&lt;/p&gt;


	&lt;p&gt;Sessions are stored in memcached.&lt;/p&gt;</description>
      <pubDate>Thu, 16 Mar 2006 19:57:09 -0800</pubDate>
      <guid isPermaLink="false">urn:uuid:cb1f645a-e086-4f62-bd8a-38206d1634d6</guid>
      <link>http://blog.segment7.net/articles/2006/03/15/robot-co-op-hardware#comment-98</link>
    </item>
    <item>
      <title>"Robot Co-op Hardware" by Keith Pitty</title>
      <description>&lt;p&gt;How many FastCGI server processes per web server?&lt;/p&gt;</description>
      <pubDate>Thu, 16 Mar 2006 18:58:57 -0800</pubDate>
      <guid isPermaLink="false">urn:uuid:caeb30ba-ca38-49d5-9055-4905fb3e3b2e</guid>
      <link>http://blog.segment7.net/articles/2006/03/15/robot-co-op-hardware#comment-97</link>
    </item>
    <item>
      <title>"Robot Co-op Hardware" by Keith Veleba</title>
      <description>&lt;p&gt;Do you replicate session information with MogileFS?&lt;/p&gt;</description>
      <pubDate>Thu, 16 Mar 2006 16:37:47 -0800</pubDate>
      <guid isPermaLink="false">urn:uuid:8dca0c9c-0b62-427d-9a98-51148425ae30</guid>
      <link>http://blog.segment7.net/articles/2006/03/15/robot-co-op-hardware#comment-96</link>
    </item>
    <item>
      <title>"Robot Co-op Hardware" by Eric Hodel</title>
      <description>&lt;p&gt;Tom: We let Rackspace handle all the hardware and the console doesn&amp;#8217;t say what it is.  I think it is a Cisco, but I can&amp;#8217;t say for certain.  (Note: F5 is in my backyard, and I practice Jujutsu with a guy who works there.)&lt;/p&gt;</description>
      <pubDate>Thu, 16 Mar 2006 15:54:20 -0800</pubDate>
      <guid isPermaLink="false">urn:uuid:e27c15aa-8779-47ea-8cfd-97c950bee0ba</guid>
      <link>http://blog.segment7.net/articles/2006/03/15/robot-co-op-hardware#comment-95</link>
    </item>
    <item>
      <title>"Robot Co-op Hardware" by John Röthlisberger</title>
      <description>&lt;p&gt;Thanks Eric. It is &lt;strong&gt;fantastic&lt;/strong&gt; to see these real-life figures as they are so much more useful than theoreticals.&lt;/p&gt;</description>
      <pubDate>Thu, 16 Mar 2006 15:16:29 -0800</pubDate>
      <guid isPermaLink="false">urn:uuid:d5281d82-ecf8-4e26-b611-357d791bc443</guid>
      <link>http://blog.segment7.net/articles/2006/03/15/robot-co-op-hardware#comment-94</link>
    </item>
    <item>
      <title>"Robot Co-op Hardware" by Tom</title>
      <description>&lt;p&gt;Why is the manufacturer of the hardware load balancer unknown?  (Disclaimer: I am an engineer at a company that makes hardware load balancers)&lt;/p&gt;</description>
      <pubDate>Thu, 16 Mar 2006 14:21:45 -0800</pubDate>
      <guid isPermaLink="false">urn:uuid:9952a1c7-14a7-437e-bcfb-c6f6910dadeb</guid>
      <link>http://blog.segment7.net/articles/2006/03/15/robot-co-op-hardware#comment-93</link>
    </item>
    <item>
      <title>"Robot Co-op Hardware" by Eric Hodel</title>
      <description>&lt;p&gt;jtoy: I use NFS mode with a WEBrick server to handle the trackers&amp;#8217; usage checks.  Fortunately FreeBSD has a decent NFS implementation.  IO::AIO and FreeBSD hate each other for some unknown reason so I can&amp;#8217;t use Perlbal.&lt;/p&gt;</description>
      <pubDate>Thu, 16 Mar 2006 09:33:04 -0800</pubDate>
      <guid isPermaLink="false">urn:uuid:c4aafb81-4d9e-4e1c-bbfd-bd543a8b00e9</guid>
      <link>http://blog.segment7.net/articles/2006/03/15/robot-co-op-hardware#comment-90</link>
    </item>
    <item>
      <title>"Robot Co-op Hardware" by Eric Hodel</title>
      <description>&lt;p&gt;Brandt: I tested HTT performance and found about a 20% improvement.&lt;/p&gt;</description>
      <pubDate>Thu, 16 Mar 2006 09:27:09 -0800</pubDate>
      <guid isPermaLink="false">urn:uuid:05602ed9-93a5-428e-8c8d-2e136ee140b0</guid>
      <link>http://blog.segment7.net/articles/2006/03/15/robot-co-op-hardware#comment-89</link>
    </item>
    <item>
      <title>"Robot Co-op Hardware" by jtoy</title>
      <description>&lt;p&gt;Hi, did you need to modigy MogileFS to get it to work on FreeBSD?  I thought that it is currently only working on linux.&lt;/p&gt;


	&lt;p&gt;Thanks for the information.&lt;/p&gt;</description>
      <pubDate>Thu, 16 Mar 2006 07:51:31 -0800</pubDate>
      <guid isPermaLink="false">urn:uuid:37516d96-4919-4590-93a6-80c45e97627c</guid>
      <link>http://blog.segment7.net/articles/2006/03/15/robot-co-op-hardware#comment-88</link>
    </item>
    <item>
      <title>"Robot Co-op Hardware" by john</title>
      <description>&lt;p&gt;just fyi: in the case of the database box, loads can still get quite high without affecting performance, mostly because 64bit boxes are monsters when it comes to context switching.&lt;/p&gt;


	&lt;p&gt;At various times, we&amp;#8217;ve had here many (&amp;gt;10, up to 25) 64bit (16GB) MySQL slaves with loads &amp;gt;&amp;gt;5 that keep with with replication fine, and still serve SELECT traffic for the site.&lt;/p&gt;</description>
      <pubDate>Thu, 16 Mar 2006 06:28:21 -0800</pubDate>
      <guid isPermaLink="false">urn:uuid:b2bff709-7cb4-40f5-9021-040c3b59d387</guid>
      <link>http://blog.segment7.net/articles/2006/03/15/robot-co-op-hardware#comment-87</link>
    </item>
    <item>
      <title>"Robot Co-op Hardware" by Brandt</title>
      <description>&lt;p&gt;eric: i don&amp;#8217;t think HTT gives you the extra capacity you think it does. for example (this is what i did), use ab (or similar load-generating tool) to generate a steady load of 2.0 on your box, once with HTT enabled and once with it turned off. i believe you&amp;#8217;ll find (as i did) that you get roughly the same number of requests/second served regardless of HTT setting. that&amp;#8217;s because you don&amp;#8217;t actually double the number of compute cores when you enable HTT, it just looks that way to the OS.&lt;/p&gt;


	&lt;p&gt;so, if you want to keep your servers running at 50% of max capacity, you really want to be adding nodes when your load average hits 1.0, because a load of 2.0 is really 100% capacity.&lt;/p&gt;</description>
      <pubDate>Thu, 16 Mar 2006 05:36:33 -0800</pubDate>
      <guid isPermaLink="false">urn:uuid:e96a8837-3e90-4618-96e5-e0ed5b99ccfa</guid>
      <link>http://blog.segment7.net/articles/2006/03/15/robot-co-op-hardware#comment-86</link>
    </item>
    <item>
      <title>"Robot Co-op Hardware" by john</title>
      <description>&lt;p&gt;I apologize for the questions, and if it works for you, rock on. :) And since the DB can all fit into RAM for you, disk I/O won&amp;#8217;t be an issue of course.&lt;/p&gt;


	&lt;p&gt;My experience has been with the db being much bigger than RAM, and very IO-bound to disk, and so when I see RAID5 I get twitchy flashbacks of some very long and tough nights.  :)&lt;/p&gt;


	&lt;p&gt;Thanks for humoring my questions.&lt;/p&gt;</description>
      <pubDate>Thu, 16 Mar 2006 04:42:37 -0800</pubDate>
      <guid isPermaLink="false">urn:uuid:af1ce0f9-2aa5-4e45-ad95-6fe54927a51a</guid>
      <link>http://blog.segment7.net/articles/2006/03/15/robot-co-op-hardware#comment-85</link>
    </item>
    <item>
      <title>"Robot Co-op Hardware" by Adam</title>
      <description>&lt;p&gt;FYI,&lt;/p&gt;


	&lt;p&gt;There is a patch to add mod_deflate to Lighttpd. Its listed as a patch for 1.4.10. Might want to give it a shot just for kicks.&lt;/p&gt;</description>
      <pubDate>Thu, 16 Mar 2006 01:29:50 -0800</pubDate>
      <guid isPermaLink="false">urn:uuid:ebb3f8be-5c41-4af0-8697-ba5c59a56a8f</guid>
      <link>http://blog.segment7.net/articles/2006/03/15/robot-co-op-hardware#comment-84</link>
    </item>
    <item>
      <title>"Robot Co-op Hardware" by Eric Hodel</title>
      <description>&lt;p&gt;john: All FreeBSD 6 on UFS2 as I prefer my safety belts.  The Opteron is in amd64 mode.  The database sits all in RAM so the machine is nearly idle.&lt;/p&gt;


	&lt;p&gt;I&amp;#8217;m not into premature optimization and simplicity suggests spreading writes across as many spindles as possible.  If it becomes a problem I&amp;#8217;ll address it then.&lt;/p&gt;


	&lt;p&gt;Bob tuned innodb based on wikipedia&amp;#8217;s configuration.&lt;/p&gt;</description>
      <pubDate>Thu, 16 Mar 2006 00:39:09 -0800</pubDate>
      <guid isPermaLink="false">urn:uuid:4ba6e7d6-15ec-49f3-bb9f-66acda9ab6c3</guid>
      <link>http://blog.segment7.net/articles/2006/03/15/robot-co-op-hardware#comment-83</link>
    </item>
    <item>
      <title>"Robot Co-op Hardware" by Observer</title>
      <description>&lt;p&gt;What&amp;#8217;s with all the &amp;#8220;Why this and not that?&amp;#8221; questions?&lt;/p&gt;


	&lt;p&gt;If it works for them, it is a perfectly valid setup.&lt;/p&gt;</description>
      <pubDate>Wed, 15 Mar 2006 23:40:23 -0800</pubDate>
      <guid isPermaLink="false">urn:uuid:8fdc1c7e-7e93-42a0-845e-097144146d34</guid>
      <link>http://blog.segment7.net/articles/2006/03/15/robot-co-op-hardware#comment-82</link>
    </item>
    <item>
      <title>"Robot Co-op Hardware" by john</title>
      <description>&lt;p&gt;what OS and filesystem for the Opteron, how much you giving to Innodb&amp;#8217;s bufferpool, and what does iostat look like ?  I assume since you&amp;#8217;ve got the monster hunk of RAM that you&amp;#8217;re doing some decent qps on it.&lt;/p&gt;


	&lt;p&gt;question: Are you disk I/O bound at all ?&lt;/p&gt;


	&lt;p&gt;In my experience, RAID5 can give some really awful performance, and RAID10 is about the best you&amp;#8217;ll get.  I&amp;#8217;d be interested to hear the actual numbers.&lt;/p&gt;</description>
      <pubDate>Wed, 15 Mar 2006 22:30:20 -0800</pubDate>
      <guid isPermaLink="false">urn:uuid:c8954a30-c418-41ba-979a-26f62a02564c</guid>
      <link>http://blog.segment7.net/articles/2006/03/15/robot-co-op-hardware#comment-81</link>
    </item>
    <item>
      <title>"Robot Co-op Hardware" by Eric Hodel</title>
      <description>&lt;p&gt;Most importantly, lighttpd doesn&amp;#8217;t have a mod_deflate equivalent (only compression of static content).  Compressed pages save lots of money.&lt;/p&gt;


	&lt;p&gt;I also hate extra software so I&amp;#8217;d have to either deal with the pain of extra software to worry about or reconfigure all our internal tools that use apache to use lighttpd.&lt;/p&gt;</description>
      <pubDate>Wed, 15 Mar 2006 21:14:12 -0800</pubDate>
      <guid isPermaLink="false">urn:uuid:0d4317bf-8966-41d9-990e-9e36b3ac7951</guid>
      <link>http://blog.segment7.net/articles/2006/03/15/robot-co-op-hardware#comment-80</link>
    </item>
  </channel>
</rss>
