Skip to content

Comment on HTTP Client Performance – IO

Comments

NIO has significant impact on HTTP Servers not on stand alone single instance clients.

The only time you'd use a NIO client, is on a server - for example, when building a caching proxy server.

The expected benefits are higher throughput of the proxy (lower CPU/RAM consumption allows multiple clients to operate in parallel).

Individual downloads being faster was never expected to be a benefit

NIO has significant impact on HTTP Servers not on stand alone single instance clients.

This is true for the asynchronous network IO parts of NIO, but definitely not all of it. It also enables memory mapping and DMA, two things that can have significant impact on stand alone software.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.