Do You Want to Retry? Handling and Testing Network Failures
by Anton Marchukov
At: FOSDEM 2017
The world is not perfect and network failures do happen. Complaining aboutinstability might not always be enough. Especially when your system depends onmultiple networked services and each of them is on a critical path to thefinal result.
This talk will follow a real story of an attempt to implement network errorshandling by retries functionality that is inside urllib3 and requests Pythonlibraries. More importantly we will simulate poor network conditions on alocal machine using Linux Network Emulator and then will reason on howeffective the attempt was and what can be further improved.
This is a proper treatment the networked systems should get when they aredesigned, developed and tested. And it is great that all the tools necessaryare already there in most popular Linux distributions.