server-ready icon indicating copy to clipboard operation
server-ready copied to clipboard

consider an exponential backoff instead of a static retry?

Open matthewmueller opened this issue 10 years ago • 1 comments

this seems like a pretty good one: https://github.com/segmentio/backo

matthewmueller avatar Aug 05 '15 02:08 matthewmueller

Thanks for the link :) Didn't know about this project and exponential backoff.

However for my usage, I'm not sure how it would benefit. I'm spawning servers (Node, Ruby, ...) and can't predict when port will be open to start making requests. So it's ok to try to connect after 250ms, 500ms, 750ms, ...

What would be your use case?

typicode avatar Aug 05 '15 03:08 typicode