server: multiprocessing (TCP only)
See #2 This works for TCP sockets only and is essentially adapted from the standard multiprocessing example in the `grpc` package: pre-binding with `SO_REUSEPORT` and not starting the servers before forking. We're adding some logic to keep Unix Domain Socket mono-processed, because we can't support them in the same way (SO_REUSEPORT and associated kernel balancing is for IP sockets only). It looks like Unix Domain Socket support would be quite different, and probably would involve cooperation with upstream grpc code for server bind.
Loading
Please register or sign in to comment