<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Scout ~ The Blog comments on Taking the guesswork out of scaling</title>
    <link>http://blog.scoutapp.com/</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description>Scout ~ The Blog comments</description>
    <item>
      <title>"Taking the guesswork out of scaling" by derek</title>
      <description>&lt;p&gt;Determining a web application&amp;#8217;s hardware resources isn&amp;#8217;t easy (or cheap). Frankly, it&amp;#8217;s often just guesswork. Even when you build benchmarking scripts, they can miss key behaviors and ignore important metrics.&lt;/p&gt;


	&lt;p&gt;Scaling becomes a lot less stressful when you can quickly compare a history of your application data with server performance.&lt;/p&gt;


	&lt;p&gt;For example, we did this to get a better understanding of how our Scout server performed during our invitation process.  The graph below was generated through &lt;a href="http://scoutapp.com"&gt;Scout&lt;/a&gt; and shows the relationship between user accounts and the server load. As we expected, the overall load on the server increased as the number of accounts increased. Scout shows us how this data is correlated &amp;#8211; &lt;em&gt;it gives us an idea of how many accounts our current hardware can support&lt;/em&gt;.&lt;/p&gt;


	&lt;p&gt;&lt;strong&gt;Scout Accounts vs. Server Load&lt;/strong&gt;&lt;br/&gt;
&lt;img src="http://img.skitch.com/20080407-ti83wwfs8ce66ghirbku16k1bt.jpg" alt="accounts vs load"/&gt;&lt;/p&gt;


	&lt;p&gt;It&amp;#8217;s trivial process to regularly feed &lt;a href="http://scoutapp.com"&gt;Scout&lt;/a&gt; your application data (user signups, orders, revenue, etc):&lt;/p&gt;


	&lt;ol&gt;
	&lt;li&gt;Start with &lt;a href="http://plugins.scoutapp.com/rails_app_data_example/trunk/rails_app_data_example.rb"&gt;this Rails App Plugin Sample&lt;/a&gt; (this assumes a &lt;a href="http://rubyonrails.com"&gt;Ruby on Rails&lt;/a&gt; application, but you can do this with any framework/language)&lt;/li&gt;
		&lt;li&gt;Grab your application data &amp;#8211; just use ActiveRecord!&lt;/li&gt;
		&lt;li&gt;Put the plugin on your server (can protect behind basic auth)&lt;/li&gt;
		&lt;li&gt;Add the plugin&lt;/li&gt;
	&lt;/ol&gt;


	&lt;ul&gt;
	&lt;li&gt;&lt;a href="http://scoutapp.com/plugin_urls/static/creating_a_plugin"&gt;Learn more about creating Scout Plugins&lt;/a&gt;&lt;/li&gt;
		&lt;li&gt;&lt;a href="http://scoutapp.com/videos/howto_write_plugin"&gt;Watch a video of Charles creating a Scout Plugin&lt;/a&gt; (4 &lt;span class="caps"&gt;MIN 44 SEC MOV&lt;/span&gt;)&lt;/li&gt;
	&lt;/ul&gt;

</description>
      <pubDate>Thu, 24 Apr 2008 08:35:00 CDT</pubDate>
      <guid>&lt;a href="/articles/2008/04/24/dumping-rails-application-data-into-scout"&gt;Taking the guesswork out of scaling&lt;/a&gt;</guid>
      <link>&lt;a href="/articles/2008/04/24/dumping-rails-application-data-into-scout"&gt;Taking the guesswork out of scaling&lt;/a&gt;</link>
    </item>
  </channel>
</rss>
