<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.0.5" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Ruby on Rails doesn&#8217;t Scale Well</title>
	<link>http://www.terminally-incoherent.com/blog/2007/04/27/ruby-on-rails-doesnt-scale-well/</link>
	<description>Utterly random, incoherent and disjointed rants and ramblings...</description>
	<pubDate>Thu, 04 Dec 2008 19:19:50 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0.5</generator>

	<item>
		<title>by: Luke</title>
		<link>http://www.terminally-incoherent.com/blog/2007/04/27/ruby-on-rails-doesnt-scale-well/#comment-4259</link>
		<pubDate>Sun, 29 Apr 2007 03:17:35 +0000</pubDate>
		<guid>http://www.terminally-incoherent.com/blog/2007/04/27/ruby-on-rails-doesnt-scale-well/#comment-4259</guid>
					<description>Wow! That was fast. Rails community really has it together. Thanks for sharing this!</description>
		<content:encoded><![CDATA[<p>Wow! That was fast. Rails community really has it together. Thanks for sharing this!
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: are.you.for.real</title>
		<link>http://www.terminally-incoherent.com/blog/2007/04/27/ruby-on-rails-doesnt-scale-well/#comment-4255</link>
		<pubDate>Sat, 28 Apr 2007 02:11:47 +0000</pubDate>
		<guid>http://www.terminally-incoherent.com/blog/2007/04/27/ruby-on-rails-doesnt-scale-well/#comment-4255</guid>
					<description>&lt;a href="http://www.loudthinking.com/arc/000610.html" rel="nofollow"&gt;I heart the Rails community.&lt;/a&gt; Not only did Nic cure the database concurrency problems exposed in Rails by Twitter - he did it without being asked, he shared it with everyone (as a Rails plugin), and he did it in 75 lines of Ruby.

Word.</description>
		<content:encoded><![CDATA[<p><a href="http://www.loudthinking.com/arc/000610.html" rel="nofollow">I heart the Rails community.</a> Not only did Nic cure the database concurrency problems exposed in Rails by Twitter - he did it without being asked, he shared it with everyone (as a Rails plugin), and he did it in 75 lines of Ruby.</p>
<p>Word.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Luke</title>
		<link>http://www.terminally-incoherent.com/blog/2007/04/27/ruby-on-rails-doesnt-scale-well/#comment-4254</link>
		<pubDate>Fri, 27 Apr 2007 19:36:40 +0000</pubDate>
		<guid>http://www.terminally-incoherent.com/blog/2007/04/27/ruby-on-rails-doesnt-scale-well/#comment-4254</guid>
					<description>Database cluster sounds about right. Although if you have a single master node ruining the actual database server, you still get in trouble. What you would ideally want is to have several nodes listening for connections.

But then you run into concurrency hell...</description>
		<content:encoded><![CDATA[<p>Database cluster sounds about right. Although if you have a single master node ruining the actual database server, you still get in trouble. What you would ideally want is to have several nodes listening for connections.</p>
<p>But then you run into concurrency hell&#8230;
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: meanguy</title>
		<link>http://www.terminally-incoherent.com/blog/2007/04/27/ruby-on-rails-doesnt-scale-well/#comment-4253</link>
		<pubDate>Fri, 27 Apr 2007 18:29:09 +0000</pubDate>
		<guid>http://www.terminally-incoherent.com/blog/2007/04/27/ruby-on-rails-doesnt-scale-well/#comment-4253</guid>
					<description>i'm not a fan of rails -- but a database cluster is the correct solution here.  the way to have rails talk to multiple database is to have multiple rails apps.  with gems, the code sharing works cleanly.

not sure how you'd "split" things otherwise at the model level.  you can partition and play caching tricks, but that's just delaying the inevitable.

due to concurrency issues only the database knows what needs to be updated and when.  alex's quote referencing "read-only slave databases" and "caching" indicates that he hasn't really thought about the problem and is just another guy wrestling to make a half-complete system, complete.

Cal from Flickr wrote an O'Reilly book that outlines some of the problems, even if the solutions are a little "on the sly" by enterprise standards.  still, it's tough to argue with the results.  though note that he talks at length about the amount of extra code they write that checks and double checks integrity of cache.  and they've had some pretty bad caching bugs -- porn pics showing up, etc.

a lot of this style of systems design is "okay for dopey web site" but not so good for financial or information systems design.  whether or not this stuff works long term and ever scales up to "real" reliability remains to be seen.</description>
		<content:encoded><![CDATA[<p>i&#8217;m not a fan of rails &#8212; but a database cluster is the correct solution here.  the way to have rails talk to multiple database is to have multiple rails apps.  with gems, the code sharing works cleanly.</p>
<p>not sure how you&#8217;d &#8220;split&#8221; things otherwise at the model level.  you can partition and play caching tricks, but that&#8217;s just delaying the inevitable.</p>
<p>due to concurrency issues only the database knows what needs to be updated and when.  alex&#8217;s quote referencing &#8220;read-only slave databases&#8221; and &#8220;caching&#8221; indicates that he hasn&#8217;t really thought about the problem and is just another guy wrestling to make a half-complete system, complete.</p>
<p>Cal from Flickr wrote an O&#8217;Reilly book that outlines some of the problems, even if the solutions are a little &#8220;on the sly&#8221; by enterprise standards.  still, it&#8217;s tough to argue with the results.  though note that he talks at length about the amount of extra code they write that checks and double checks integrity of cache.  and they&#8217;ve had some pretty bad caching bugs &#8212; porn pics showing up, etc.</p>
<p>a lot of this style of systems design is &#8220;okay for dopey web site&#8221; but not so good for financial or information systems design.  whether or not this stuff works long term and ever scales up to &#8220;real&#8221; reliability remains to be seen.
</p>
]]></content:encoded>
				</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.665 seconds -->
