Tagged articles
34 articles
Page 1 of 1
Tech Musings
Tech Musings
Apr 2, 2026 · Operations

Did You Know Nginx Now Enables HTTP/1.1 Keep‑Alive by Default?

The article reveals that recent Nginx releases have made HTTP/1.1 keep‑alive the default configuration, eliminating the need for explicit proxy_http_version and Connection header settings, and explains how this reduces handshakes, lowers latency, and improves first‑byte response times for typical web applications.

Keep-AliveNginxOperations
0 likes · 2 min read
Did You Know Nginx Now Enables HTTP/1.1 Keep‑Alive by Default?
ITPUB
ITPUB
Jan 12, 2025 · Operations

Why a TLS Handshake Can Saturate 100Mbps Uplink and How to Cut Bandwidth by 70%

A high‑concurrency data‑collection service quickly filled a 100 Mbps uplink because each GET request incurred a 1.68 KB TLS handshake, but switching to plain HTTP or enabling Keep‑Alive can dramatically reduce per‑request size and server load, saving up to 70% bandwidth.

HTTPSKeep-AliveTLS
0 likes · 5 min read
Why a TLS Handshake Can Saturate 100Mbps Uplink and How to Cut Bandwidth by 70%
macrozheng
macrozheng
Nov 5, 2024 · Information Security

How TLS Handshake Makes a Tiny GET Request Eat 1.68KB and How to Cut Bandwidth

After discovering that a simple GET request consumes 1.68 KB due to the TLS handshake, the article explains the handshake’s components, calculates the resulting bandwidth demand, and demonstrates how switching to HTTP or enabling Keep‑Alive can dramatically reduce traffic and server load in high‑concurrency scenarios.

HTTPHTTPSKeep-Alive
0 likes · 5 min read
How TLS Handshake Makes a Tiny GET Request Eat 1.68KB and How to Cut Bandwidth
Architecture Digest
Architecture Digest
Oct 14, 2024 · Information Security

Understanding TLS Handshake Overhead and Bandwidth Impact in High‑Concurrency Services

The article analyzes why a high‑concurrency data‑collection service quickly saturates a 100 Mbps uplink due to large TLS handshake payloads, demonstrates the bandwidth savings of switching to plain HTTP or using Keep‑Alive, and highlights practical considerations for secure versus performance‑optimized deployments.

HTTPSHandshakeKeep-Alive
0 likes · 4 min read
Understanding TLS Handshake Overhead and Bandwidth Impact in High‑Concurrency Services
MaGe Linux Operations
MaGe Linux Operations
Sep 11, 2023 · Backend Development

How to Cut HttpClient Latency by 70% with Connection Pooling and Keep-Alive

By refactoring a high‑traffic Java service to use a singleton HttpClient, enable connection pooling with a custom keep‑alive strategy, and fine‑tune timeout and retry settings, the average request time dropped from 250 ms to about 80 ms, dramatically improving throughput and stability.

Connection PoolingHttpClientKeep-Alive
0 likes · 13 min read
How to Cut HttpClient Latency by 70% with Connection Pooling and Keep-Alive
Architecture Digest
Architecture Digest
Sep 11, 2023 · Backend Development

Optimizing Apache HttpClient for High-Concurrency Scenarios

This article details practical optimization techniques for Apache HttpClient—including connection pooling, keep-alive, singleton client usage, proper timeout settings, and asynchronous handling—to reduce average request latency from 250 ms to about 80 ms in a ten-million-calls-per-day service.

Backend DevelopmentConnection PoolingHttpClient
0 likes · 11 min read
Optimizing Apache HttpClient for High-Concurrency Scenarios
Open Source Linux
Open Source Linux
Aug 14, 2023 · Fundamentals

Why Choose TCP Long Connections Over Short Ones? A Deep Dive

This article explains TCP connection basics, the three‑way handshake and four‑way termination, compares short and long connections, discusses keep‑alive mechanisms, and outlines when to use each approach in network and HTTP communication.

HTTPKeep-AliveTCP
0 likes · 12 min read
Why Choose TCP Long Connections Over Short Ones? A Deep Dive
MaGe Linux Operations
MaGe Linux Operations
Jul 18, 2023 · Fundamentals

