4 ms·
My approach has always been that somewhere in my fleet there is a heat sink that fell off and a CPU running at 400MHz. My last two jobs have started with me sit
by jeffbee 7y ago
My approach has always been that somewhere in my fleet there is a heat sink that fell off and a CPU running at 400MHz. My last two jobs have started with me sitting down at my desk on day 1 and demonstrating this fact. After concluding that the zoo is unavoidable, the only thing left to do is write the software accordingly.
- saagarjha 7y ago> After concluding that the zoo is unavoidable, the only thing left to do is write the software accordingly. What do you do to write software accordingly? Make it detect when it's running on a dud? Have it run as best as it can anyways?
- jeffbee 7y agoSuicide is a good solution, if some higher-level thing will notice and move the task to another machine. Batch frameworks can kill slow shards, or re-assign their work to faster shards. Clients of online services can direct more traffic to working shards and less or none to slow or broken ones.