

Nextcloud is pretty slow in general, but what you’re describing sounds unusual.
For one thing, Nextcloud is written in PHP, so it sets up and tears down its environment for every single request. But PHP has drastically improved over the years, so it’s not that far behind something like Node.
Facebook was originally written in PHP for the Zend engine, and since it was so slow, they forked (or more accurately, reimplemented) it to make HHVM.
Nextcloud still runs on the Zend engine.







Reduce the number of single failure points. How you choose to do that is up to you and what you can afford.