Tagged articles

TCP

632 articles · Page 4 of 7
Liangxu Linux
Liangxu Linux
Sep 4, 2022 · Fundamentals

What Happens When TCP Handshake or Teardown Packets Are Lost?

This article explains how TCP connections behave when any of the three-way handshake or four-way termination packets are lost, detailing the kernel‑controlled retransmission mechanisms, timeout intervals, relevant sysctl parameters, and the exact sequence of events for each loss scenario.

Four-way terminationLinuxTCP
0 likes · 13 min read
What Happens When TCP Handshake or Teardown Packets Are Lost?
Open Source Linux
Open Source Linux
Sep 1, 2022 · Fundamentals

How to Debug TCP Throughput Bottlenecks: rwnd, cwnd, and Wireshark Tips

This guide explains how to identify and troubleshoot TCP throughput limitations by examining sender, receiver, and network bottlenecks, understanding rwnd and cwnd values, using Linux tools like ss and Wireshark, and interpreting packet traces to pinpoint congestion or loss.

LinuxTCPThroughput Debugging
0 likes · 11 min read
How to Debug TCP Throughput Bottlenecks: rwnd, cwnd, and Wireshark Tips
Liangxu Linux
Liangxu Linux
Aug 31, 2022 · Operations

Why TIME_WAIT Connections Accumulate and How to Fix Them

In high‑concurrency scenarios, massive TIME_WAIT TCP connections can exhaust local ports, causing new connections to fail, but by understanding the TCP four‑handshake, adjusting socket reuse settings, and using keep‑alive, you can mitigate the issue.

LinuxNetworkingOperations
0 likes · 8 min read
Why TIME_WAIT Connections Accumulate and How to Fix Them
Open Source Linux
Open Source Linux
Aug 17, 2022 · Operations

Mastering TCP States: Diagnose Network Issues with Linux Tools

This guide explains TCP connection states, essential Linux commands, three‑way handshake, four‑way termination, simultaneous open/close, flag meanings, common error codes, and keep‑alive techniques to help you troubleshoot and secure network services effectively.

LinuxSocketTCP
0 likes · 31 min read
Mastering TCP States: Diagnose Network Issues with Linux Tools
Efficient Ops
Efficient Ops
Aug 15, 2022 · Fundamentals

Why Does TIME_WAIT Accumulate in High‑Concurrency Scenarios and How to Fix It?

Under high‑concurrency loads, massive TIME_WAIT TCP connections can exhaust local ports, causing “address already in use” errors; this article explains the root causes, impact on services, and practical mitigation strategies such as keep‑alive headers, socket reuse, and reducing the TIME_WAIT timeout.

TCPTIME_WAIThigh concurrency
0 likes · 7 min read
Why Does TIME_WAIT Accumulate in High‑Concurrency Scenarios and How to Fix It?
Architecture Digest
Architecture Digest
Aug 12, 2022 · Fundamentals

Differences and Principles of TCP and UDP Protocols

This article explains the fundamental differences between TCP and UDP, covering their purposes, reliability, speed, handshake mechanisms, data transmission processes, and termination procedures, and includes visual diagrams to illustrate each concept in.

Data TransmissionHandshakeNetworking
0 likes · 10 min read
Differences and Principles of TCP and UDP Protocols
Liangxu Linux
Liangxu Linux
Aug 8, 2022 · Backend Development

Why RPC Still Matters When HTTP Exists: A Deep Dive into TCP, HTTP, and RPC

This article explains the fundamentals of TCP sockets, why raw TCP lacks message boundaries, how custom protocols add headers to solve the sticky‑packet problem, and compares HTTP and RPC as application‑layer protocols, highlighting their histories, use‑cases, and performance trade‑offs.

HTTPNetworkingRPC
0 likes · 13 min read
Why RPC Still Matters When HTTP Exists: A Deep Dive into TCP, HTTP, and RPC
IT Services Circle
IT Services Circle
Aug 4, 2022 · Fundamentals

Why TCP Does Not Guarantee No Packet Loss: Detailed Walkthrough of Data Packet Transmission and Common Loss Scenarios

This article explains how TCP packets travel from user space to the destination, highlights typical points where packet loss can occur—including connection establishment, flow‑control queues, NIC buffers, and end‑to‑end network hops—and shows how to diagnose and mitigate these issues using Linux tools.