Short vs Long TCP Connections: When and Why to Use Each

This article explains the fundamentals of TCP connections, detailing the three‑way handshake, four‑step termination, the differences between short‑lived and persistent (long) connections, their advantages, keep‑alive mechanisms, and practical guidelines for choosing the appropriate connection type in various network scenarios.

Keep-AliveNetworkingTCP
0 likes · 12 min read
Short vs Long TCP Connections: When and Why to Use Each
Ops Development Stories
Ops Development Stories
Dec 28, 2022 · Fundamentals

HTTP Keep-Alive vs TCP Keepalive: Key Differences Explained

An in‑depth comparison of HTTP Keep‑Alive (application‑layer persistent connections) and TCP Keepalive (kernel‑level health checks), covering their implementation layers, usage, configuration, timeout handling, and impact on performance, with clear diagrams and code examples to help developers master both mechanisms.

HTTPKeep-AliveNetworking
0 likes · 8 min read
HTTP Keep-Alive vs TCP Keepalive: Key Differences Explained
Selected Java Interview Questions
Selected Java Interview Questions
Jun 9, 2022 · Backend Development

Optimizing Apache HttpClient for High‑Concurrency: Connection Pooling, Keep‑Alive, and Configuration

This article explains how to dramatically reduce the average response time of a high‑traffic Java service from 250 ms to about 80 ms by applying HttpClient pooling, keep‑alive strategies, proper timeout settings, and idle‑connection monitoring, complete with code examples and configuration details.

Backend DevelopmentConnection PoolingHttpClient
0 likes · 11 min read
Optimizing Apache HttpClient for High‑Concurrency: Connection Pooling, Keep‑Alive, and Configuration
IT Services Circle
IT Services Circle
Mar 24, 2022 · Backend Development

Diagnosing Intermittent White‑Screen Issues Caused by Nginx Proxy and HTTP Connection Mismatch

This article details a step‑by‑step investigation of an intermittent white‑screen problem on a web application, revealing that Nginx’s use of HTTP 1.0 short connections caused mismatched static resource versions across backend servers, and explains how updating the affected server’s frontend bundle resolves the issue.

Backend ServersHTTP 1.0Keep-Alive
0 likes · 6 min read
Diagnosing Intermittent White‑Screen Issues Caused by Nginx Proxy and HTTP Connection Mismatch
Full-Stack DevOps & Kubernetes
Full-Stack DevOps & Kubernetes
Feb 7, 2022 · Cloud Native

How to Double Nginx‑Ingress Performance in Kubernetes: IPVS, Kernel Tweaks, and Keep‑Alive Optimizations

This guide explains why routing traffic through an Nginx Ingress controller can halve Kubernetes service QPS and provides step‑by‑step instructions—including switching to IPVS, tuning kernel and file‑descriptor limits, and configuring keep‑alive settings—to restore and even exceed the original performance.

Keep-Alivekube-proxynginx-ingress
0 likes · 9 min read
How to Double Nginx‑Ingress Performance in Kubernetes: IPVS, Kernel Tweaks, and Keep‑Alive Optimizations
Zhuanzhuan Tech
Zhuanzhuan Tech
Jan 12, 2022 · Backend Development

Connection Management in ZhiZhi RPC Framework SCF

This article explains how the ZhiZhi RPC framework SCF handles connection lifecycle, including establishment timing, connection pooling versus multiplexing, keep‑alive mechanisms, automatic recovery, and graceful shutdown, providing practical guidance for designing robust RPC protocols.

Connection ManagementKeep-AliveNetty
0 likes · 11 min read
Connection Management in ZhiZhi RPC Framework SCF
Kuaishou Tech
Kuaishou Tech
Dec 31, 2021 · Frontend Development

Design Considerations and Challenges in Micro‑Frontend Architecture

This article examines the practical design choices, sandbox limitations, preloading strategies, release handling, nested applications, cross‑app navigation, keep‑alive usage, shared dependencies, conflict detection, joint development, and progressive evolution of micro‑frontend solutions, offering insights and future directions.

