0

Wonder if you can help solve this little problem. I administer a system that has Wordpress in the parent domain and an api being served from a sub-domain. Normally, the api returns results to its client < 1 sec. However, when the api gets 'busy', the transactions appear to queue. We've proved this by the use of timers on the client and on the server. When the server gets a request it processes it < 1 sec and returns data to the client instantly thereafter. When busy it can take 10 sec for the transaction to reach the server process. Interestingly, this only affects the sub-domain, the primary domain is serving pages with no delays whatsoever. I'm assuming it is not an application problem as the requests are being returned to client quickly, when they arrive. I'm guessing that it's not an Apache issue as apache is covering at least four domains on the same server and it is only the sub-domain serving the API that is affected. So, my question is .. where is this delay/queuing occurring? I'm afraid my knowledge of servers & networks has now been exhausted.

Thanks in advance.

New contributor
Wilko_UK is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.

0

You must log in to answer this question.

Browse other questions tagged .