вс, 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....

-- 
Vasiliy Tolstov,
e-mail: v.tols...@selfip.ru

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/CACaajQvW0tRoMEP1wfTOZPeC-3aNw25kd2Tgf0j5fq7Ys%2BAEqw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to