Comment on Nextcloud (PHP) vs OpenCloud (Rust)

SomethingBurger@jlai.lu ⁨1⁩ ⁨week⁩ ago

Nextcloud’s biggest issue is performance, and PHP. while not a problem per se, doesn’t help. PHP is not designed for huge applications that need to have processes running in the background; it only runs when a request is made then stops the process, therefore it needs to load itself from scratch on every single page load.

This is because PHP used something called CGI; the webserver (usually nginx or Apache) calls an external PHP binary to generate a page. With Go (or pretty much any other language), the app is its own server and can keep data in memory and do stuff even when no request is coming.

source
Sort:hotnewtop