Skip to content

Latest commit

 

History

History
21 lines (19 loc) · 1.03 KB

can-we-double-http-client-throughput.md

File metadata and controls

21 lines (19 loc) · 1.03 KB
date tags name url type title slides_url recording_url city country country_code language recognitions image_header images
2020-11-02
post
NodeConf Remote
conference
Can We Double HTTP Client Throughput?
English

The Node.js HTTP client is a fundamental part of any application, yet many think it cannot be improved. I took this as a challenge and I’m now ready to present a new HTTP client for Node.js, undici, that doubles the throughput of your application The story behind this improvement begins with the birth of TCP/IP and it is rooted in one of the fundamental limitations of networking: head-of-line blocking (HOL blocking). HOL blocking is one of those topics that developers blissfully ignore and yet it deeply impacts the runtime experience of the distributed applications that they build every day. Undici is a HTTP/1.1 client that avoids HOL blocking by using keep-alive and pipelining, resulting in a doubling of your application throughput.