How to Write Asynchronous Multithreaded HTTP Applications
summary
Baruch Sadogursky from JFrog describes building an asynchronous, multithreaded HTTP file-downloading library for Java clients and build-tool plugins. He explains how they evaluated existing libraries, the options considered, the final design decisions and trade-offs, and illustrates problems encountered during development (with anecdotes and visuals).
AI-written summary · about
chapters (17)
- 0:00Introduction
- 3:07Download manager requirements
- 6:16Existing libraries failed
- 8:05Reactor pattern in Java
- 12:48NIO and async libraries
- 15:50Netty vs AsyncHttpClient
- 19:28Feature comparison
- 21:36HTTP/1.1 deep dive
- 23:02HTTP compression and chunking
- 25:34Redirects and headers
- 26:40Concurrent HTTP connections
- 28:11URL encoding pitfalls
- 30:22Closing HTTP connections
- 32:32Parallel file writing
- 34:25File locking and progress
- 37:59HTTP/2 future
- 41:49Summary
