Help - Search - Member List - Calendar
Full Version: What is the fastest? Ruby on Rails, Zope or PHP?
WorkTheWeb Forums > Webmaster Resources > Webmaster - General Help
Support our Sponsors!
Justin Sane
Just out of curiosity, do you know what programming language/framework is
the fastest in terms of execution under heavy load?

I have listed:

- Ruby on Rails
- Zope (powered by Python)
- PHP (with phpAccelerator)

Any benchmark/experience?

--
Thanks,

Justin.
Want to buy me a book? http://tinyurl.com/78xzb :)

Ignoramus13314
On Thu, 14 Jul 2005 13:15:41 -0300, Justin Sane <[Email Removed]> wrote:
QUOTE
Just out of curiosity, do you know what programming language/framework is
the fastest in terms of execution under heavy load?

I have listed:

- Ruby on Rails
- Zope (powered by Python)
- PHP (with phpAccelerator)

Is there a particular application that you have in mind? It may have
some peculiarities.

I am using mod_perl and I am satisfied with its performance. The few
benchmarks that I just saw in google sugest that mod_perl is a small
bit faster than php.


i

Justin Sane
On Thu, 14 Jul 2005 13:29:04 -0300, Ignoramus13314
<[Email Removed]> wrote:

QUOTE
Is there a particular application that you have in mind? It may have
some peculiarities.

Yes, a directory, some sort of Yellow Pages.

--
Thanks,

Justin.
Want to buy me a book? http://tinyurl.com/78xzb :)

Ignoramus13314
On Thu, 14 Jul 2005 14:09:01 -0300, Justin Sane <[Email Removed]> wrote:
QUOTE
On Thu, 14 Jul 2005 13:29:04 -0300, Ignoramus13314
<[Email Removed]> wrote:

Is there a particular application that you have in mind? It may have
some peculiarities.

Yes, a directory, some sort of Yellow Pages.


would it involve SQL queries and geographic algorithms? If so, that
may be your bottleneck and not language performance.

i

Justin Sane
On Thu, 14 Jul 2005 14:27:05 -0300, Ignoramus13314
<[Email Removed]> wrote:

QUOTE
would it involve SQL queries and geographic algorithms? If so, that
may be your bottleneck and not language performance.

Yes, we would use PostgreSQL (we've switched from MySQL to PostgreSQL).
But I'd like to know which framework is the fastest.

--
Thanks,

Justin.
Want to buy me a book? http://tinyurl.com/78xzb :)

Ignoramus13314
On Thu, 14 Jul 2005 14:40:09 -0300, Justin Sane <[Email Removed]> wrote:
QUOTE
On Thu, 14 Jul 2005 14:27:05 -0300, Ignoramus13314
<[Email Removed]> wrote:

would it involve SQL queries and geographic algorithms? If so, that
may be your bottleneck and not language performance.

Yes, we would use PostgreSQL (we've switched from MySQL to PostgreSQL).

I am very curious why. I am presently using MySQL on Algebra.Com, but
I am open minded.

QUOTE
But I'd like to know which framework is the fastest.

As far as I know about mod_php, and that's very little, it cannot reuse
database handles, and mod_perl can.

That said, many heavy duty apps such as wikipedia, use php
successfully.

I think that language specific performance differences, if any, are of
little relevance.

I have nothing to say about other alternatives that you mentioned.

i

Admin
On Thu, 14 Jul 2005 14:46:56 -0300, Ignoramus13314
<[Email Removed]> wrote:

QUOTE
Yes, we would use PostgreSQL (we've switched from MySQL to PostgreSQL).

I am very curious why. I am presently using MySQL on Algebra.Com, but
I am open minded.

It is more robust, has more features (views, triggers, etc...) and you can
seperate table by HDD when they're real big or under heavy load, etc...

MySQL is perfect for regular projects, even for fairly high-traffic web
sites though.

--
Thanks,

Justin.
Want to buy me a book? http://tinyurl.com/78xzb :)

William Tasso
Writing in news:alt.www.webmaster
From the safety of the cafeteria
Ignoramus13314 <[Email Removed]> said:

QUOTE
On Thu, 14 Jul 2005 14:40:09 -0300, Justin Sane <[Email Removed]> wrote:

...
Yes, we would use PostgreSQL (we've switched from MySQL to PostgreSQL).

I am very curious why. I am presently using MySQL on Algebra.Com, but
I am open minded.

Wishing to be helpful but at the same time having no intention of becoming
involved in the religious fervour surrounding "the my db is
bigger/fatter/wetter that your db", I offer this:
http://www.google.com/search?q=mysql+vs+postgresql

--
William Tasso

** Business as usual

Ignoramus13314
On Thu, 14 Jul 2005 15:49:50 -0300, Admin <[Email Removed]> wrote:
QUOTE
On Thu, 14 Jul 2005 14:46:56 -0300, Ignoramus13314
<[Email Removed]> wrote:

Yes, we would use PostgreSQL (we've switched from MySQL to PostgreSQL).

I am very curious why. I am presently using MySQL on Algebra.Com, but
I am open minded.

It is more robust, has more features (views, triggers, etc...) and you can
seperate table by HDD when they're real big or under heavy load, etc...

MySQL is perfect for regular projects, even for fairly high-traffic web
sites though.



Thanks. That's a great list of differences.

i

Jerry Stuckle
Justin Sane wrote:
QUOTE
Just out of curiosity, do you know what programming language/framework
is  the fastest in terms of execution under heavy load?

I have listed:

- Ruby on Rails
- Zope (powered by Python)
- PHP (with phpAccelerator)

Any benchmark/experience?


Assembler.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
[Email Removed]
==================

William Tasso
Writing in news:alt.www.webmaster
From the safety of the cafeteria
Jerry Stuckle <[Email Removed]> said:

QUOTE
Justin Sane wrote:
what programming language/framework is the fastest

Assembler.

neural array processor (nap)

--
William Tasso

** Business as usual


PHP Help | Linux Help | Web Hosting | Reseller Hosting | SSL Hosting
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2006 Invision Power Services, Inc.