We're sorry but this page doesn't work properly without JavaScript enabled. Please enable it to continue.
Feedback

Do You Want to Retry?

Formal Metadata

Title
Do You Want to Retry?
Subtitle
Handling and Testing Network Failures
Title of Series
Number of Parts
611
Author
License
CC Attribution 2.0 Belgium:
You are free to use, adapt and copy, distribute and transmit the work or content in adapted or unchanged form for any legal purpose as long as the work is attributed to the author in the manner specified by the author or licensor.
Identifiers
Publisher
Release Date
Language
Production Year2017

Content Metadata

Subject Area
Genre
Abstract
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.