LinuxTCPethtool
0 likes · 17 min read
Why TCP Does Not Guarantee No Packet Loss: Detailed Walkthrough of Data Packet Transmission and Common Loss Scenarios
Top Architect
Top Architect
Jul 29, 2022 · Fundamentals

Understanding TCP Connection Limits and the Role of Port Numbers

The article explains how TCP connections are identified by a four‑tuple, why the 65535 port limit does not directly cap concurrent connections, the theoretical maximum connections for client and server roles, and how real‑world limits are governed by memory, file descriptors, and port reuse on Linux systems.

TCPconcurrencyport limits
0 likes · 11 min read
Understanding TCP Connection Limits and the Role of Port Numbers
Liangxu Linux
Liangxu Linux
Jul 23, 2022 · Fundamentals

How QUIC Achieves Reliable Transmission Over UDP and Solves TCP’s Head‑of‑Line Blocking

This article explains how QUIC implements reliable transmission on top of UDP by using monotonic packet numbers, stream IDs and offsets, independent flow‑control windows, and integrated TLS, thereby eliminating TCP’s retransmission ambiguity, head‑of‑line blocking, and improving congestion control and connection migration.

Flow ControlQUICReliable Transmission
0 likes · 19 min read
How QUIC Achieves Reliable Transmission Over UDP and Solves TCP’s Head‑of‑Line Blocking
Top Architect
Top Architect
Jul 22, 2022 · Fundamentals

Differences and Principles of TCP and UDP Protocols

This article provides a comprehensive overview of TCP and UDP, explaining their roles in the transport layer, key differences such as connection orientation and reliability, the three‑way handshake and four‑way termination processes of TCP, and the typical use cases and limitations of each protocol.

Four-way terminationNetworkingTCP
0 likes · 9 min read
Differences and Principles of TCP and UDP Protocols
Efficient Ops
Efficient Ops
Jul 18, 2022 · Fundamentals

Mastering TCP: Decode Every Connection State and Diagnose Network Issues

This article explains TCP connection states, common Linux network commands, the three‑way handshake, four‑way termination, simultaneous open/close, flag meanings, and practical troubleshooting techniques such as keep‑alive and error handling, providing a comprehensive guide for network engineers.

Socket statesTCPTCP handshake
0 likes · 31 min read
Mastering TCP: Decode Every Connection State and Diagnose Network Issues
MaGe Linux Operations
MaGe Linux Operations
Jul 12, 2022 · Fundamentals

Why HTTP/3 and QUIC Are Revolutionizing Web Performance

This article explains the evolution from HTTP/1.1 to HTTP/3, highlights the limitations of HTTP/2 such as head‑of‑line blocking and TCP‑based latency, and shows how QUIC’s UDP‑based design, 0‑RTT handshakes, connection migration, and advanced congestion‑control mechanisms overcome those challenges to deliver faster, more reliable web traffic.

HTTP/3QUICTCP
0 likes · 14 min read
Why HTTP/3 and QUIC Are Revolutionizing Web Performance
IT Services Circle
IT Services Circle
Jul 6, 2022 · Fundamentals

Why HTTP/3 Abandons TCP: An Overview of QUIC and Its Benefits

The article explains how TCP, the long‑standing transport for HTTP/1.x and HTTP/2, suffers from head‑of‑line blocking and handshake latency, why protocol ossification hinders upgrades, and how HTTP/3’s QUIC built on UDP overcomes these issues while introducing its own deployment challenges.

HTTP/3QUICTCP
0 likes · 7 min read
Why HTTP/3 Abandons TCP: An Overview of QUIC and Its Benefits
Programmer DD
Programmer DD
Jul 2, 2022 · Fundamentals

Why 65535 Is Not the Real Limit for TCP Connections

This article explains that the 65535 TCP port limit does not directly cap concurrent connections, detailing how TCP connections are identified by a four‑tuple, the theoretical maximums for client and server sides, and why actual limits depend on memory, file descriptors, and port reuse.

LinuxTCPconnection limits
0 likes · 12 min read
Why 65535 Is Not the Real Limit for TCP Connections
Top Architect
Top Architect
Jul 1, 2022 · Databases

Analyzing the Time Cost of Establishing MySQL Database Connections in Java Web Applications

