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

Konrad Pilch
Konrad Pilch
2,435 Points

framework for creating a site that gets 20k hits a day; Wordpress or Rails

l am creating a site that gets like 20k hits day. Just need some opinion on either using Wordpress or Rails and reasons. l know Rails is quick and scales well.

1 Answer

Kevin Korte
Kevin Korte
28,149 Points

Two things matter more, and it's not Wordpress(php) or Rails(ruby).

Server resources available to handle request, and code cleanliness.

You can equally jack up both, horribly. There are a plethora of Wordpress sites that get way more than 20K hits a day. Most tech blogs are wordpress pulling in those kinda views all day every day.

There are a plethora of Rails sites that also pull in more than 20K visits a day.

Where you can get yourself in trouble in Wordpress is inefficient code out of inexperience. Or using inefficient plugins (Wordpress's version of gems) You can get yourself in Rails by writing inefficient code out of inexperience. Or using inefficient gems (Rail's version of plugins)

Notice how they're the same pitfall?

The big question comes down to the back end. Wordpress gives you a backend. Will it work? Are you doing something that requires a custom back end interface? Compared to Rails, where you're left to build it all.

Compare hosting costs for each, which language you are more comfortable in, and does Wordpress's highly opinionated CMS work for your needs, or do you need something less opinionated like Rails, or Laravel, or .....