3 ms·
Writing good Lameducking is the single best trick for preserving SLO with Kubernetes. It's not that hard, but it is tricky, and testing it is the hardest part.
by GauntletWizard 4y ago
Writing good Lameducking is the single best trick for preserving SLO with Kubernetes. It's not that hard, but it is tricky, and testing it is the hardest part.
- chrsig 4y agoCould you define lameducking? I'm unfamiliar with the phrase in a tech context
- GauntletWizard 4y ago"Lame Duck" time[1] in politics is the time between losing a mandate (being voted out) and losing that position. Lame Duck time in a software process is the time between being told to shut down and shutting down. In many cases, you want to keep this time as small as possible. One valid solution is just to kill any requests that were ongoing, with the knowledge that a variety of error conditions would do the same. Alternatively, you can stop accepting new requests while giving time for the previous ones to complete; This is what we call lame-ducking. How it's accomplished differs. [1] https://en.wikipedia.org/wiki/Lame_duck_(politics) https://en.wikipedia.org/wiki/Lame_duck_(politics)