This article examines how a MySQL connection is created from a Java web application, breaking down the TCP handshake, authentication, and variable‑setting steps with Wireshark captures, measuring latency, and demonstrating why connection pooling is essential to avoid hundreds of milliseconds of overhead per request.

Connection PoolDatabase ConnectionMySQL
0 likes · 7 min read
Analyzing the Time Cost of Establishing MySQL Database Connections in Java Web Applications
MaGe Linux Operations
MaGe Linux Operations
Jun 26, 2022 · Information Security

Master Wireshark: Advanced Packet Filtering, Timing, and Analysis Techniques

This guide walks through Wireshark's powerful features for filtering packets by IP, protocol, and port, adjusting time display formats, viewing and modifying TCP sequence numbers, saving filtered captures, performing packet statistics, decoding logs, tracing TCP streams, and identifying device manufacturers via MAC addresses.

FilteringTCPWireshark
0 likes · 6 min read
Master Wireshark: Advanced Packet Filtering, Timing, and Analysis Techniques
Liangxu Linux
Liangxu Linux
Jun 25, 2022 · Information Security

Master Wireshark: Advanced Packet Filtering, Timing, and Decoding Techniques

This guide walks through Wireshark's powerful features—including precise packet filtering, custom time display formats, absolute sequence number handling, exporting filtered captures, packet count statistics, decoding logs, TCP stream tracking, and manufacturer identification—to help engineers troubleshoot and analyze network traffic efficiently.

TCPWiresharknetwork troubleshooting
0 likes · 6 min read
Master Wireshark: Advanced Packet Filtering, Timing, and Decoding Techniques
Open Source Linux
Open Source Linux
Jun 24, 2022 · Fundamentals

Why TCP Matters: A Deep Dive into Transport Layer Fundamentals

This article explains the essential concepts of TCP and UDP, covering the OSI layers, physical and data‑link networking, IP addressing, transport‑layer mechanisms such as sliding windows, congestion control, reliable transmission, connection establishment and termination, and compares the strengths and weaknesses of TCP versus UDP.

NetworkingTCPTransport Layer
0 likes · 28 min read
Why TCP Matters: A Deep Dive into Transport Layer Fundamentals
Efficient Ops
Efficient Ops
Jun 13, 2022 · Fundamentals

Unveiling TCP: How Reliable Transport Works and Why It Matters

This comprehensive guide walks through the fundamentals of computer networking, detailing the OSI layers, the inner workings of TCP and UDP, reliable transmission techniques such as stop‑and‑wait, sliding windows, congestion control, connection setup and teardown, as well as security concerns, performance trade‑offs, and practical use‑case scenarios.

Congestion ControlReliable TransmissionTCP
0 likes · 26 min read
Unveiling TCP: How Reliable Transport Works and Why It Matters
IT Architects Alliance
IT Architects Alliance
Jun 12, 2022 · Fundamentals

TCP Three-Way Handshake and Four-Way Termination Explained

This article explains how TCP ensures reliable connections through the three-way handshake process—including SYN, SYN‑ACK, and ACK exchanges—and describes the four-step termination sequence with FIN and ACK flags, while also clarifying why three handshakes are necessary instead of two.

Four-way terminationTCPnetwork protocol
0 likes · 7 min read
TCP Three-Way Handshake and Four-Way Termination Explained
Refining Core Development Skills
Refining Core Development Skills
Jun 6, 2022 · Fundamentals

Why Large File Downloads Still Need Integrity Verification Despite TCP Reliability

Although TCP provides reliable transmission, its guarantees have limits—such as incomplete CRC checks, process crashes before data reaches the transport layer, possible ISP tampering, and kernel‑level ACKs that don’t ensure user‑space receipt—so large downloads must still be validated for full integrity.

DownloadLinuxNetwork Reliability
0 likes · 4 min read
Why Large File Downloads Still Need Integrity Verification Despite TCP Reliability
MaGe Linux Operations
MaGe Linux Operations
May 13, 2022 · Backend Development

Build a Go HTTP Proxy from Scratch: Step-by-Step Guide

This tutorial explains proxy fundamentals, compares forward and reverse proxies, details HTTP and HTTPS proxy header differences, and provides a complete, runnable Go implementation that listens on port 8080 and transparently forwards client requests to target servers.

