python simply not scaleable enough for google?

Aaron Watters aaron.watters at gmail.com
Fri Nov 20 21:05:45 EST 2009


> Because `language is slow' is meaningless.

Yes.  Everyone knows java is faster than Python right?
But look here:

http://gaejava.appspot.com/

(you might want to run it a couple times to see what
it does when it is 'warm').  I don't think this is
a biased test -- I think the author expected to see
Java faster.

In my runs Python is usually a bit faster on a majority
of these metrics consistently.  Why?  My guess is the
reason is that Python is less bloated than Java so
more of it can stay resident on a shared machine
whereas big hunks of Java have to be swapped in for
every access -- but it's just a guess.

By the way: I see this all the time -- for web use
Python always seems to be faster than Java in my
experience.  (With programs that I write: I tend
to avoid some of the larger Python web tools available
out there and code close to the protocol.)

Comparing language platforms using small
numeric benchmarks often completely misses the
point.

   -- Aaron Watters
      http://whiffdoc.appspot.com
      http://listtree.appspot.com

===
an apple every 8 hours will keep 3 doctors
away.  - kliban



More information about the Python-list mailing list