Professional Web Applications Themes

PHP IIS Performance - PHP Development

Hi All, I have IIS 5.0 Windows 2K SPs and patches sitting on a dual P3 1000 Mhz. box with RAID. When I do a stress test with MS IIS web stress tool, system cannot handle more than 50 request / sec. On the other hand asp has no problem with 5 - 10 times more. To test it further more I tried to determine where the most of cycle spent I came to a conclusion that it is actually not the parsing and running of the script but loading the php module. I tried the same test with an ...

  1. #1

    Default PHP IIS Performance

    Hi All,

    I have IIS 5.0 Windows 2K SPs and patches sitting on a dual P3 1000
    Mhz. box with RAID.

    When I do a stress test with MS IIS web stress tool, system cannot
    handle more than 50 request / sec. On the other hand asp has no
    problem with 5 - 10 times more.

    To test it further more I tried to determine where the most of cycle
    spent I came to a conclusion that it is actually not the parsing and
    running of the script but loading the php module. I tried the same
    test with an empty php file results are almost the same which suggests
    I think, only thing done is php module is loaded.

    I suppose the libraries are being loaded and disposed so much, so it
    has something to do something with caching.

    Being a big fan of open source community I was dissappointed with
    that.

    So am I right that
    - This is related to initialization of php for each request?
    - Is there a way to cache php?

    Thanks in advance,
    Hasan Ceylan
    Hasan Ceylan Guest

  2. #2

    Default Re: PHP IIS Performance


    "Hasan Ceylan" <ceylanh74hotmail.com> wrote in message
    news:e0036b7a.0309292248.35b0c9efposting.google.c om...
    > Hi All,
    >
    > I have IIS 5.0 Windows 2K SPs and patches sitting on a dual P3 1000
    > Mhz. box with RAID.
    >
    > When I do a stress test with MS IIS web stress tool, system cannot
    > handle more than 50 request / sec. On the other hand asp has no
    > problem with 5 - 10 times more.
    >
    > To test it further more I tried to determine where the most of cycle
    > spent I came to a conclusion that it is actually not the parsing and
    > running of the script but loading the php module. I tried the same
    > test with an empty php file results are almost the same which suggests
    > I think, only thing done is php module is loaded.
    >
    > I suppose the libraries are being loaded and disposed so much, so it
    > has something to do something with caching.
    >
    > Being a big fan of open source community I was dissappointed with
    > that.
    >
    > So am I right that
    > - This is related to initialization of php for each request?
    > - Is there a way to cache php?
    Hmmm... so a Microsoft application (IIS) running on a Microsoft based OS
    (Windows) runs a Microsoft scripting language (ASP) faster than PHP and
    you're surprised.

    I've never compared performance but I'm sure Microsoft has got stacks of
    kludges in their operating system to help ASP along. However, if you were to
    compare Linux, Apache and PHP against that configuration I think you'll find
    you'll have a different result. ;)

    And what about running Apache on Windows, instead of IIS. The .htaccess
    method is a killer feature in my opinion that has forced several people away
    from Windows for web hosting and development.

    Paul
    Microsoft Certified Systems Engineer (honestly)


    Paulus Magnus Guest

Similar Threads

  1. FMS X FCS (Performance)
    By tiago.braga in forum Macromedia Flash Flashcom
    Replies: 3
    Last Post: November 23rd, 09:35 PM
  2. Performance
    By Stephan in forum Coldfusion Database Access
    Replies: 16
    Last Post: July 28th, 05:37 PM
  3. web performance
    By Dicky Cheng in forum ASP.NET Web Services
    Replies: 1
    Last Post: November 9th, 09:31 PM
  4. DB2 performance
    By ChristineLim in forum IBM DB2
    Replies: 1
    Last Post: July 31st, 02:36 PM
  5. Performance...
    By Howard Schlossberg in forum FileMaker
    Replies: 0
    Last Post: July 25th, 04:54 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139