2021 12Dec 25, ReactorScram
Edit: See the POSSE entry too
A lower barrier-to-entry for running web servers
Tech-savvy admins run relays in the cloud. Everyone else runs web servers on their PCs. The web servers dock loosely to the relays.
You are already reading this on a spacedock relay.
The original file
spacedock.html lives on my home desktop. The relay at
https://six-five-six-four.com is only a frontend / cache for my desktop's
With other server models, picking a cloud server is like buying a home and moving in. It's a big commitment, you have to move all your data, and you don't really want to move it back out.
With the spacedock model, picking a relay is like pulling your RV into a truck stop. The truck stop is not your home, but you can let people visit your RV while you're parked. If the truck stop raises their prices or kicks you out, just drive down the road to the next one.
PageKite implemented this in Python, in 2010. PageKite claims to work with any TCP-based protocol, not just HTTP.
PTTH implemented this in Rust, in 2020. Currently the server only serves static files. The PTTH_QUIC proof-of-concept works with any TCP-based protocol.
A VPN like WireGuard and any web server like Nginx or Caddy could form a space dock. It requires root access on the origin server, but it would probably have better latency than the HTTP long-polling that PTTH uses.