Meaningless Drivel is fun!
The moose likes Ruby and the fly likes Scaling RESTful Rails Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Languages » Ruby
Bookmark "Scaling RESTful Rails" Watch "Scaling RESTful Rails" New topic

Scaling RESTful Rails

Nikos Pougounias
Ranch Hand

Joined: Jan 16, 2008
Posts: 110
Are the techniques presented in chapter 8 "Dealing with Success" specific to RESTful Rails?

I would assume that REST may only add value to scaling due to the stateless approach; something like stateless session EJBs.
On the other hand scaling techniques specific to REST may be still premature.

Nikos' Java blog
Ben Scofield

Joined: May 20, 2008
Posts: 29
In general, the tactics I discuss aren't specific to REST or to Rails. Scaling a Rails application - RESTful or otherwise - is much like scaling any other application: minimize the cost of each request, etc.

A truly RESTful system would make this a bit easier, but it wouldn't eliminate the problem entirely - statelessness, for example, wouldn't help much if your application churns away for five seconds on every request.
I agree. Here's the link:
subject: Scaling RESTful Rails
jQuery in Action, 3rd edition