Win a copy of Succeeding with AI this week in the Artificial Intelligence and Machine Learning forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
  • Junilu Lacar
Sheriffs:
  • Tim Cooke
  • Jeanne Boyarsky
  • Knute Snortum
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:
  • salvin francis
  • fred rosenberger
  • Frits Walraven

Scaling RESTful Rails

 
Ranch Hand
Posts: 110
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
author
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Being a smart alec beats the alternative. This tiny ad knows what I'm talking about:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic