Tag

Keep-Alive

0 views collected around this technical thread.

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.

BandwidthHTTPHTTPS
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.

BandwidthHTTPSKeep-Alive
0 likes · 4 min read
Understanding TLS Handshake Overhead and Bandwidth Impact in High‑Concurrency Services
DevOps Operations Practice
DevOps Operations Practice
Sep 19, 2024 · Information Security

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

The article analyzes why a high‑concurrency GET service quickly saturates a 100 Mbps uplink due to TLS handshake overhead, demonstrates bandwidth savings by switching to HTTP or using Keep‑Alive, and highlights practical considerations for secure connections.

BandwidthHTTPSKeep-Alive
0 likes · 5 min read
Understanding TLS Handshake Overhead and Bandwidth Impact in High‑Concurrency Services
Selected Java Interview Questions
Selected Java Interview Questions
Sep 6, 2024 · Backend Development

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

The article explains how TLS handshakes significantly increase request size and upstream bandwidth consumption in high‑concurrency services, demonstrates the bandwidth calculations, and proposes using plain HTTP or Keep‑Alive connections to reduce overhead and server load.

BandwidthHTTPHTTPS
0 likes · 4 min read
Understanding TLS Handshake Overhead and Bandwidth Impact in High‑Concurrency Services
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 DevelopmentHttpClientKeep-Alive
0 likes · 11 min read
Optimizing Apache HttpClient for High-Concurrency Scenarios
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 DevelopmentHttpClientKeep-Alive
0 likes · 11 min read
Optimizing Apache HttpClient for High‑Concurrency: Connection Pooling, Keep‑Alive, and Configuration
Aikesheng Open Source Community
Aikesheng Open Source Community
May 18, 2022 · Operations

TCP Handshake Packet Loss Scenarios and Their Impact on MySQL Connections

The article investigates how loss of TCP SYN, SYN‑ACK, or ACK packets during the three‑way handshake affects MySQL client‑server connections, demonstrating retransmission behavior, kernel parameter tuning, and keep‑alive mechanisms through controlled iptables and tcpdump experiments.

Keep-AliveLinuxMySQL
0 likes · 10 min read
TCP Handshake Packet Loss Scenarios and Their Impact on MySQL Connections
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.

HTTP 1.0Keep-AliveLoad Balancing
0 likes · 6 min read
Diagnosing Intermittent White‑Screen Issues Caused by Nginx Proxy and HTTP Connection Mismatch
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.

Conflict DetectionKeep-AlivePreload
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 CachingFrontend DevelopmentJavaScript
0 likes · 13 min read
LRU Cache Implementation in Vue Keep-Alive Component
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.

AJAXHTTPKeep-Alive
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.

BackendHttpClientKeep-Alive
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