Do You Want to Retry? Handling and Testing Network Failures
89 views · Published 6 March 2018 · 45:09 · Indexed 29 October 2026
Channel: FOSDEM · 2018 · Science & Technology
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. Room: H.2213 Scheduled start: 2017-02-05 12:35:00