Starting with: https://github.com/yyyar/gobetween/tree/master/src/balance Then going to: https://gist.github.com/rushilgupta/228dfdf379121cb9426d5e90d34c5b96 for balancing with goroutines and channels, taking into account work being done