Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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!