473,405 Members | 2,379 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

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
Jul 17 '05 #1
1 2797

"Hasan Ceylan" <ce*******@hotmail.com> wrote in message
news:e0**************************@posting.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)
Jul 17 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

25
by: Brian Patterson | last post by:
I have noticed in the book of words that hasattr works by calling getattr and raising an exception if no such attribute exists. If I need the value in any case, am I better off using getattr...
12
by: Fred | last post by:
Has anyone a link or any information comparing c and c++ as far as execution speed is concerned? Signal Processing algorithms would be welcome... Thanks Fred
12
by: serge | last post by:
I have an SP that is big, huge, 700-800 lines. I am not an expert but I need to figure out every possible way that I can improve the performance speed of this SP. In the next couple of weeks I...
6
by: teedilo | last post by:
We have an application with a SQL Server 2000 back end that is fairly database intensive -- lots of fairly frequent queries, inserts, updates -- the gamut. The application does not make use of...
5
by: Scott | last post by:
I have a customer that had developed an Access97 application to track their business information. The application grew significantly and they used the Upsizing Wizard to move the tables to SQL...
115
by: Mark Shelor | last post by:
I've encountered a troublesome inconsistency in the C-language Perl extension I've written for CPAN (Digest::SHA). The problem involves the use of a static array within a performance-critical...
13
by: bjarne | last post by:
Willy Denoyette wrote; > ... it > was not the intention of StrousTrup to the achieve the level of efficiency > of C when he invented C++, ... Ahmmm. It was my aim to match the performance...
13
by: Bern McCarty | last post by:
I have run an experiment to try to learn some things about floating point performance in managed C++. I am using Visual Studio 2003. I was hoping to get a feel for whether or not it would make...
7
by: Michael D. Ober | last post by:
When calling Enqueue, the internal array may need to be reallocated. My question is by how much? In the old MFC array classes, you could tell MFC how many additional elements to add to the array...
1
by: jvn | last post by:
I am experiencing a particular problem with performance counters. I have created a set of classes, that uses System.Diagnostics.PerformanceCounter to increment custom performance counters (using...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.