saroh

joined 1 year ago
[–] [email protected] 2 points 1 month ago* (last edited 1 month ago)

A circuit breaker could prematurely cut off all requests to a service, even if only one shard was failing.

They only circuit break retries ?

If a single node is down, then it should not receive traffic via k8s or whatever you use to route based on liveness probe.

Why does your software need to retry anyways? I prefer not implementing live retries, stuff breaks sometimes. Tasks will retry themselves.

You can circuit break the connection to other services so that you stop contacting them if they are down. Giving them some breathing room.

The Wikipedia implem looks simple and good enough to me: https://en.m.wikipedia.org/wiki/Circuit_breaker_design_pattern

[–] [email protected] 4 points 1 month ago* (last edited 1 month ago)

The fact they're mixing metric and imperial in the same formula puts me in a state of confused rage.

[–] [email protected] 3 points 8 months ago

Also ebike speed is lower and closer to actual bike speeds in the EU which may play a role in head injuries.

[–] [email protected] 64 points 8 months ago* (last edited 8 months ago) (1 children)

Posted in 1995, for those wondering if educating stakeholders works...

[–] [email protected] 16 points 9 months ago (1 children)

And maybe the fact that you have to continue until the gun actually fires :|

[–] [email protected] 16 points 9 months ago

This, but don't forget to plug the router to a UPS!