Code ExampleGoHTTP Proxy
0 likes · 9 min read
Build a Go HTTP Proxy from Scratch: Step-by-Step Guide
IT Services Circle
IT Services Circle
May 10, 2022 · Fundamentals

The Drawbacks of TCP: Upgrade Difficulty, Connection Latency, Head‑of‑Line Blocking, and Migration Overhead

This article examines the inherent shortcomings of the TCP protocol, including the difficulty of upgrading the stack, the latency introduced by its three‑way handshake and TLS, head‑of‑line blocking caused by packet loss, and the high cost of connection migration when network conditions change.

QUICTCPhead-of-line blocking
0 likes · 10 min read
The Drawbacks of TCP: Upgrade Difficulty, Connection Latency, Head‑of‑Line Blocking, and Migration Overhead
Coolpad Technology Team
Coolpad Technology Team
May 9, 2022 · Fundamentals

Understanding TCP BBR Congestion Control and Bufferbloat

This article explains the design and operation of TCP BBR (Bottleneck Bandwidth and Round‑trip propagation time), its relationship to bufferbloat, the shortcomings of loss‑based congestion algorithms, and details the BBR phases, gain cycle, source code, advantages, disadvantages, and practical considerations for network engineers.

BBRBufferbloatCongestion Control
0 likes · 21 min read
Understanding TCP BBR Congestion Control and Bufferbloat
Architecture Digest
Architecture Digest
May 6, 2022 · Fundamentals

Understanding Port Listening with Python Socket Examples

This article uses a conversational story to explain what it means to listen on a network port, covering TCP vs UDP, binding to specific IPs, reuse‑port options, IPv4 and IPv6 differences, and demonstrates the concepts with multiple Python socket code snippets.

IPv4IPv6Python
0 likes · 13 min read
Understanding Port Listening with Python Socket Examples
Open Source Linux
Open Source Linux
Apr 26, 2022 · Fundamentals

What Happens When You Hit Enter on a URL? Deep Dive into DNS, TCP, HTTP

When you type a URL and press Enter, the browser performs a series of steps—including URL parsing, DNS resolution across multiple caches, TCP three‑way handshake, HTTP request construction, server processing, and response handling—each involving specific protocols and layers that together deliver the requested web page.

DNSHTTPTCP
0 likes · 9 min read
What Happens When You Hit Enter on a URL? Deep Dive into DNS, TCP, HTTP
Liangxu Linux
Liangxu Linux
Apr 25, 2022 · Operations

How to Diagnose and Reduce Linux Network Latency with hping3, wrk, and Wireshark

This article explains how to identify the root causes of increased network latency on Linux servers—covering basic concepts of RTT and application latency, using tools such as ping, traceroute, hping3, wrk, tcpdump, and Wireshark, and demonstrates a practical case with Nginx containers to analyze and mitigate delays.

TCPWiresharkhping3
0 likes · 14 min read
How to Diagnose and Reduce Linux Network Latency with hping3, wrk, and Wireshark
Open Source Linux
Open Source Linux
Apr 25, 2022 · Backend Development

Master TCP/UDP, Sockets & Connection Pools in Node.js – From Basics to Advanced

This article walks developers through the fundamentals of the OSI model, TCP three‑way handshake and UDP characteristics, explains socket concepts, demonstrates Node.js server and client implementations with heartbeats and custom protocols, and details how to build and use a socket connection pool with the generic‑pool library.

Connection PoolNode.jsSocket
0 likes · 39 min read
Master TCP/UDP, Sockets & Connection Pools in Node.js – From Basics to Advanced
Liangxu Linux
Liangxu Linux
Apr 7, 2022 · Fundamentals

How Do Sockets Work? A Deep Dive into TCP/UDP Connection Lifecycle

This article explains the complete lifecycle of socket communication—from creation within the TCP/IP stack, through connection establishment, data transmission with TCP and UDP, to graceful termination—detailing control information, packet sizing, ACK mechanisms, sliding windows, and practical inspection using netstat.

SocketsTCPTCP/IP stack
0 likes · 11 min read
How Do Sockets Work? A Deep Dive into TCP/UDP Connection Lifecycle
Open Source Linux
Open Source Linux
Apr 7, 2022 · Fundamentals

Why Does TCP Require a Three‑Way Handshake and a Four‑Way Teardown?

