Following up on this question, it would seem that a server that allocates ports within a namespace would be an obvious and useful capability. One use case for such a service/server would be a collection of co-referential microservers that use each other for tasks. I'd see the usage as:
- Every microserver that wants to make a port available contacts the port server to register itself by the service name that it provides.
- Every microserver that wants to use another service asks the port server for the port that corresponds to the service name it wants.
I haven't been able to find anything that does this. Does such a service exist?
portmap
to me.