Keep-Aliveconflict detectionmicro-frontend
0 likes · 20 min read
Design Considerations and Challenges in Micro‑Frontend Architecture
政采云技术
政采云技术
Nov 30, 2021 · Frontend Development

LRU Cache Implementation in Vue Keep-Alive Component

This article explains the LRU (Least Recently Used) caching mechanism used in Vue's keep-alive component, covering its implementation, performance benefits, and practical usage scenarios.

Component CachingKeep-AliveVue.js
0 likes · 13 min read
LRU Cache Implementation in Vue Keep-Alive Component
Senior Brother's Insights
Senior Brother's Insights
Aug 24, 2021 · Fundamentals

How Many HTTP Requests Can a Single TCP Connection Handle?

An in‑depth look at the relationship between TCP and HTTP explains how many HTTP requests a single TCP connection can carry, covering keep‑alive, HTTP/1.0 vs 1.1 behavior, pipelining, HTTP/2 multiplexing, browser connection limits, and practical keep‑alive trade‑offs.

HTTPHTTP/2Keep-Alive
0 likes · 7 min read
How Many HTTP Requests Can a Single TCP Connection Handle?
MaGe Linux Operations
MaGe Linux Operations
Mar 22, 2021 · Fundamentals

Decoding HTTP Requests with Wireshark: Handshake, TCP Options, and Keep‑Alive Explained

This tutorial walks through capturing and analyzing an HTTP request using Wireshark, detailing the environment setup, three‑way TCP handshake, key TCP header fields such as window scaling and SACK, the four‑step termination (including merged ACK/FIN), and the role of HTTP Keep‑Alive across different protocol versions.

Keep-AliveTCPThree-way handshake
0 likes · 12 min read
Decoding HTTP Requests with Wireshark: Handshake, TCP Options, and Keep‑Alive Explained
DeWu Technology
DeWu Technology
Mar 5, 2021 · Frontend Development

Dynamic Tab Caching with Vue keep-alive

Vue’s keep-alive component enables dynamic tab caching in B‑end applications by storing component VNodes in an internal LRU cache, preserving state across route switches, supporting include/exclude patterns, router‑meta flags, Vuex‑driven lists, and custom strategies for nested routes to prevent stale data and excess API calls.

Keep-AliveLRURouter
0 likes · 11 min read
Dynamic Tab Caching with Vue keep-alive
Efficient Ops
Efficient Ops
Sep 6, 2020 · Backend Development

Why Keep-Alive Isn’t Enough: From Ajax Polling to WebSocket Mastery

This article explains the limits of HTTP keep-alive, compares Ajax polling and long‑polling techniques for server push, and then details how the WebSocket protocol establishes a full‑duplex connection through a handshake and data‑transfer phase.

HTTPKeep-AliveWebSocket
0 likes · 7 min read
Why Keep-Alive Isn’t Enough: From Ajax Polling to WebSocket Mastery
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Jun 25, 2020 · Backend Development

Root Cause Analysis of OOM Caused by Misused HttpClient evictExpiredConnections and Keep‑Alive Issues

The article recounts a production OOM incident triggered by a misconfigured HttpClient evictExpiredConnections setting that caused uncontrolled thread growth, explains the underlying keep‑alive TCP behavior and NoHttpResponseException, and presents the corrective measures of using a singleton HttpClient and proper connection‑pool monitoring.

BackendHttpClientJava
0 likes · 8 min read
Root Cause Analysis of OOM Caused by Misused HttpClient evictExpiredConnections and Keep‑Alive Issues
Jike Tech Team
Jike Tech Team
Oct 24, 2019 · Backend Development

Why Do HTTP Keep-Alive Connections Trigger ECONNRESET and How to Fix Them

This article examines why occasional ECONNRESET errors occur in HTTP RPC keep‑alive connections, explains the underlying TCP and OS mechanisms, and compares several practical mitigation strategies—including retries, connection pre‑discard, idempotent handling, and protocol upgrades such as HTTP/2 and gRPC—to help developers choose the most reliable solution.

ECONNRESETHTTPHTTP/2
0 likes · 17 min read
Why Do HTTP Keep-Alive Connections Trigger ECONNRESET and How to Fix Them