norun/NETWORKING.md

524 B

Networking

We've got multiple hosts potentially in play, and multiple containers that wants to expose themselves on the primary host, but only 1 process can take a tcp port on the same host at a time.

  1. The primary instance, will bind to common tcp ports as required (80, 443) can be changed.
    1. TODO: TLS termination
  2. Will send traffic to peers hosting their versions of a url.
  3. On the peers, each container will bind to a port (TBD), maybe we will do some long running connections instead. SOCK protocol