I'm writing a PHP script that will handle requests from outside sources. Does it matter that thousands of requests will be handled by one PHP script? Is this efficient?
3 Answers
What you need to know is, an instance of the script is created on each request.
It doesn't matter if you have a single script called 1000 times at once or 1000 scripts called at the same time.
Your bottle neck might be elsewhere like database or file io. So don't worry, you can do as you wish.