This article explains how TCP guarantees reliable transmission through a three‑way handshake for connection establishment and a four‑step termination process, detailing each packet’s flags, sequence numbers, and the reasons why these multi‑step procedures are essential for robust network communication.

Four-way terminationReliable TransmissionTCP
0 likes · 7 min read
Why Does TCP Require a Three‑Way Handshake and a Four‑Way Teardown?
Efficient Ops
Efficient Ops
Apr 6, 2022 · Operations

How Many TCP Connections Can One Server Really Handle? A Deep Dive

This article demystifies the common confusion about a server’s maximum concurrent TCP connections, explaining the theoretical limits of the TCP four‑tuple, Linux file‑descriptor restrictions, kernel buffer settings, and demonstrates achieving one million active connections through careful configuration and tuning.

Server TuningTCPconcurrency
0 likes · 7 min read
How Many TCP Connections Can One Server Really Handle? A Deep Dive
IT Services Circle
IT Services Circle
Mar 12, 2022 · Fundamentals

Comprehensive Guide to TCP: Header Structure, Handshakes, Connection Management, and Socket Programming

This article provides an in‑depth tutorial on TCP, covering its header structure, three‑way handshake, reasons for three handshakes, four‑way termination, TIME_WAIT, SYN attacks, Linux kernel parameters, and practical socket programming examples, all illustrated with diagrams and code snippets.

Connection ManagementHandshakeNetworking
0 likes · 43 min read
Comprehensive Guide to TCP: Header Structure, Handshakes, Connection Management, and Socket Programming
IT Services Circle
IT Services Circle
Mar 9, 2022 · Fundamentals

A Curated Collection of Visualization Websites for Algorithms, Data Structures, MESI Protocol, and TCP Mechanisms

This article compiles a variety of online visualization tools—including algorithm and data‑structure animators, a MESI cache‑coherency simulator, and interactive TCP sliding‑window and flow‑control demos—to help learners intuitively understand core computer‑science concepts through animated models and hands‑on experimentation.

Data StructuresMESI ProtocolTCP
0 likes · 11 min read
A Curated Collection of Visualization Websites for Algorithms, Data Structures, MESI Protocol, and TCP Mechanisms
ELab Team
ELab Team
Feb 21, 2022 · Fundamentals

Why QUIC Beats TCP: Understanding UDP‑Based Transport and Its Benefits

The article examines the limitations of TCP and HTTP/2, explains how Google's UDP‑based QUIC protocol addresses issues such as head‑of‑line blocking, connection migration, and RTT estimation, and compares performance in both good and poor network conditions, highlighting its multiplexing, flow‑control, and security advantages.

HTTP/2QUICTCP
0 likes · 23 min read
Why QUIC Beats TCP: Understanding UDP‑Based Transport and Its Benefits
IT Services Circle
IT Services Circle
Feb 17, 2022 · Operations

Understanding the netstat Command and Its Common Options

This article explains the purpose, output format, and frequently used options of the cross‑platform netstat command, illustrating how to list active TCP/UDP connections, UNIX domain sockets, and various statistics, and notes modern replacements such as ss and ip.

LinuxTCPUDP
0 likes · 7 min read
Understanding the netstat Command and Its Common Options
BaiPing Technology
BaiPing Technology
Feb 14, 2022 · Mobile Development

How to Make Long‑TCP Connections as Simple as Short Requests on iOS

This article explains a technique for writing long‑TCP connection business code on mobile devices that is as efficient and concise as short‑link code, using request_id mapping, protobuf messages, and a lightweight SendCore layer with timeout handling.

Mobile NetworkingObjective‑CRequest ID
0 likes · 10 min read
How to Make Long‑TCP Connections as Simple as Short Requests on iOS
IT Services Circle
IT Services Circle
Feb 13, 2022 · Fundamentals

Does a TCP Connection Persist After Unplugging the Network Cable?

Unplugging a network cable does not immediately terminate a TCP connection; the kernel’s socket state remains ESTABLISHED, and the connection’s fate depends on data transmission, retransmission limits, TCP keepalive settings, and whether either side detects a failure.

LinuxRetransmissionSocket
0 likes · 10 min read
Does a TCP Connection Persist After Unplugging the Network Cable?
Sanyou's Java Diary
Sanyou's Java Diary
Feb 11, 2022 · Fundamentals

Mastering TCP: Sliding Window, Flow & Congestion Control Explained

