熔断器C#实现

时间:2024-01-14 22:41:08

关键词1:保险丝、电闸跳闸、输入密码错误3次则在指定的时间之内禁止登录

关键词2:保护性架构、防御性代码、软件可靠性

实现:https://github.com/fecktty/Circuit_Breaker

参考:

http://thatextramile.be/blog/2008/05/the-circuit-breaker

https://en.wikipedia.org/wiki/Circuit_breaker_design_pattern

http://www.lybecker.com/blog/2013/08/07/automatic-retry-and-circuit-breaker-made-easy/

http://martinfowler.com/bliki/CircuitBreaker.html