Women in Technology

Hear us Roar



Article:
  The PHP Scalability Myth
Subject:   Performance NOT EQUALS to Scalable
Date:   2003-10-16 06:35:09
From:   anonymous2
Response to: Performance NOT EQUALS to Scalable

In other words, with a thousand users accessing a single server, PHP may work as well as Java.


For a million users, 10 servers using J2EE architecture can perform well.


What do you do with PHP?

Full Threads Newest First

Showing messages 1 through 12 of 12.

  • Performance NOT EQUALS to Scalable
    2003-10-16 06:42:25  anonymous2 [View]

    Head to http://www.sourceforge.net and see it in action.
    • Performance NOT EQUALS to Scalable
      2003-10-16 17:40:42  anonymous2 [View]

      I mean services with sessions.. like a web site with a shopping cart.. I'd like to see amazon.com run on PHP.
      • Jack Herrington photo Performance NOT EQUALS to Scalable
        2003-10-16 19:54:12  Jack Herrington | O'Reilly Author [View]

        Amazon cites Perl as a major source of it's success. HTML::Mason is a hiring skill at Amazon. They experiment in Perl and productize in C. Your saying that scripting languages can't handle shopping carts?
        • Performance NOT EQUALS to Scalable
          2003-10-16 21:18:22  anonymous2 [View]

          Amazon has a J2EE architecture. Scripting language is for the presentation layer, so you're question doesn't make sense.. J2EE has scripting language called JSP.
          Ok, a load balancer with several Apache web servers can provide scaling for http connections. And I'm sure you can do something with the rest of the layers too. That has nothing to do with PHP.
          J2EE specifies how scalability and fail-over can be provided at each layer.. PHP doesn't.. because PHP is not an architecture.
          The author is just mixing up performance with scalability.
          • Jack Herrington photo Performance NOT EQUALS to Scalable
            2003-10-16 23:17:56  Jack Herrington | O'Reilly Author [View]

            Can you point to a URL that says that Amazon is on J2EE? I'm sure parts of the service are, but from the hiring page:

            http://www.amazon.com/exec/obidos/tg/stores/static/-/jobs/department/Seattle-
            Headquarters/011/102-8866517-1623349#03-009324

            I would say that only fragments of the service are. Amazon has been around a lot longer than J2EE.

            Producer Note: I've broken the above URL into two lines because it was pushing the page out in some browsers.
            • Performance NOT EQUALS to Scalable
              2003-10-16 23:47:28  anonymous2 [View]

              Oooops my mistake, so sorry, it is Ebay, and one billion hits per day:
              http://www.sun.com/service/about/success/recent/ebay_5.html
            • Performance NOT EQUALS to Scalable
              2003-10-16 23:48:23  anonymous2 [View]

              Oooops my mistake, so sorry, it is Ebay, and one billion hits per day:
              http://www.sun.com/service/about/success/recent/ebay_5.html
          • Performance NOT EQUALS to Scalable
            2003-10-17 05:53:03  anonymous2 [View]

            maybe, but i think that amazon would be fairly easy to do with a technology like mason on fastcgi. The point is that it isn't so much about the technologies as the way in which they are applied. I'm sure that the J2EE frameworks do a lot of the work for you, but that isn't to say that you can't achieve the same results using other technologies. Thought the article was a bit stooopid ;-)
          • Performance NOT EQUALS to Scalable
            2003-10-17 09:15:00  anonymous2 [View]

            Amazon does not have a J2EE architecture. They use custom C++ stuff and Perl.

            The point of the article is that PHP can scale to handle large sites as well as Java can. The fact that an HTTP load-balancer is separate from PHP looks like a positive thing to many people. Fail-over is typically provided by the load-balancer as well, assuming you are using one of the many approaches for sharing session data with PHP.
            • Performance NOT EQUALS to Scalable
              2008-04-10 06:59:33  stefan.arentz [View]

              No doubt that parts of Amazon still run on Perl but I think they have mentioned several times on conferences that Perl was a dead end for them and that they switched to Java for all new development.

              Most, if not all, of their public web services are also written in Java.

              S.

      • Performance NOT EQUALS to Scalable
        2003-10-17 09:11:18  anonymous2 [View]

        Yahoo.com (the busiest site in the world, and yes they keeo track of user data) runs significant parts of the site on PHP.
  • Performance NOT EQUALS to Scalable
    2003-10-16 10:02:50  anonymous2 [View]

    Isn't it obvious? You use the same 10 servers, with a load balancer.