Performance issue
Posted: Tue Jan 23, 2018 3:49 pm
Hello,
We are currently using a "wwebserver php 543" version. We have written a Windows service in cpp and this service among other things launches this web server via a "CreateProcess (wwebserver_cmd.exe, ...)" command. We noticed the following performance differences:
Do you see any reason for this slowdown ?
For your information, the web pages have been written in PHP and are accessed thru the localhost port 8181. The slowdown was seen on 32-bit and 64-bit Windows 7 computers and on Windows 10 64-bit computers.
Thank in advance for your help
Best regards
Stephane
We are currently using a "wwebserver php 543" version. We have written a Windows service in cpp and this service among other things launches this web server via a "CreateProcess (wwebserver_cmd.exe, ...)" command. We noticed the following performance differences:
- If the service is created with the function "CreateService" and the attribute lpServiceStartName = "NT AUTHORITY\NetworkService" there seems to be no problem of performance
- If the service is created with the function "CreateService" and the attribute lpServiceStartName = NULL (this attribute actually takes the value "NT AUTHORITY\System") there is a strong slowdown for accesses to the WEB pages.
Do you see any reason for this slowdown ?
For your information, the web pages have been written in PHP and are accessed thru the localhost port 8181. The slowdown was seen on 32-bit and 64-bit Windows 7 computers and on Windows 10 64-bit computers.
Thank in advance for your help
Best regards
Stephane