This article continues the previous discussion on TCP handshakes and termination, then thoroughly explains nine essential TCP mechanisms—including sliding window, flow control, congestion control, delayed and piggyback ACKs, sticky packet handling, and keep‑alive—illustrated with diagrams and practical examples.

Congestion ControlFlow ControlSliding Window
0 likes · 15 min read
Mastering TCP: Sliding Window, Flow & Congestion Control Explained
vivo Internet Technology
vivo Internet Technology
Jan 12, 2022 · Backend Development

Vivo Push Notification Platform: Architecture Evolution and Engineering Practices

The article details Vivo’s push notification platform, describing its evolution from cloud‑based beginnings to a self‑built, three‑region architecture that supports over 1 million concurrent connections, billions of daily messages, and incorporates optimizations such as adaptive heartbeats, advanced load‑balancing, distributed caching, multi‑layer rate limiting, circuit‑breaker mechanisms, and comprehensive content security.

Load BalancingPush NotificationTCP
0 likes · 16 min read
Vivo Push Notification Platform: Architecture Evolution and Engineering Practices
NiuNiu MaTe
NiuNiu MaTe
Jan 8, 2022 · Fundamentals

Why TCP Can Close Connections in 2, 3, or 4 Handshakes – Hidden Mechanics Explained

This article explores TCP’s connection termination process, detailing the classic four‑way handshake, scenarios that reduce it to three or two handshakes, the concept of self‑connections, simultaneous opens, and practical implications for developers, including code examples and troubleshooting tips.

Connection terminationHandshakeSocket
0 likes · 23 min read
Why TCP Can Close Connections in 2, 3, or 4 Handshakes – Hidden Mechanics Explained
NiuNiu MaTe
NiuNiu MaTe
Jan 2, 2022 · Fundamentals

Why Receiving a TCP RST Doesn’t Always Close the Connection

This article explains the purpose of the TCP RST flag, how the kernel and application layers detect it, the various scenarios that trigger RST, why an RST may not terminate a connection, and the security implications of RST attacks.

Linux kernelRSTTCP
0 likes · 15 min read
Why Receiving a TCP RST Doesn’t Always Close the Connection
Refining Core Development Skills
Refining Core Development Skills
Dec 14, 2021 · Fundamentals

Why Practice and Implementation Matter in Learning Computer Networks

The article argues that both hands‑on practice and deep understanding of network implementations are essential for computer‑science students and engineers, illustrating the gap with theory‑only learning, presenting the pyramid learning model, recommending Linux tools, coding exercises, and detailed studies of TCP, epoll, and I/O performance.

ImplementationLinuxTCP
0 likes · 13 min read
Why Practice and Implementation Matter in Learning Computer Networks
Programmer DD
Programmer DD
Dec 8, 2021 · Fundamentals

Why HTTP/3 Matters: From TCP’s Limits to QUIC’s Revolution

This article traces the evolution of HTTP from its early TCP‑based origins through HTTP/1.0, 1.1, SPDY, HTTP/2, and finally to HTTP/3, explaining how QUIC over UDP addresses latency, head‑of‑line blocking, and security challenges of previous versions.

HTTPNetworkingQUIC
0 likes · 13 min read
Why HTTP/3 Matters: From TCP’s Limits to QUIC’s Revolution
Efficient Ops
Efficient Ops
Dec 5, 2021 · Backend Development

How I Boosted a Python Service to 50k QPS: Real‑World Performance Tuning Steps

This article details a step‑by‑step performance optimization of a Python backend service, covering requirement analysis, architecture redesign with caching and Redis queues, load‑testing results, TCP TIME_WAIT issues, and kernel parameter tweaks that ultimately raised throughput to 50,000 QPS with zero errors.

LinuxLoad TestingPython
0 likes · 9 min read
How I Boosted a Python Service to 50k QPS: Real‑World Performance Tuning Steps
JavaEdge
JavaEdge
Dec 5, 2021 · Fundamentals

Understanding TCP: OSI Layers, Header Fields, Handshakes and Common Issues

This article explains TCP fundamentals, covering its role in the OSI model, header structure, three‑way handshake, four‑way termination, typical connection problems, and how various TCP states transition, providing a solid foundation for both client and server developers.

