The most core inards of Emacs are subject to bitrot. It doesn't play well with any Windowing system.
And as an editor it is quite slow/sluggish.
And as an editor it is quite slow/sluggish.
Also when using ssh to a web server over my slow connection I can run emacs but it's obviously redrawing the screen when I change the buffer, vi is much more responsive.
Also (may be different from your use case), using tramp-mode has mostly eliminated the need to run the emacs inside the server, I run it locally and fetches files using ssh.