вс, 14 июл. 2019 г. в 00:30, Andrew Pillar <
m...@andrewpillar.com>:
>
> > How can i'm avoid such errors and not specify ports by hand?
> Perhaps you could use some kind of central store for storing the most
> recently used port? Simply take that port from the store, increment it,
> and place it back into the store for the next micro-service to use.
>
> I think etcd [1], may be a good use case for this.
I think about it, but then we pass to kernel port 0, it allocates free
port, but this is not mean that after millisecond this port not be
used by other service....