b-log – betriebsraum weblog

Software Development, Human-Computer Interaction, Projects…

Swifty Circuit Breaking

February 9, 2016

Circuit Breakers are most useful for networking where remote calls can fail or time out at any moment. When configured thresholds are reached, the circuit breaker “trips” and thus prevents putting unnecessary load on the server until the breaker resets itself after a timeout. In addition, my Swift implementation provides convenience features such as monitoring call timeouts and supporting retry logic with exponential backoff.

View the project on Github

Filed under: iOS / Objective-C / Swift

Add a comment

Follow comments to this post by subscribing to the comment feed.