ClickHouse / ClickHouse/clickhouse-js

Investigate the effect of Nagle's algorithm of the request performance

Open
#18 0 comments 0 reactions 0 assignees View on GitHub
enhancement experiment
Dominant language
TypeScript
Stars
331
Forks
74
PR merge metrics
No merged PRs in 30d

Description

Nagle's algorithm delays data before it is sent via the network. It attempts to optimize throughput at the expense of latency.

> In any non-pipelined stop-and-wait request-response application protocol where request data can be larger than a packet, this can artificially impose a few hundred milliseconds latency between the requester and the responder.

see https://en.wikipedia.org/wiki/Nagle%27s_algorithm

Consider disabling Nagle's algorithm with https://nodejs.org/api/http.html#requestsetnodelaynodelay

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.