I wrote sshlatex to speed up compilation. It does what you think it does, it runs LaTeX on a remote server and streams the resulting PDF document. The LaTeX header gets precompiled, shaving a couple of hundreds of milliseconds. It's therefore also useful when used only locally.
https://github.com/iblech/sshlatex