The curious case of slow downloads
The article discusses an issue with certain very slow downloads being abruptly terminated and the steps taken to investigate and resolve it. It was discovered that only mobile users experienced the problem when downloading a binary file of around 30MB. After reproducing the problem, it was found that NGINX's reset_timedout_connection setting and send_timeout configuration option were causing the issue. The solution involved adjusting these settings or patching NGINX to react differently on timeout. The author emphasizes the complexity of Linux networking stack and the importance of understanding all corner cases when debugging issues related to timeouts in the "write" path of code.
Company
Cloudflare
Date published
April 11, 2016
Author(s)
Marek Majkowski
Word count
1568
Language
English
Hacker News points
207