Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

General Discussion

Lisa Rossiter
Lisa Rossiter
3,630 Points

Rails scalabilty

I have come under criticism for running rails for our new app idea. Would rails be able to run something like treebook with more features without any problems and lets say 20,000 regular users?

I know heroku has been covered in the rails library section but really heroku is not a viable business solution, it would be better to know how treehouse hosts and deploys because I think it has quite a few users now right?

2 Answers

Stone Preston
Stone Preston
42,016 Points

see this excerpt from the rails tutorial by Michael Hartl on rails scalability.

"Before moving on with the rest of the introduction, I’d like to take a moment to address the one issue that dogged the Rails framework the most in its early days: the supposed inability of Rails to “scale”—i.e., to handle large amounts of traffic. Part of this issue relied on a misconception; you scale a site, not a framework, and Rails, as awesome as it is, is only a framework. So the real question should have been, “Can a site built with Rails scale?” In any case, the question has now been definitively answered in the affirmative: some of the most heavily trafficked sites in the world use Rails. Actually doing the scaling is beyond the scope of just Rails, but rest assured that if your application ever needs to handle the load of Hulu or the Yellow Pages, Rails won’t stop you from taking over the world."

Just curious, why isnt heroku a viable business solution?

Lisa Rossiter
Lisa Rossiter
3,630 Points

Is that whole book available online?

Heroku is just way to expensive it seems. I may be wrong(Due to not understanding dynos) but when you play with their pricing scale it becomes very expensive for what seems to be very little processing power.

Stone Preston
Stone Preston
42,016 Points

yes the whole book is available for free online. You can purchase an ebook for offline viewing along with screen cast video tutorials as well if youd like, but you can read it in your browser for free. Its a really great tutorial

Lisa Rossiter
Lisa Rossiter
3,630 Points

Thanks Stone Preston, I hope that is your real name because it's dope!