Nextcloud version: 13/15 beta (two instances)
Operating system and version: Debian 9.4/docker for nextcloud
Webservers: nginx as proxy + apache on backend
PHP version: 7.1.18
The installation is slow. It is a one user instance on a not very powerful hardware (AMD GX-412TC SOC CPU + 4GB RAM). Loading the files app takes 250 requests. Many trivial (eg. request for js file) requests taking 250ms (on local network, according to FF), some requests take 3 seconds waiting time. Logs from apache confirm it is not a network issue - apache has only slightly lower times (eg. 10ms less). I also looked into the mysql logs and found nothing interesting - queries finish in several ms.
I did an xdebug profiling on periodic get notifications call which takes here about 400ms and found that 3 methods that take most of the execution time (which is then of course much longer) are:
json_encode - for objects taken from cache
So here comes the question:
- Are the timings what you would consider normal for nextcloud on this hardware?
- Any chance to improve performance either by configuration or code change?