----------------------------------------> Date: Mon, 17 Sep 2007 16:43:50 -0700> From: [EMAIL PROTECTED]> To: [email protected]> Subject: scalability and java>> In talking to a google engineer a while back, he mentioned offhand> that, although he had done his particular google project in python,> they were strongly considering moving it to java due to scalability> issues. This isn't the first time I have heard the implication that> for truly massive applications, java is really the standard.>> I have been reading a bunch lately, everything from shards and> hibernate to youtube scalability (they have a python app under the> hood), and I can't seem to find a simple explanation of what makes> java better at scaling. I think alot of java based sites tend to be> too verbose and acronym happy, and I am pretty certain there is a> simple way to explain it. There are plenty of articles (mostly by the> RoR folks) on why java isn't better at scaling, but none that I have> found so far deal with systems on the google scale.>> I build applications in Django, and, combined with caching and load> balancing I can see it handling quite a bit. My question is, does> anyone know of (or can write) a good article or explanation of why so> many people are so adamant about java's ability to scale?>> Thanks!> -Nikolaj>> --> [email protected]> http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-lpsg
Over python, or in general? Over python, I have no clue. I haven't studied python scalability. In general- its scalability isn't very good. I work at Amazon, and there's a good mix here of C++ and Java back end services. All the ones that have to truely scale are written in C++. The problem with Java is that its scalable until it isn't. A C++ program tends to have a peak, then a decent. Java is more like a wall. It works, then suddenly the process garbage collects for 5 minutes. Or starts to thrash like mad due to the 5 billion threads Java spawns. I've seen more than 1 Java service just hit a wall and completely crash (which then caused the LB to send it to the next instance, which completely crashed, cascading into system failure). If you want real scalability, its C++ or C. Gabe _________________________________________________________________ Gear up for Halo® 3 with free downloads and an exclusive offer. It’s our way of saying thanks for using Windows Live™. http://gethalo3gear.com?ocid=SeptemberWLHalo3_WLHMTxt_2 -- [email protected] http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-lpsg
