Performance of web sites is variable, but mostly determined by the logging request to Piwik, according to testing at http://tools.pingdom.com. For example, testing on http://black-sheep-research.com most requests for the home page take nearly 8 seconds. Most of that time is the request to Piwik, to piwik.php. But a significant number of requests take less than one second. The web site is making a number of requests to the same database server as Piwik - both are connected in the same way through a private network. There is no indication of problems with the database or the servers generally. There doesn't seem to be a general problem with the Piwik server - piwik.js is loaded quickly even when the response from piwik.php is many seconds. Oddly, if I make the Piwik PHP request from a browser, it seems to come back immediately. How can I pin down what is causing the slowness?
↧