Page 1 of 2 12 Last
  • Jump to page:
    #1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2003
    Posts
    8
    Rep Power
    0

    How good is php's scalability?


    Hi. I am in the process of beginning a project and I was wondering how good php's scalability is. Can php handle over 100,000 users without a degradation in performance?



    -dynomike
  2. #2
  3. /(bb|[^b]{2})/

    Join Date
    Nov 2001
    Location
    Somewhere in the great unknown
    Posts
    5,163
    Rep Power
    796
    Well, it is good enough to handle Yahoo's traffic.
  4. #3
  5. Full Access
    Devshed Regular (2000 - 2499 posts)

    Join Date
    Jun 2000
    Location
    London, UK
    Posts
    2,019
    Rep Power
    21
    Can php handle over 100,000 users without a degradation in performance?
    At the same time? Yes. Though you need to think about hardware and load balancing at these kind of levels.

    Additionally, there are a bunch of other things that have to be able to handle 100,000 users at once (web server, database server, router, internet connection, disks etc.).
    Alex
    (http://www.alex-greg.com)
  6. #4
  7. Mobbing Gangster
    Devshed Demi-God (4500 - 4999 posts)

    Join Date
    Sep 2001
    Location
    "Best City" 2002 and 2003- Melbourne, Australia
    Posts
    4,912
    Rep Power
    36

    Re: How good is php's scalability?


    Originally posted by dynomike
    Can php handle over 100,000 users without a degradation in performance?
    Nothing in the world can handle 100,000 simultaneous requests without degradation in performance. That includes php. As well as oracle, and c and sun servers. So answering your direct question - no it can't. Can it cope with that load and still be fast? Yes - granted you have some brains on you head and very fine tuned servers with good programmers.
    And you know I mean that.
  8. #5
  9. Full Access
    Devshed Regular (2000 - 2499 posts)

    Join Date
    Jun 2000
    Location
    London, UK
    Posts
    2,019
    Rep Power
    21
    Nothing in the world can handle 100,000 simultaneous requests without degradation in performance.
    Google can.

    Can it cope with that load and still be fast? Yes - granted you have some brains on you head and very fine tuned servers with good programmers.
    They have both of these as well as load balancing, redundant data centres across the US, tens of thousands of cheap PC-based servers, etc..

    The important part of my response to note was that it's not PHP that has to be able to handle this amount of traffic - there are a lot of other limiting factors as well - web server, database server, router, internet connection, disks etc.
    Alex
    (http://www.alex-greg.com)
  10. #6
  11. Second highest poster :p
    Devshed Supreme Being (6500+ posts)

    Join Date
    Jul 2001
    Posts
    7,321
    Rep Power
    37
    Nothing in the world can handle 100,000 simultaneous requests without degradation in performance.
    Google can.
    They have a huge server farm to be able to manage the load. They also use a proprietary database system. Everything has a limit to the amount of users it can take. A single server will never be able to handle 100,000 requests at once.

    Also with each user there is some degradation in performance, you may not notice it but there will be some.
  12. #7
  13. Full Access
    Devshed Regular (2000 - 2499 posts)

    Join Date
    Jun 2000
    Location
    London, UK
    Posts
    2,019
    Rep Power
    21
    A single server will never be able to handle 100,000 requests at once.
    There was no mention of a single server. Only of PHP.
    Alex
    (http://www.alex-greg.com)
  14. #8
  15. Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2001
    Location
    Berlin, Germany
    Posts
    350
    Rep Power
    17
    Originally posted by a.koepke
    They have a huge server farm to be able to manage the load.
    Google uses home computers that are clustered and run FreeBSD. (Afaik)

    Originally posted by a.koepke
    They also use a proprietary database system.
    Google uses a large number of MySQL servers (replication) with a couple custom modifications.

    --
    Till Klampaeckel
    http://www.HTMLCenter.com
    http://forums.HTMLCenter.com
    http://www.OOCenter.com

    If my posts are helpful, please me.
  16. #9
  17. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2003
    Posts
    8
    Rep Power
    0

    Well the question is this...


    If you had to build a large scale web application to handle about 100,000 plus users hitting your site, which would you use, php or jsp? Thats what I really want to know. I know jsp is good because its powered with servlets so everything is compiled down to execs once you run it once, not to mention you have access to all the libraries...but I'm not a big Java guy so...that's why I'm asking. If jsp is the better choice, then I'll go with jsps if its better in the long run...




    -dynomike
  18. #10
  19. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2003
    Posts
    342
    Rep Power
    16
  20. #11
  21. Full Access
    Devshed Regular (2000 - 2499 posts)

    Join Date
    Jun 2000
    Location
    London, UK
    Posts
    2,019
    Rep Power
    21
    Google uses home computers that are clustered and run FreeBSD. (Afaik)
    Actually, they use Linux on all their servers (see http://uptime.netcraft.com/up/graph?site=www.google.com)

    Google uses a large number of MySQL servers (replication) with a couple custom modifications.
    No, they use their own file system (GFS) as far as I know, unless you have evidence to the contrary...
    Alex
    (http://www.alex-greg.com)
  22. #12
  23. Second highest poster :p
    Devshed Supreme Being (6500+ posts)

    Join Date
    Jul 2001
    Posts
    7,321
    Rep Power
    37
    MySQL is used for a few things on the side but the search index is in their own db with own filesystem, etc
  24. #13
  25. No Profile Picture
    =) wannabe?
    Devshed Regular (2000 - 2499 posts)

    Join Date
    Jul 2002
    Location
    florida
    Posts
    2,153
    Rep Power
    19
    so google stores all the sites in the dbs? what do they use to search the dbs?
  26. #14
  27. Full Access
    Devshed Regular (2000 - 2499 posts)

    Join Date
    Jun 2000
    Location
    London, UK
    Posts
    2,019
    Rep Power
    21
    what do they use to search the dbs?
    A lot of custom-developed software - see http://www.computer.org/micro/mi2003/m2022.pdf for lots more information.
    Alex
    (http://www.alex-greg.com)
  28. #15
  29. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2003
    Posts
    342
    Rep Power
    16
    what kind of languages does google use for search engines? PHP or whatever?
Page 1 of 2 12 Last
  • Jump to page:

IMN logo majestic logo threadwatch logo seochat tools logo