From 430f811ceb8d3cc92dc353f450eb05e132a905e5 Mon Sep 17 00:00:00 2001 From: HuGanghui Date: Mon, 22 Mar 2021 09:10:32 +0800 Subject: [PATCH 1/2] Update tidb-configuration-file.md --- tidb-configuration-file.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tidb-configuration-file.md b/tidb-configuration-file.md index 3a3f34f74ed34..2ac268bd41308 100644 --- a/tidb-configuration-file.md +++ b/tidb-configuration-file.md @@ -378,6 +378,11 @@ Configuration items related to performance. - Determines whether to enable `keepalive` in the TCP layer. - Default value: `true` +### `tcp-no-delay` + +- Determines whether to enable `no delay` in the TCP layer. +- Default value: `true` + ### `cross-join` - Default value: `true` From b85fd4a6fce1de437ad211b25aaf3483cb48c301 Mon Sep 17 00:00:00 2001 From: TomShawn <41534398+TomShawn@users.noreply.github.com> Date: Tue, 22 Jun 2021 13:53:08 +0800 Subject: [PATCH 2/2] Update tidb-configuration-file.md --- tidb-configuration-file.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tidb-configuration-file.md b/tidb-configuration-file.md index 2ac268bd41308..200fa8402ad01 100644 --- a/tidb-configuration-file.md +++ b/tidb-configuration-file.md @@ -380,7 +380,7 @@ Configuration items related to performance. ### `tcp-no-delay` -- Determines whether to enable `no delay` in the TCP layer. +- Determines whether to enable TCP_NODELAY at the TCP layer. After it is enabled, TiDB disables the Nagle algorithm in the TCP/IP protocol and allows sending small data packets to reduce network latency. This is suitable for latency-sensitive applications with a small transmission volume of data. - Default value: `true` ### `cross-join`