I would like to know, if a large number of concurrent http requests are on one php script in one server, will the request become slow DUE TO the single php script?
If I make the same script more than one copies
e.g.
script1.php, script2.php, script3.php
All these 3 scripts have the same content. Then, will the php page access speed be higher if the client requests randomly choose any one of page to request?
This is just my idea to reduce the load and request-to-response time. I would like to know if my idea makes sense.
If anything, having many requests for the same file should increase the speed of each requests due to caching, even if it’s only at the hardware level. Definitely don’t make copies of the file.