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
Tom Coomer
1,331 PointsSocial Network Server
What are the minimum server requirements for hosting a social networking site. I plan to use Ruby on Rails. I was also wondering about what would be the best for expanding in the future.
2 Answers
Alan Johnson
7,625 PointsGreat question, Tom! It's hard to know for sure, but for a Rails server in general, I'd definitely recommend running on something around 1 GB of RAM - Rails apps have a tendency to get memory heavy, and I'd make sure you've got something with at least one pretty dedicated core (if you go the VPS route). As your site grows, obviously, you'll need either beefier hardware or more servers as you scale horizontally. You'll want to make sure you've got some good monitoring in place so that you know when it's time to upgrade.
Tom Coomer
1,331 PointsOk. Thanks for the help.
Tom Coomer
1,331 PointsTom Coomer
1,331 PointsWow. A lot to think about! And if I added more servers do they all need to run ruby?
Alan Johnson
7,625 PointsAlan Johnson
7,625 PointsMost likely, yes. At Treehouse we have a load balancer that proxies http traffic to any of several of our web servers, and they are all set up pretty much identically.