Reputation: 196
I have a function that includes a call to CURL. This function takes about 10 seconds to complete running, and is called to run by hitting the page that contains this function.
Now if I were to have another function that calls the function (by hitting/wget
the page) above once every second, will the subsequent calls run simultaneously with the previous calls that is still doing its 10 seconds of processing and curling?
Upvotes: 0
Views: 422
Reputation: 8971
If you are using Apache, this would be determined by the number of prefork processes you have ready. Your web server controls how many open HTTP connections are allowed.
Upvotes: 1