Connection ManagementHandshakeTCP
0 likes · 22 min read
Understanding TCP: OSI Layers, Header Fields, Handshakes and Common Issues
QQ Music Frontend Team
QQ Music Frontend Team
Nov 21, 2021 · Fundamentals

Why QUIC Is the Future of Web Protocols: From HTTP/1.1 to HTTP/3

This article traces the evolution of HTTP from its earliest version through HTTP/2, explains the limitations of each iteration, and demonstrates how QUIC's UDP‑based design, 0‑RTT connections, connection migration, and flexible congestion control overcome those issues to become the next‑generation web transport protocol.

QUICTCPUDP
0 likes · 17 min read
Why QUIC Is the Future of Web Protocols: From HTTP/1.1 to HTTP/3
Liangxu Linux
Liangxu Linux
Nov 1, 2021 · Backend Development

How Linux Sends Network Packets: From send() to the NIC Explained

This article walks through the complete Linux kernel path for sending a network packet, covering the send() system call, TCP processing, IP routing, queueing, driver interaction, DMA mapping, and the role of hard and soft interrupts, while answering common performance questions.

TCPdriverinterrupts
0 likes · 31 min read
How Linux Sends Network Packets: From send() to the NIC Explained
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Oct 12, 2021 · Backend Development

Backend Interview Questions and Answers: HTTP, HTTPS, TCP, Virtual Memory, Eureka, Hystrix, Zookeeper, and Longest Substring Algorithm

This article compiles a series of backend interview questions covering HTTP header fields, HTTPS handshake, TCP connection states, virtual and physical memory concepts, TCP connection limits, Eureka architecture and consistency, Hystrix fault‑tolerance mechanisms, Zookeeper's Zab protocol and leader election, and provides a Java solution for finding the longest substring without repeating characters.

AlgorithmEurekaHTTPS
0 likes · 19 min read
Backend Interview Questions and Answers: HTTP, HTTPS, TCP, Virtual Memory, Eureka, Hystrix, Zookeeper, and Longest Substring Algorithm
Efficient Ops
Efficient Ops
Oct 10, 2021 · Fundamentals

Why BGP Matters: From Basics to Cloud Routing Explained

This article introduces the Border Gateway Protocol (BGP), explains its role as the core decentralized routing protocol of the Internet, compares it with IGP and EGP, describes why and when BGP is needed in cloud environments, and details its TCP‑based operation, message types, and path‑vector mechanics.

BGPCloud NetworkingTCP
0 likes · 12 min read
Why BGP Matters: From Basics to Cloud Routing Explained
NiuNiu MaTe
NiuNiu MaTe
Oct 4, 2021 · Fundamentals

Master the Basics: 19 Essential TCP/IP and HTTP Interview Questions Explained

This comprehensive guide answers 19 core networking interview questions, covering the TCP/IP five‑layer model, HTTP fundamentals, GET vs POST, ping, status codes, differences among HTTP/1.0, 1.1, 2, 3, HTTPS, TCP connection handshake and teardown, sliding windows, flow control, half‑ and full‑connection queues, packet framing, and the browser request lifecycle.

HTTPHTTPSNetworking
0 likes · 23 min read
Master the Basics: 19 Essential TCP/IP and HTTP Interview Questions Explained
Wukong Talks Architecture
Wukong Talks Architecture
Sep 30, 2021 · Fundamentals

Computer Network Fundamentals: OSI/TCP‑IP Layers, TCP/UDP Differences, Handshakes, and Related Mechanisms

This article provides a comprehensive overview of computer networking fundamentals, covering OSI and TCP/IP layer models, the functions of each layer, detailed comparisons between TCP and UDP, the three‑way handshake, four‑way termination, SYN‑flood attacks, congestion control, and practical mitigation techniques.

Congestion ControlFour-way terminationSYN Flood
0 likes · 21 min read
Computer Network Fundamentals: OSI/TCP‑IP Layers, TCP/UDP Differences, Handshakes, and Related Mechanisms
MaGe Linux Operations
MaGe Linux Operations
Sep 28, 2021 · Operations

Why Do TIME_WAIT Connections Accumulate and How to Fix Them?

The article explains why massive TIME_WAIT TCP connections appear during high‑concurrency scenarios, their impact on server ports and new connections, and provides practical analysis and solutions such as keep‑alive headers, socket reuse, and reducing the TIME_WAIT duration.

