Tagged articles
13 articles
Page 1 of 1
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
Aug 7, 2023 · Fundamentals

Short vs Long TCP Connections: When to Use Each and How to Keep Them Alive

TCP connections can be either short-lived, closing after a single request‑response cycle, or long-lived, staying open for multiple exchanges; this article explains their handshake processes, advantages, drawbacks, typical use cases, reasons long connections drop, and practical strategies such as keepalive and reconnection to maintain reliability.

HandshakeKeepaliveTCP
0 likes · 10 min read
Short vs Long TCP Connections: When to Use Each and How to Keep Them Alive
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
Top Architect
Top Architect
Jan 5, 2021 · Fundamentals

Understanding HTTP: Characteristics, Connection Management, and Performance Optimizations

This article explains the core characteristics of the HTTP protocol—including its flexibility, reliability, application‑layer nature, request‑response model, and statelessness—and then details short and long connection management, related header fields, head‑of‑line blocking, and practical performance‑enhancing techniques such as concurrent connections and domain sharding.

Connection ManagementHTTPlong-connection
0 likes · 17 min read
Understanding HTTP: Characteristics, Connection Management, and Performance Optimizations
MaGe Linux Operations
MaGe Linux Operations
Jan 3, 2021 · Fundamentals

Why HTTP Still Rules: Key Features, Connection Types, and Performance Tips

This article explains HTTP's core characteristics—flexibility, reliability, application‑layer nature, request‑response model, and statelessness—then dives into short‑ and long‑connection management, head‑of‑line blocking, and practical optimization techniques such as concurrent connections and domain sharding.

Connection ManagementHTTPlong-connection
0 likes · 17 min read
Why HTTP Still Rules: Key Features, Connection Types, and Performance Tips
Meituan Technology Team
Meituan Technology Team
Mar 17, 2017 · Mobile Development

High-Availability Mobile Network Optimization: Short and Long Connection Strategies

Meituan‑Dianping’s high‑availability mobile network optimization combines short‑connection tactics—domain merging and IP‑direct selection—to cut DNS lookups, with a proxy‑long‑link architecture (CIP and Tencent WNS) that provides DNS‑independent, multiplexed TCP links, improving latency, success rates, and offering fallback mechanisms for robust app performance.

HTTP/2Mobile NetworkingProxy
0 likes · 17 min read
High-Availability Mobile Network Optimization: Short and Long Connection Strategies
21CTO
21CTO
Jan 6, 2016 · Fundamentals

Understanding HTTP and TCP/IP: Long vs Short Connections Explained

This article explains how HTTP relies on TCP/IP, clarifies the stateless nature of HTTP, and compares long and short connections—including their TCP handshakes, keep‑alive mechanisms, advantages, disadvantages, and appropriate usage scenarios for web and database communications.

HTTPTCP/IPlong-connection
0 likes · 9 min read
Understanding HTTP and TCP/IP: Long vs Short Connections Explained
21CTO
21CTO
Nov 16, 2015 · Fundamentals

Understanding HTTP vs TCP: Long vs Short Connections Explained

This article explains how HTTP relies on TCP/IP, clarifies the stateless nature of HTTP, and compares long‑lasting persistent connections with short‑lived ones, covering their handshakes, advantages, disadvantages, and appropriate usage scenarios.

HTTPNetwork ProtocolsTCP
0 likes · 9 min read
Understanding HTTP vs TCP: Long vs Short Connections Explained
ITPUB
ITPUB
Nov 9, 2015 · Fundamentals

Why HTTP Uses Long vs Short Connections: Statelessness & TCP/IP Basics

This article explains how HTTP relies on TCP/IP, clarifies the stateless nature of HTTP, compares short and long connections in HTTP/1.0 and HTTP/1.1, and discusses the advantages, disadvantages, and appropriate use cases for each connection type.

HTTPNetworkingTCP
0 likes · 9 min read
Why HTTP Uses Long vs Short Connections: Statelessness & TCP/IP Basics
MaGe Linux Operations
MaGe Linux Operations
Aug 4, 2015 · Fundamentals

Long vs Short Connections: When to Use Each in TCP/IP Programming

This article explains the differences between long and short TCP/IP connections, outlines three major communication models (server/client, connection type, and send/receive mode), describes synchronous and asynchronous transmission, and reviews various message formats and read/write strategies to help developers design robust network programs.

AsynchronousNetwork programmingSynchronous
0 likes · 6 min read
Long vs Short Connections: When to Use Each in TCP/IP Programming