top | item 37462955

Show HN: Slotmachine, to book and free server ports at scale

2 points| cyansmoker | 2 years ago |github.com

This is a very specialized Go library and, frankly, somewhat of a straw man: I've found myself needing to quickly assign ports on servers with a high density of highly ephemeral inbound/outbound connections where the protocol relies on a specific port number. Obviously, running sequentially through a list of ports until I find one I have not already allocated does not perform very well.

I was surprised when I did not find anything already addressing this need. So, this is the straw man part: surely I missed it!

Anyway, should you ever need something like that... here it is.

discuss

order

No comments yet.