TCPTIME_WAITnetwork
0 likes · 9 min read
Why Do TIME_WAIT Connections Accumulate and How to Fix Them?
Selected Java Interview Questions
Selected Java Interview Questions
Sep 21, 2021 · Backend Development

Performance Optimization of a High‑Concurrency Web Service: From Bottleneck Identification to TCP Time‑Wait Tuning

This article documents a step‑by‑step performance optimization of a high‑traffic web module, covering requirement analysis, bottleneck detection in database and TCP connections, cache integration, load‑testing results, Linux kernel parameter tuning, and the final achievement of 50k QPS with sub‑60 ms latency.

Load TestingTCPcaching
0 likes · 8 min read
Performance Optimization of a High‑Concurrency Web Service: From Bottleneck Identification to TCP Time‑Wait Tuning
Big Data Technology & Architecture
Big Data Technology & Architecture
Sep 2, 2021 · Big Data

Understanding Network Flow Control and Flink's Backpressure Mechanisms

This article explains the concepts and background of network flow control, compares static rate limiting with dynamic feedback backpressure, describes TCP's sliding‑window mechanism, and details how Flink implements both TCP‑based and credit‑based backpressure to handle mismatched upstream‑downstream speeds in streaming applications.

Credit-basedFlinkNetwork Flow Control
0 likes · 16 min read
Understanding Network Flow Control and Flink's Backpressure Mechanisms
Liangxu Linux
Liangxu Linux
Aug 29, 2021 · Operations

Boosting a Python Service to 50k QPS: My Step‑by‑Step Performance Tuning

Through a detailed case study, the author documents the process of optimizing a Python‑based web module—identifying bottlenecks, redesigning architecture with Redis queues, tuning MySQL, adjusting Linux TCP settings, and iteratively load‑testing until achieving 50,000 QPS with sub‑70 ms latency and zero errors.

OperationsOptimizationPython
0 likes · 9 min read
Boosting a Python Service to 50k QPS: My Step‑by‑Step Performance Tuning
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?
Wukong Talks Architecture
Wukong Talks Architecture
Aug 7, 2021 · Fundamentals

50 Common Computer Network Interview Questions and Answers

An extensive compilation of 50 essential computer networking interview questions covering HTTP status codes, request methods, network architecture, DNS resolution, TCP/UDP protocols, security concepts like CSRF and XSS, and detailed explanations of TCP handshakes, congestion control, and encryption mechanisms.

Computer NetworksHTTPInterview Questions
0 likes · 51 min read
50 Common Computer Network Interview Questions and Answers
Ops Development Stories
Ops Development Stories
Aug 4, 2021 · Operations

Mastering TCP Handshakes, Queues, and Linux Tuning for High‑Performance Servers

This article explains TCP’s connection establishment and termination processes, details the roles of half‑ and full‑connection queues in Linux, demonstrates how to simulate and detect queue overflows using tools like netstat, ss, hping3 and ab, and provides kernel tuning parameters to mitigate SYN flood and TIME_WAIT issues.

LinuxNetworkingQueue
0 likes · 23 min read
Mastering TCP Handshakes, Queues, and Linux Tuning for High‑Performance Servers
Refining Core Development Skills
Refining Core Development Skills
Jul 22, 2021 · Backend Development

Deep Dive into the TCP Three‑Way Handshake: Kernel Queues, Syncookies and Code Walkthrough

This article explains the complete kernel‑level implementation of the TCP three‑way handshake, covering server listen queue allocation, client connect state handling, SYN/SYN‑ACK processing, syncookie protection, timer management, socket creation, and the accept path, with detailed code examples.

LinuxNetworkingTCP
0 likes · 16 min read
Deep Dive into the TCP Three‑Way Handshake: Kernel Queues, Syncookies and Code Walkthrough
Efficient Ops
Efficient Ops
Jul 6, 2021 · Operations

Mastering TCP TIME-WAIT: When to Optimize and How

This article explains the purpose of the TCP TIME-WAIT state, the scenarios it protects against, common misconceptions, and practical Linux kernel tweaks—such as fast recycle, socket reuse, and tw_buckets settings—to manage TIME-WAIT efficiently on high‑concurrency servers.

LinuxTCPTIME_WAIT
0 likes · 8 min read
Mastering TCP TIME-WAIT: When to Optimize and How