Comcast / sirius

A distributed system library for managing application reference data
http://comcast.github.io/sirius/
Apache License 2.0
298 stars 49 forks source link

Gate failed connections for 200ms #95

Closed clinedome-work closed 10 years ago

clinedome-work commented 10 years ago

If a connection fails, block connections to that same node for 200ms. Despite the gate-window/max-retries defaults, we were still seeing floods of reconnect messages whenever an association failed. This change brings the reconnect rate down to something far more manageable.

Additionally, this is in line with the changes akka makes between 2.2 and 2.3. The automatic retry logic will be removed in favor of the retry-gate-closed-for setting -- so this change looks forward.

tbarker9comcast commented 10 years ago

:+1: