Home » Performance » LAMP » Ruby vs. PHP for Web 2.0 applications
Ruby vs. PHP for Web 2.0 applications [message #1248] Sun, 13 May 2007 14:31 Go to next message
zazensri  is currently offline zazensri
Messages: 1
Registered: May 2007
Junior Member
Hi Peter,

I understand that this is a LAMP forum, and Ruby on Rails (RoR) may be considered off-topic, but I think this question is on the minds of most of us who are evaluating RoR vs. PHP for high-traffic Web2.0 applications. I also consider you to be highly competent and objective.

Given that things like caching, SQL tuning etc. are more important to handle high-traffic than the actual page-generation, how slow do you think RoR would be compared to PHP? Also, you talked about the performace differences between different database drivers for MySQL/PHP. Could you comment upon MySQL/RoR choices?

Thanks in advance,
Zazen.
Re: Ruby vs. PHP for Web 2.0 applications [message #1588 is a reply to message #1248 ] Thu, 16 August 2007 05:46 Go to previous message
Peter  is currently offline Peter
Messages: 405
Registered: August 2006
Senior Member
Super Guru
First you're comparing Language with Framework which is not exactly fair.

Framework helps you to develop stuff faster but limits your flexibility which may be very important for scaling.

There are frameworks for PHP such as CakePHP or Symphony but you would find high traffic sites such Yahoo do not use them but rather use their own stuff which is typically more lightweight and more focused on performance.

I would think about nature of your application and the goals - for many applications getting stuff done fast and working limited amount of users (with limit may be rather high) is more important than having very scalable application which takes 3 times longer to implement.


Peter Zaitsev, MySQL Performance Expert
MySQL Performance Blog - http://www.mysqlperformanceblog.com
MySQL Consulting http://www.mysqlperformanceblog.com/mysql-consulting/
Previous Topic:Performance compare PostgreSQL vs MySQL
Next Topic:make ranking on search result
Goto Forum:
  


Current Time: Fri Jul 10 01:26:22 EDT 2009

Total time taken to generate the page: 0.02755 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 2.7.7.
Copyright ©2001-2007 FUD Forum Bulletin Board Software

MySQL is a trademark of Sun Microsystems.
InnoDB is a trademark of Oracle Corp.

Percona Performance Forums are a service of Percona, Inc.
Not affiliated with Sun Microsystems or Oracle Corp.