On 8/10/07, Richard Heyes <richardh@xxxxxxxxxxx> wrote: > > That is it works with just me using the site. I am wondering how this would > > effect performance if say 500 people were executing this php function around > > the same time and the processing overlapped. Is there anyway to make an > > executable run as a service, I am guessing at the terminology that I should > > use here, but I feel there would be a much more efficient way of performing > > this task. > > Well, ideally you don't run an executable. But if you must, there's some > Windows program that turns an executable into a service. But then > there's the consideration of communicating with it, which you could do > with sockets. Or you could use a file. > > -- > Richard Heyes > +44 (0)844 801 1072 > http://www.websupportsolutions.co.uk > > Knowledge Base and HelpDesk software > that can cut the cost of online support > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > Nathan, It should also be noted that, if your question was also whether or not two perfectly-simultaneous executions by two separate clients is an issue, the answer is no. Even if you had all 500 clients hitting the exec() point at the exact same moment, PID tracking wouldn't be an issue for even a semi-modern machine. Resource usage probably would be, and there would be the issue of PID limitation if you're hitting the magic number (65535), but for the system to accurately track which data goes to which client and who owns what process. I'm not sure if that's even part of the point you were questioning, but I read it as such. -- Daniel P. Brown [office] (570-) 587-7080 Ext. 272 [mobile] (570-) 766-8107 Hey, PHP-General list.... 50% off for life on web hosting plans $10/mo. or more at http://www.pilotpig.net/. Use the coupon code phpgeneralaug07 Register domains for about $0.01 more than what it costs me at http://domains.pilotpig.net/. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php