• 0

PHP PSR-0 or Ruby on Rails for new project?


Question

So I'm working on a couple of projects right now, one happens to be a Social type site for local music artists.

I've been toying around with Laravel 3 and in the past played with Ruby on Rails back when it was version 2.

I like what Laravel brings to the PHP world with it's class autoloader and it's ORM but my question is how will it hold up to the task of having to deal with thousands upon thousands of hits per day? and same with RoR?

Keep in mind I'm more comfortable in PHP than I am Ruby...

5 answers to this question

Recommended Posts

  • 0

At work we have web applications written in Ruby on Rails 3 using redis for caching which easily serve 5,000,000+ hits/day (page, not unique) hosted on a single 2.8GHz Quad Xeon, 16GB RAM server. The only site we have written using the Laravel framework gets 750,000+ hits/day and handles it fine.

Both will scale as long as you write your code with scalability in mind (e.g. potential to cache expensive queries, ability to split the application across load-balanced servers, etc). Pick the one you're most comfortable with, I much prefer Ruby to PHP so usually I go with Ruby on Rails. Remember though, don't worry too much about premature optimization because most sites never take off, you can always spend time optimizing the code base once the site starts getting a lot of traffic (if ever).

  • 0

If your comfortable with PHP go with Laravel, i've been playing with it and have fallen in love... there is no reason why Laravel can't handle your requirements, i'm rebuilding my high traffic site in Laravel.

Skip Laravel 3 though: http://four.laravel.com/docs/installation

Laracon is this weekend and they are announcing the official release of L4.. i'd imagine it's going to come this weekend, or in a couple of days, so just run the beta, it will be easier to upgrade from 3->4.

If you have a spare few quid jump on tutsplus.com and start their laravel and 'whats new in laravel 4' courses.. they're both pretty good.

  • 0

^ Already done that, that's what originally turned me to Laravel :p

@ZakO: I have no plans for immediate optimizations and I understand that the site may not take off. (the 100's upon 100's of hits per day is wishful thinking lol).

I'm probably going to go with L3 for the time being and than once L4 has been out for awhile I'll switch to it. I'm also writing a hosting control panel (I need one specific for my needs and for my clients needs) thats based on Laravel.

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Forza Horizon 6 gets another hotfix for one of the game's online modes by Taras Buria Recently, Forza Horizon 6 players discovered an interesting glitch that allowed farming a crazy amount of in-game credits in a few minutes. Playground Games quickly pulled the plug on the exploit by disabling one of the game's online modes, and today, the studio is rolling out another hotfix. In my review, I complained about the game still showering gamers with cars, credits, and wheelspins. As such, earning money in Forza Horizon 6 is not a particularly difficult task. You simply have to play the game, crazy, I know. However, people still found an easier path to becoming a billionaire in Forza Horizon 6. All you had to do was purchase the Hummer EV, install a specific tune, shift in reverse while going at about 15 MPH, hit a wall, and get launched into the stratosphere at the speed of light. While mid-air, launch Eliminator and quickly get eliminated. Boom, the game just awarded you with a few million in-game credits. Initially, Playground Games disabled Eliminator to prevent people from farming credits. Now, following the release of the first balancing update, developers are rolling out a new update that re-enables Eliminator and gives users a free McLaren Sabre as a gesture of goodwill. Here is the changelog: One critical issue remains unpatched, though. There are quite a few reports of the game wiping gamers' saves, and developers are still looking into that. To avoid potential data loss, Playground Games recommends taking one of the steps outlined in a previously published support article.
    • Dead by Daylight, Two Point Museum, and more join Xbox Free Play Days for the weekend by Pulasthi Ariyasinghe There is a brand-new Free Play Days offer available to Xbox players, giving them a chance to try out a new selection of games over the weekend. Microsoft's latest promotion brings some high-profile titles, including the sports title PGA TOUR 2K25 and the racing sim Assetto Corsa. Almost all the games being offered this time require an Xbox Game Pass subscription, with only one title being available for all players. Starting with the fully free-to-play section, Dead by Daylight is populating it solo. This asymmetric survival horror title should be the most familiar to most gamers, considering its age. The multiplayer four-versus-one asymmetric survival horror game has you assuming the roles of survivors or the killer to see who can come out on top. This Dead by Daylight offer will be available to play until Monday, June 22, giving you an extra day of play compared to the remainder of the Free Play Days titles. Meanwhile, Xbox Game Pass Ultimate, Premium, and Essential members can now try out the well-received tycoon game Two Point Museum, the circuit racing sim Assetto Corsa, as well as 2K's golf sim experience that gives players a career to develop alongside real-world pros and courses. Here are the announced games and the platforms they are available to play on: PGA TOUR 2K25 (Xbox Series X|S) Two Point Museum (Xbox Series X|S) Assetto Corsa (Xbox Series X|S, Xbox One) Dead by Daylight (Xbox Series X|S, Xbox One) To easily find the titles on Xbox consoles, first head to the Store, and then in the sidebar, find the Home section. In there, open the Subscriptions tab. All the games from the Free Play Days collection will show up in this section for quick access. Apart from Dead by Daylight's offer, this week's Free Play Days promotions will end on Sunday, June 21, at 11:59 pm PT.
  • Recent Achievements

    • Week One Done
      Huge Trailer earned a badge
      Week One Done
    • Week One Done
      Classifyskilleducation earned a badge
      Week One Done
    • One Month Later
      eurospharma62 earned a badge
      One Month Later
    • Week One Done
      With What earned a badge
      Week One Done
    • Week One Done
      Harris Gilbert earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      589
    2. 2
      +Edouard
      171
    3. 3
      PsYcHoKiLLa
      74
    4. 4
      Michael Scrip
      67
    5. 5
      neufuse
      64
  • Tell a friend

    Love Neowin? Tell a friend!