March 2021
Intermediate to advanced
260 pages
5h 45m
English
Multiplexing allows you to serve different services on the same port. This makes your service easier to use: there’s less documentation, less configuration, and fewer connections to manage. And you can serve multiple services even when a firewall constrains you to one port. There’s a slight perf hit on each new connection because the multiplexer reads the first bytes to identify the connection, but for long-lived connections that performance hit is negligible. And you must be careful you don’t accidentally expose a service.
Many distributed services that use Raft multiplex Raft with other services, like an RPC service. Running gRPC with mutual TLS makes multiplexing tricky because we want to multiplex ...
Read now
Unlock full access