Tagged articles
600 articles
Page 1 of 6
Architect's Guide
Architect's Guide
May 12, 2026 · Fundamentals

Mastering TCP, HTTP, Sockets, and Socket Connection Pools

This article walks developers through the OSI model, explains TCP's three‑way handshake and four‑way termination, contrasts TCP with UDP, addresses common networking questions, and details how to implement long‑lived socket connections and a reusable socket connection pool in Node.js.

Connection PoolNetwork ProtocolsNode.js
0 likes · 15 min read
Mastering TCP, HTTP, Sockets, and Socket Connection Pools
IT Services Circle
IT Services Circle
May 8, 2026 · Fundamentals

Understanding TCP: Three-Way Handshake, Four-Way Teardown, TIME‑WAIT, and HTTP/2

This article explains the OSI seven‑layer model, TCP header fields, the three‑way handshake and four‑way termination processes, TIME‑WAIT timing, connection capacity calculations, packet fragmentation and reassembly, flow control, HTTP version differences, HTTPS security flow, and common analysis tools like Wireshark.

Four-way terminationHTTP/2OSI model
0 likes · 15 min read
Understanding TCP: Three-Way Handshake, Four-Way Teardown, TIME‑WAIT, and HTTP/2
dbaplus Community
dbaplus Community
Apr 22, 2026 · Fundamentals

Is UDP Really Faster Than TCP? A Deep Dive into Their Speed Trade‑offs

This article analytically compares UDP and TCP, detailing UDP’s minimalist design, low‑latency advantages, lack of congestion control and broadcast capabilities, while also explaining TCP’s reliability, congestion‑aware throughput and suitability for large or critical data, helping readers choose the optimal protocol for specific scenarios.

LatencyNetwork ProtocolsTCP
0 likes · 12 min read
Is UDP Really Faster Than TCP? A Deep Dive into Their Speed Trade‑offs
21CTO
21CTO
Apr 16, 2026 · Operations

How Tweaking Two Linux TCP Settings Cuts Service Outage from 16 Minutes to Seconds

A deep dive into the long‑standing Linux kernel parameters tcp_keepalive_time and tcp_retries2 shows how their default values cause hidden connection timeouts in modern data‑center environments, and how adjusting them dramatically speeds up failure detection and service recovery.

LinuxNetworkingOperations
0 likes · 8 min read
How Tweaking Two Linux TCP Settings Cuts Service Outage from 16 Minutes to Seconds
Liangxu Linux
Liangxu Linux
Apr 13, 2026 · Fundamentals

Master Linux Network Programming: From Echo Server to Mini HTTP Server

This guide walks beginners through progressive Linux network programming projects—starting with an Echo server, advancing to a concurrent chatroom, and culminating in a simple HTTP server—to solidify core concepts like TCP handshakes, socket I/O, and protocol handling.

CLinuxNetwork programming
0 likes · 4 min read
Master Linux Network Programming: From Echo Server to Mini HTTP Server
21CTO
21CTO
Apr 13, 2026 · Industry Insights

Why HTTP/3 Beats HTTP/2: Unpacking TCP Head‑of‑Line Blocking and QUIC Gains

The article analyzes why HTTP/3, built on QUIC over UDP, can outperform HTTP/2 in lossy or mobile networks by eliminating TCP's head‑of‑line blocking, offering faster handshakes, seamless connection migration, and better congestion control, while also outlining scenarios where HTTP/2 remains preferable.

HTTP/3QUICTCP
0 likes · 10 min read
Why HTTP/3 Beats HTTP/2: Unpacking TCP Head‑of‑Line Blocking and QUIC Gains
Raymond Ops
Raymond Ops
Apr 11, 2026 · Operations

Why TCP’s Three‑Way Handshake Matters: Deep Dive into States, Tuning, and Real‑World Pitfalls

This article explains the TCP three‑way handshake in depth, covering the state machine, kernel‑level packet analysis, performance tuning, security hardening, real‑world case studies such as SYN‑Flood mitigation and TIME_WAIT overload, and provides complete C and Python examples, monitoring metrics, troubleshooting steps, and backup procedures for production environments.

LinuxNetworkingTCP
0 likes · 28 min read
Why TCP’s Three‑Way Handshake Matters: Deep Dive into States, Tuning, and Real‑World Pitfalls
MaGe Linux Operations
MaGe Linux Operations
Apr 9, 2026 · Fundamentals

Master TCP Handshakes and Teardowns: Deep Dive with Wireshark and Linux Tools

This guide walks operations engineers through every detail of the TCP protocol—from header fields and flag meanings to the three‑way handshake, four‑way teardown, state diagrams, common pitfalls, and practical Wireshark analysis—providing Linux commands, code examples, and troubleshooting tips for reliable network management.

LinuxTCPWireshark
0 likes · 35 min read
Master TCP Handshakes and Teardowns: Deep Dive with Wireshark and Linux Tools
MaGe Linux Operations
MaGe Linux Operations
Mar 26, 2026 · Operations

How to Diagnose and Fix Port Connectivity Issues on Linux Servers

This guide walks you through the root causes of "port unreachable" problems, explains TCP and UDP handshakes, and provides a seven‑layer troubleshooting framework with concrete commands, scripts, case studies, best‑practice recommendations, and monitoring setups for Linux environments.

SELinuxTCPUDP
0 likes · 37 min read
How to Diagnose and Fix Port Connectivity Issues on Linux Servers
Java Architect Handbook
Java Architect Handbook
Mar 25, 2026 · Fundamentals

TCP vs UDP: Deep Dive for Java Interview Success

This guide breaks down the core differences between TCP and UDP—including connection handling, reliability, header overhead, transmission mode, and real‑world use cases—while providing interview focus points, concise answer tables, detailed analysis, common follow‑up questions, and handy mnemonics for Java developers.

Java interviewNetworkingProtocol comparison
0 likes · 14 min read
TCP vs UDP: Deep Dive for Java Interview Success
Architect's Guide
Architect's Guide
Mar 3, 2026 · Fundamentals

Mastering TCP & HTTP Keepalive: Preventing Half-Open Connections

This article explains the concepts, purposes, and mechanisms of TCP keepalive and HTTP keepalive, detailing kernel parameters, timing intervals, and how they prevent half‑open connections, along with practical commands, configuration tips for servers like Nginx and Gunicorn, and the interaction between the two layers.

HTTPKeepaliveServer
0 likes · 10 min read
Mastering TCP & HTTP Keepalive: Preventing Half-Open Connections
Linux Tech Enthusiast
Linux Tech Enthusiast
Feb 24, 2026 · Fundamentals

Understanding the TCP Communication Protocol: Features, Handshakes, and Optimizations

This article explains TCP as a connection‑oriented, reliable byte‑stream transport protocol, detailing its header fields, state machine, three‑way handshake, four‑way termination, TIME_WAIT handling, Linux inspection commands, optimization techniques, and a comparison with UDP, all illustrated with concrete examples and diagrams.

LinuxSocketTCP
0 likes · 27 min read
Understanding the TCP Communication Protocol: Features, Handshakes, and Optimizations
Linux Tech Enthusiast
Linux Tech Enthusiast
Feb 21, 2026 · Fundamentals

What Happens After You Type a URL? A Step‑by‑Step Animation

When you enter a URL, the browser checks multiple caches for the IP, performs recursive DNS lookup if needed, establishes a TCP connection and HTTPS handshake, sends an HTTP request, receives a 200 response, and then parses HTML, CSS, and JavaScript to build and render the page.

Browser RenderingDNSHTTPS
0 likes · 4 min read
What Happens After You Type a URL? A Step‑by‑Step Animation
Architect's Guide
Architect's Guide
Feb 14, 2026 · Backend Development

Master TCP/UDP, Socket Long Connections, and Build a Node.js Socket Pool

This tutorial walks through the OSI model, explains TCP three‑way handshake and four‑way termination, compares TCP and UDP, addresses common TCP tuning questions, describes long versus short socket connections with heartbeats, and shows how to design a custom protocol and implement a reusable Socket connection pool in Node.js.

Connection PoolNetwork ProtocolsNode.js
0 likes · 15 min read
Master TCP/UDP, Socket Long Connections, and Build a Node.js Socket Pool
Deepin Linux
Deepin Linux
Jan 30, 2026 · Backend Development

Master Linux TCP: System Calls, Handshakes, and Real‑World Code

This article provides a comprehensive guide to Linux TCP development, explaining the role of system calls, the three‑way handshake and four‑way termination, detailing core socket functions such as socket, bind, listen, accept, connect, read/write, recv/send, and includes complete example code for building a simple TCP server and client with troubleshooting tips.

CLinuxTCP
0 likes · 41 min read
Master Linux TCP: System Calls, Handshakes, and Real‑World Code
Linux Tech Enthusiast
Linux Tech Enthusiast
Jan 21, 2026 · Fundamentals

Understanding TCP: Protocol Basics, Handshakes, States, and Performance Optimizations

TCP is a connection‑oriented, reliable, byte‑stream transport protocol; this article explains its header fields, state diagram, three‑way handshake, four‑way termination, TIME_WAIT handling, optimization techniques, and contrasts it with UDP, providing detailed Linux commands and kernel parameters.

HandshakeLinuxPerformance Optimization
0 likes · 26 min read
Understanding TCP: Protocol Basics, Handshakes, States, and Performance Optimizations
Linux Tech Enthusiast
Linux Tech Enthusiast
Jan 18, 2026 · Fundamentals

A Visual Guide to TCP, UDP, Flow Control, and Congestion Control

This article explains TCP and UDP fundamentals, detailing TCP header fields, flow‑control and congestion‑control mechanisms, the three‑way handshake and four‑way termination, UDP’s connectionless nature, and a side‑by‑side comparison of the two protocols.

Flow ControlNetwork ProtocolsNetworking Fundamentals
0 likes · 11 min read
A Visual Guide to TCP, UDP, Flow Control, and Congestion Control
Ray's Galactic Tech
Ray's Galactic Tech
Jan 7, 2026 · Backend Development

Why Netty Servers Accumulate CLOSE_WAIT Connections and How to Fix Them

Netty services can accumulate CLOSE_WAIT sockets when the server fails to close its side of the socket, leading to resource exhaustion and potential service collapse; this article explains the TCP state machine, common code pitfalls, kernel tuning, defensive handlers, and a comprehensive checklist to prevent and resolve the issue.

CLOSE_WAITConnection ManagementJava
0 likes · 8 min read
Why Netty Servers Accumulate CLOSE_WAIT Connections and How to Fix Them
Raymond Ops
Raymond Ops
Jan 7, 2026 · Operations

Boost Linux Network Performance: Practical TCP/IP Stack Tuning Guide

This guide explains why network performance becomes a bottleneck in high‑traffic Linux servers and provides a step‑by‑step set of sysctl tweaks, buffer adjustments, congestion‑control choices, interrupt balancing, and monitoring scripts to dramatically improve throughput and latency.

LinuxNetwork TuningTCP
0 likes · 12 min read
Boost Linux Network Performance: Practical TCP/IP Stack Tuning Guide
MaGe Linux Operations
MaGe Linux Operations
Jan 4, 2026 · Operations

Why Your API Service Hits 200k TIME_WAIT Connections and How to Fix It

This article explains why high‑traffic Linux services can exhaust TCP connections with massive TIME_WAIT and CLOSE_WAIT counts, shows how to diagnose the problem using netstat/ss commands, and provides concrete kernel‑parameter tweaks, connection‑pool strategies, and monitoring scripts to restore stability.

Network TuningTCPmonitoring
0 likes · 21 min read
Why Your API Service Hits 200k TIME_WAIT Connections and How to Fix It
Architect's Guide
Architect's Guide
Dec 27, 2025 · Operations

How Many TCP Connections Can a Single Server Actually Support? Limits, Configurations, and Calculations

This article explains the Linux kernel limits that determine how many files and TCP connections a server can handle, shows how to adjust fs.file-max, soft/hard nofile and fs.nr_open parameters, calculates realistic connection counts based on memory, and discusses client‑side port constraints and practical scaling scenarios.

LinuxNetworkingTCP
0 likes · 15 min read
How Many TCP Connections Can a Single Server Actually Support? Limits, Configurations, and Calculations
IT Services Circle
IT Services Circle
Dec 25, 2025 · Fundamentals

Why Does TCP Need a Three‑Way Handshake? Unpacking the Connection Ritual

This article explains the three‑step TCP handshake, detailing how SYN, SYN‑ACK, and ACK packets establish a reliable connection, why two‑step handshakes are unsafe, why a four‑step process is unnecessary, and how the protocol ensures ordered, secure data transmission.

Connection establishmentNetwork ProtocolsReliability
0 likes · 9 min read
Why Does TCP Need a Three‑Way Handshake? Unpacking the Connection Ritual
NiuNiu MaTe
NiuNiu MaTe
Dec 23, 2025 · Fundamentals

Why TCP Needs a Three‑Way Handshake: The Secret Behind Reliable Connections

TCP’s three‑way handshake is a carefully designed three‑step “social ritual” that establishes a reliable connection by exchanging SYN, SYN‑ACK, and ACK packets, each carrying sequence numbers and flags to confirm readiness, prevent “ghost” connections, and ensure ordered, secure data transmission.

Connection establishmentReliabilitySequence numbers
0 likes · 10 min read
Why TCP Needs a Three‑Way Handshake: The Secret Behind Reliable Connections
Java Companion
Java Companion
Nov 29, 2025 · Backend Development

Why Do We Still Need HTTP and RPC When TCP Exists?

The article explains how TCP provides reliable byte‑stream transport but lacks message boundaries, how HTTP adds structured semantics with headers like Content‑Length, and why RPC frameworks such as gRPC are introduced to make remote calls feel like local method invocations, especially in modern microservice architectures.

HTTPMicroservicesRPC
0 likes · 11 min read
Why Do We Still Need HTTP and RPC When TCP Exists?
macrozheng
macrozheng
Nov 28, 2025 · Operations

How Many TCP Connections Can a Single Server Actually Handle?

This article explains the theoretical and practical limits of TCP connections on a Linux server, covering kernel parameters such as fs.file-max, soft/hard nofile and fs.nr_open, memory constraints, client port limits, and step‑by‑step configuration examples to maximize concurrent connections.

LinuxNetworkingTCP
0 likes · 14 min read
How Many TCP Connections Can a Single Server Actually Handle?
BirdNest Tech Talk
BirdNest Tech Talk
Nov 20, 2025 · Fundamentals

From write() to recv(): Tracing a Packet Through the Linux Kernel

This article walks through every stage a packet undergoes inside the Linux kernel—from the moment an application calls write() or send() to the final recv() call—covering socket handling, routing, ARP/NDP resolution, queuing, NIC offloads, and reassembly with concrete commands and code examples.

KernelLinuxNetworking
0 likes · 19 min read
From write() to recv(): Tracing a Packet Through the Linux Kernel
Ops Community
Ops Community
Nov 19, 2025 · Operations

Why Are Your TCP Packets Dropping? A 3‑Day Capture Walkthrough to Kernel Parameter Fixes

This guide walks you through diagnosing intermittent TCP packet loss and latency spikes on Linux servers, from initial symptom checks and anti‑pattern warnings to detailed sender‑side, network‑link, and receiver‑side investigations using tcpdump, netstat, ss, and kernel tuning, complete with scripts, best‑practice tables and FAQ.

Kernel ParametersLinuxNetwork Diagnostics
0 likes · 37 min read
Why Are Your TCP Packets Dropping? A 3‑Day Capture Walkthrough to Kernel Parameter Fixes
Java Backend Technology
Java Backend Technology
Nov 17, 2025 · Databases

Why a Single MySQL Connection Can Cost Over 200 ms – A Deep Dive

This article examines the detailed steps and timing of establishing a MySQL connection from a Java web application, measuring network round‑trips and total latency, and demonstrates how even a minimal connection can consume hundreds of milliseconds, making connection pooling essential for high‑traffic services.

Connection PoolDatabase ConnectionJava
0 likes · 8 min read
Why a Single MySQL Connection Can Cost Over 200 ms – A Deep Dive
Radish, Keep Going!
Radish, Keep Going!
Nov 16, 2025 · Fundamentals

Tech Highlights: Unofficial Teams Linux Client, AI Prompt Engineering, TCP Deep Dive & More

A curated roundup of recent tech developments covering an open‑source Linux Teams client, a profit‑margin primer, a showdown between traditional machine learning and prompt engineering, Google’s near‑perfect handwriting model, VPN legislation concerns, a classic game anniversary, Go’s 16‑year milestone, a TCP deep‑dive, and an investigation into pressure on Archive.today.

GoLinuxMicrosoft Teams
0 likes · 9 min read
Tech Highlights: Unofficial Teams Linux Client, AI Prompt Engineering, TCP Deep Dive & More
Xiao Liu Lab
Xiao Liu Lab
Nov 12, 2025 · Operations

Why TIME_WAIT Isn't a Problem and How to Optimize It

TIME_WAIT is a normal TCP state designed to prevent stray packets, but high volumes can indicate inefficient connection handling; this guide explains its mechanics, common causes, monitoring commands, and practical kernel and application-level tuning strategies to reduce TIME_WAIT buildup in high‑traffic services.

Connection PoolLinuxTCP
0 likes · 12 min read
Why TIME_WAIT Isn't a Problem and How to Optimize It
Deepin Linux
Deepin Linux
Nov 5, 2025 · Fundamentals

Unlocking the Secrets of TCP/IP: From Basics to Real-World Applications

This comprehensive guide explains how TCP/IP functions as the Internet's traffic rules, details each protocol in the suite, explores the four‑layer model, showcases practical C++ socket examples, and provides troubleshooting tips for real‑world networking scenarios.

CNetwork ProtocolsTCP
0 likes · 45 min read
Unlocking the Secrets of TCP/IP: From Basics to Real-World Applications
Tech Musings
Tech Musings
Nov 4, 2025 · Backend Development

Simplifying a Four‑Layer TCP Proxy in Go: From Custom Goroutine Loops to io.Copy

The article recounts the original complex implementation of a four‑layer TCP proxy in Easegress, explains why using separate read/write goroutines and custom buffers caused error‑handling and flow‑control difficulties, and then shows how switching to Go's io.Copy (and its variants) dramatically simplifies the code while preserving performance through zero‑copy techniques.

GoProxyTCP
0 likes · 17 min read
Simplifying a Four‑Layer TCP Proxy in Go: From Custom Goroutine Loops to io.Copy
MaGe Linux Operations
MaGe Linux Operations
Oct 24, 2025 · Operations

Why Did TCP Connections Skyrocket from 15K to 65K? Full Diagnosis and Fix

This postmortem details a production outage caused by a sudden surge of TCP connections from 15 K to 65 K, explains how to reproduce the issue, walks through step‑by‑step diagnostics, root‑cause analysis, and permanent remediation using Linux kernel tuning, connection‑pool configuration, and monitoring alerts.

Connection leakLinuxTCP
0 likes · 32 min read
Why Did TCP Connections Skyrocket from 15K to 65K? Full Diagnosis and Fix
JavaGuide
JavaGuide
Oct 21, 2025 · Backend Development

Xiaohongshu’s Explosive Salaries and a Complete Backend Interview Guide

The article reveals Xiaohongshu’s unusually high 2023 campus recruitment packages—over 51 w annual total—while also providing an extensive backend interview preparation guide covering TCP vs UDP differences, design patterns, workflow versus rule engines, message‑queue selection, and Redis data structures and eviction policies.

Backend DevelopmentDesign PatternsInterview Preparation
0 likes · 32 min read
Xiaohongshu’s Explosive Salaries and a Complete Backend Interview Guide
Liangxu Linux
Liangxu Linux
Oct 16, 2025 · Operations

How Many TCP Connections Can a Linux Server Actually Handle?

This article explains the Linux limits on open files and TCP connections, describes the three key kernel parameters (fs.file-max, soft/hard nofile, fs.nr_open), shows how to adjust them, and estimates realistic connection counts for servers and clients based on memory and port constraints.

LinuxServer ConfigurationTCP
0 likes · 15 min read
How Many TCP Connections Can a Linux Server Actually Handle?
IT Services Circle
IT Services Circle
Oct 13, 2025 · Fundamentals

Understanding TCP Flow Control vs Congestion Control: Key Differences and Mechanisms

This article explains TCP’s flow control and congestion control mechanisms, detailing sliding window operation, zero‑window probing, SWS, window scaling, and the core congestion algorithms (slow start, congestion avoidance, fast retransmit/recovery), and clearly contrasts their purposes, scopes, and key variables.

Flow ControlNetwork ProtocolsSliding Window
0 likes · 14 min read
Understanding TCP Flow Control vs Congestion Control: Key Differences and Mechanisms
Architect's Must-Have
Architect's Must-Have
Oct 11, 2025 · Fundamentals

How Many Concurrent TCP Connections Can a Server Actually Handle?

This article explains the theoretical and practical limits of concurrent TCP connections on a single Linux server, clarifying the role of port numbers, the 4‑tuple identification, and how memory and file‑descriptor limits, not the 65535 port ceiling, determine real‑world capacity.

LinuxTCPconcurrent connections
0 likes · 11 min read
How Many Concurrent TCP Connections Can a Server Actually Handle?
Raymond Ops
Raymond Ops
Oct 9, 2025 · Fundamentals

What Is a Computer Network? From OSI Layers to TCP/UDP and DNS Explained

This article introduces computer networks by defining them, describing their hardware and software components, functions, classification by scope and topology, then explains the OSI seven‑layer model, the differences between TCP and UDP protocols, DNS operation, and the step‑by‑step process a user follows to access a website.

Computer NetworksDNSOSI model
0 likes · 26 min read
What Is a Computer Network? From OSI Layers to TCP/UDP and DNS Explained
Raymond Ops
Raymond Ops
Oct 8, 2025 · Fundamentals

Master TCP Handshakes: The Simplest Guide to 3‑Way and 4‑Way Connections

This comprehensive tutorial explains TCP's connection establishment and termination processes, covering protocol features, key flag definitions, step‑by‑step three‑way handshake and four‑way teardown, common interview questions, TIME_WAIT details, abnormal scenarios, and a Wireshark packet‑capture walkthrough.

Connection ManagementHandshakeTCP
0 likes · 11 min read
Master TCP Handshakes: The Simplest Guide to 3‑Way and 4‑Way Connections
Architect
Architect
Oct 3, 2025 · Backend Development

How to Build a Scalable Netty TCP Client with Redis Queue and Spring Boot

This article walks through a complete Netty TCP client demo for IoT messaging, covering project architecture, module layout, business flow, detailed code explanations—including a local BlockingQueue replacement for RocketMQ, thread‑safe client creation with Redis locks, and testing endpoints—providing a practical reference for building robust socket‑based services.

IoTJavaNetty
0 likes · 20 min read
How to Build a Scalable Netty TCP Client with Redis Queue and Spring Boot
IT Services Circle
IT Services Circle
Sep 30, 2025 · Fundamentals

Why Port 0 Exists: Hidden Uses, Risks, and How to Handle It

Port 0 is a legal but reserved value that can be used by operating systems to assign temporary ports, yet it also appears in abnormal traffic, so understanding its semantics, proper usage in code, and how firewalls and security tools treat it is essential for developers and operators.

NetworkingSocketTCP
0 likes · 8 min read
Why Port 0 Exists: Hidden Uses, Risks, and How to Handle It
Code Wrench
Code Wrench
Sep 24, 2025 · Backend Development

Master Go Network Protocols: From TCP/UDP to HTTP/3 and TLS

This guide walks Go developers through the OSI and TCP/IP layering models, explains key transport and application protocols such as TCP, UDP, HTTP/1.1, HTTP/2, HTTP/3, RPC, WebSocket, and TLS, and provides practical Go code snippets and deployment tips for building performant, secure, and real‑time services.

GoHTTPNetwork Protocols
0 likes · 7 min read
Master Go Network Protocols: From TCP/UDP to HTTP/3 and TLS
Raymond Ops
Raymond Ops
Sep 17, 2025 · Fundamentals

Why UDP Is the Wild West of Internet Protocols and How TCP Tames It

This article compares UDP and TCP by using vivid analogies, explaining UDP's connectionless, fast but unreliable nature and TCP's reliable, connection‑oriented handshake and termination processes, while highlighting their respective advantages, drawbacks, and typical real‑time application scenarios.

ConnectionlessHandshakeNetwork Protocols
0 likes · 10 min read
Why UDP Is the Wild West of Internet Protocols and How TCP Tames It
Architect's Guide
Architect's Guide
Sep 6, 2025 · Fundamentals

Mastering TCP/UDP, HTTP, and Socket Connection Pools: A Complete Guide

This article walks developers through the OSI model, explains TCP three‑way handshake and four‑way termination, compares TCP and UDP, discusses socket long connections, heartbeat mechanisms, custom application‑layer protocols, and implements a Node.js socket connection pool for high‑concurrency scenarios.

Connection PoolNetwork ProtocolsOSI model
0 likes · 17 min read
Mastering TCP/UDP, HTTP, and Socket Connection Pools: A Complete Guide
Raymond Ops
Raymond Ops
Sep 4, 2025 · Operations

Mastering TCP Connection States and Linux Backlog Tuning

This article explains all TCP connection states, the three‑way handshake and four‑way termination, details half‑open and full‑open queues, shows how to monitor and troubleshoot listen and accept queue overflows, and lists key Linux kernel parameters for optimizing TCP performance.

BacklogConnection StatesLinux kernel
0 likes · 18 min read
Mastering TCP Connection States and Linux Backlog Tuning
Efficient Ops
Efficient Ops
Aug 31, 2025 · Fundamentals

Master Computer Network Fundamentals: TCP/UDP, HTTP, Socket & More

This comprehensive guide walks readers through the fundamentals of computer networking, covering architecture models, TCP and UDP protocols, HTTP basics, socket programming, IP addressing, ICMP, Ping, and related concepts such as routers, cookies, and token authentication, all illustrated with clear diagrams.

Computer NetworksHTTPICMP
0 likes · 9 min read
Master Computer Network Fundamentals: TCP/UDP, HTTP, Socket & More
Cognitive Technology Team
Cognitive Technology Team
Aug 24, 2025 · Fundamentals

Why TCP’s Three‑Way Handshake and Four‑Way Teardown Matter for Reliable Networks

Understanding TCP’s three‑way handshake and four‑way termination reveals how reliable connections are established and gracefully closed, highlighting the protocol’s core mechanisms—sequence numbers, acknowledgments, flow control, and TIME‑WAIT—while also addressing performance considerations, optimization techniques, and the future impact of emerging protocols like QUIC.

HandshakeNetworkingReliability
0 likes · 12 min read
Why TCP’s Three‑Way Handshake and Four‑Way Teardown Matter for Reliable Networks
Raymond Ops
Raymond Ops
Aug 7, 2025 · Operations

Master Linux TCP Settings: Tuning /proc/sys/net/ipv4 for Better Performance

This article explains the purpose of the /proc/sys/net/ipv4 and /proc/sys/net/core directories, lists essential TCP kernel parameters with their default and recommended values, shows how to view and modify them permanently using sysctl or echo, and provides commands for checking network interface statistics on a Linux system.

KernelNetworkingTCP
0 likes · 15 min read
Master Linux TCP Settings: Tuning /proc/sys/net/ipv4 for Better Performance
FunTester
FunTester
Jul 4, 2025 · Fundamentals

Mastering TCP: How SACK, Delayed ACK, and RTT Boost Performance Testing

Understanding TCP's Selective Acknowledgment (SACK), Delayed ACK, and Round‑Trip Time (RTT) mechanisms is essential for performance and fault testing, as they improve retransmission efficiency, balance latency and bandwidth, and influence timeout calculations, enabling engineers to design precise test scenarios and optimize network reliability.

Delayed ACKNetwork ProtocolsPerformance Testing
0 likes · 9 min read
Mastering TCP: How SACK, Delayed ACK, and RTT Boost Performance Testing
Efficient Ops
Efficient Ops
Jun 30, 2025 · Operations

Why TIME_WAIT Connections Exhaust Your Server and How to Fix Them

TIME_WAIT is a TCP state that appears on the side actively closing a connection; when many sockets linger in this state, ports are exhausted, causing connection failures, and the article explains typical scenarios, underlying causes, kernel limits, and practical client‑ and server‑side solutions.

Connection ManagementKernel ParametersLinux
0 likes · 5 min read
Why TIME_WAIT Connections Exhaust Your Server and How to Fix Them
Deepin Linux
Deepin Linux
Jun 28, 2025 · Fundamentals

Why Does TCP/UDP Lose Packets? Deep Dive into Causes and Fixes

This article explores the root causes of packet loss in TCP and UDP—including application bugs, kernel buffer limits, network congestion, protocol limitations, and handshake failures—and presents practical solutions such as code optimization, socket tuning, congestion‑control adjustments, and forward error correction techniques.

Packet LossTCPUDP
0 likes · 25 min read
Why Does TCP/UDP Lose Packets? Deep Dive into Causes and Fixes
FunTester
FunTester
Jun 27, 2025 · Fundamentals

Mastering TCP Retransmission: Boost Your Testing Efficiency

This article explains the core principles of TCP's retransmission mechanisms, outlines four common strategies, discusses how high retransmission rates indicate network or server issues, and provides practical methods for test engineers to diagnose, monitor, and optimize TCP reliability in performance testing scenarios.

Performance OptimizationReliabilityTCP
0 likes · 11 min read
Mastering TCP Retransmission: Boost Your Testing Efficiency
Architect
Architect
Jun 10, 2025 · Operations

How Many TCP Connections Can a Server Really Handle? Limits and Tuning

This article explains the practical limits on how many TCP connections a Linux server or client can support, covering file‑descriptor parameters, memory consumption per socket, kernel tuning examples, and scaling calculations for large‑scale long‑connection services.

LinuxSystem TuningTCP
0 likes · 15 min read
How Many TCP Connections Can a Server Really Handle? Limits and Tuning
Open Source Linux
Open Source Linux
Jun 10, 2025 · Operations

Master Linux Network Tuning for High‑Concurrency: A Practical Guide

This article walks through real‑world high‑concurrency Linux network bottlenecks, explains critical kernel parameters, shows how to diagnose connection‑state issues, and provides step‑by‑step sysctl and script tweaks that dramatically reduce TIME_WAIT buildup, expand queue capacities, and double throughput for millions of simultaneous connections.

Network TuningPerformance OptimizationTCP
0 likes · 8 min read
Master Linux Network Tuning for High‑Concurrency: A Practical Guide
Architect's Guide
Architect's Guide
Jun 9, 2025 · Fundamentals

Why 65,535 Isn’t the True Limit for TCP Connections on Linux Servers

The article explains that the 65,535 limit refers only to available port numbers, while actual TCP concurrency on Linux depends on the 4‑tuple identification, memory, file‑descriptor limits, and port reuse, allowing servers to handle far more connections than the port count suggests.

LinuxNetworkingSocket
0 likes · 12 min read
Why 65,535 Isn’t the True Limit for TCP Connections on Linux Servers
Open Source Tech Hub
Open Source Tech Hub
May 18, 2025 · Backend Development

Build Real-Time TCP and WebSocket Services with GatewayWorker on Windows

This guide introduces GatewayWorker, a PHP‑based distributed TCP long-connection framework, explains its Gateway-Worker process model, and provides step-by-step Windows demo instructions for both TCP and WebSocket protocols, highlighting deployment, code changes, testing procedures, and suitable real-time communication scenarios.

BackendGatewayWorkerPHP
0 likes · 6 min read
Build Real-Time TCP and WebSocket Services with GatewayWorker on Windows
Liangxu Linux
Liangxu Linux
May 14, 2025 · Fundamentals

Can TCP and UDP Share the Same Port? A Deep Dive into Port Mechanics

This article breaks down the interview question "Can TCP and UDP use the same port?" by examining protocol-level port spaces, client‑side TCP and UDP port sharing rules, server‑side TCP reuse with SO_REUSEADDR, and UDP reuse with SO_REUSEPORT, complete with code examples and practical implications.

Network programmingPort SharingSO_REUSEADDR
0 likes · 17 min read
Can TCP and UDP Share the Same Port? A Deep Dive into Port Mechanics
Liangxu Linux
Liangxu Linux
May 12, 2025 · Operations

How NodePass Simplifies Secure Network Tunneling Across Firewalls

NodePass is an open‑source Go‑based network tunnel tool that lets developers and ops quickly create encrypted TCP/UDP bridges through firewalls and NAT, offering server/client modes, flexible encryption, zero‑config deployment, Docker images, and detailed logging for reliable remote access.

DevOpsDockerNodePass
0 likes · 10 min read
How NodePass Simplifies Secure Network Tunneling Across Firewalls
Liangxu Linux
Liangxu Linux
May 5, 2025 · Fundamentals

Why UDP Is the Speedy Rogue and TCP the Polite Gentleman

This article uses vivid analogies to compare UDP’s fast, connection‑less, unordered packet delivery with TCP’s reliable, connection‑oriented handshake, flow control, and ordered transmission, outlining each protocol’s characteristics, advantages, drawbacks, and typical real‑time applications such as live streaming, gaming, and video calls.

InternetNetworkingProtocols
0 likes · 10 min read
Why UDP Is the Speedy Rogue and TCP the Polite Gentleman
php Courses
php Courses
Apr 24, 2025 · Backend Development

Introduction to Socket Programming in Python: TCP and UDP Examples

This article explains the fundamentals of socket programming in Python, covering basic concepts such as IP addresses, ports, and protocols, and provides complete TCP and UDP server/client code examples along with common troubleshooting tips and advanced modules for building robust network applications.

PythonTCPUDP
0 likes · 7 min read
Introduction to Socket Programming in Python: TCP and UDP Examples
Deepin Linux
Deepin Linux
Apr 21, 2025 · Fundamentals

TCP Protocol: Overview, Mechanisms, and Practical Usage

This article provides a comprehensive English guide to the Transmission Control Protocol (TCP), covering its connection‑oriented design, reliability features, packet structure, three‑way handshake, data transfer process, flow and congestion control, four‑step termination, and example C++ socket code for establishing, sending, receiving, and closing TCP connections.

C++ SocketFlow ControlTCP
0 likes · 42 min read
TCP Protocol: Overview, Mechanisms, and Practical Usage
MaGe Linux Operations
MaGe Linux Operations
Apr 18, 2025 · Fundamentals

Why TCP Needs Three Handshakes and Four Teardowns: A Beginner’s Guide

This guide explains TCP's three-way handshake and four-way termination, covering protocol characteristics, key terminology, step‑by‑step packet flows, reasons behind each phase, TIME_WAIT details, abnormal scenarios, and common interview questions for networking fundamentals.

Four‑Way TeardownTCPThree-way handshake
0 likes · 8 min read
Why TCP Needs Three Handshakes and Four Teardowns: A Beginner’s Guide
Su San Talks Tech
Su San Talks Tech
Apr 4, 2025 · Backend Development

Master Ant Group Backend Interview: Java, MySQL, TCP, Zookeeper & Redis Secrets

This article walks through Ant Group's bonus structure, explains Java heap vs stack, String object creation, TCP packet issues, MySQL index types, B+‑tree advantages, database lock mechanisms, and shows how Zookeeper and Redis implement distributed coordination and locking, providing concrete code examples and best‑practice recommendations.

JavaTCPZooKeeper
0 likes · 27 min read
Master Ant Group Backend Interview: Java, MySQL, TCP, Zookeeper & Redis Secrets
ITPUB
ITPUB
Mar 24, 2025 · Fundamentals

Can TCP and UDP Share the Same Port? Deep Dive into OS Port Management

This article explains why TCP and UDP can use the same numeric port, how client and server processes manage port sharing, and the role of socket options like SO_REUSEADDR and SO_REUSEPORT in enabling high‑availability and load‑balanced networking.

Port SharingTCPUDP
0 likes · 16 min read
Can TCP and UDP Share the Same Port? Deep Dive into OS Port Management
MaGe Linux Operations
MaGe Linux Operations
Mar 18, 2025 · Fundamentals

Why UDP Is the Wild West of Networking and How TCP Tames It

This article contrasts the fast, connection‑less nature of UDP with the reliable, connection‑oriented TCP, outlines their key characteristics and handshake processes, and then introduces a comprehensive 570‑command Linux cheat‑sheet for administrators and developers.

NetworkingProtocolsTCP
0 likes · 12 min read
Why UDP Is the Wild West of Networking and How TCP Tames It
Liangxu Linux
Liangxu Linux
Mar 11, 2025 · Fundamentals

Understanding TCP Connection States and Linux Backlog Tuning

This article explains the 11 TCP connection states, the three‑way handshake, the distinction between half‑open and full‑open queues, common backlog‑related problems, diagnostic commands, and key Linux kernel sysctl parameters for tuning TCP performance.

BacklogConnection StatesLinux
0 likes · 19 min read
Understanding TCP Connection States and Linux Backlog Tuning
Deepin Linux
Deepin Linux
Mar 1, 2025 · Backend Development

Comprehensive Guide to C++ Network Programming Interview Questions

This article provides an extensive overview of C++ network programming concepts frequently asked in interviews, covering sockets, TCP/UDP differences, I/O multiplexing models, handshake mechanisms, packet framing issues, concurrency strategies, code examples for servers and clients, and performance optimization techniques.

C++Network programmingSockets
0 likes · 85 min read
Comprehensive Guide to C++ Network Programming Interview Questions
Raymond Ops
Raymond Ops
Feb 25, 2025 · Fundamentals

Understanding the OSI Model: A Layer‑by‑Layer Guide

This article provides a comprehensive overview of the OSI model, explaining the purpose of each of its seven layers, their responsibilities, typical devices and protocols involved, and how data moves from the physical medium up to the application level.

LayersNetworkingOSI model
0 likes · 17 min read
Understanding the OSI Model: A Layer‑by‑Layer Guide
MaGe Linux Operations
MaGe Linux Operations
Feb 19, 2025 · Fundamentals

Mastering TCP Connection States: From Handshake to Backlog Tuning

This article explains the eleven TCP connection states, details the three‑way handshake and four‑way termination processes, compares half‑ and full‑connection queues, and provides Linux kernel parameters and commands for tuning server backlog and handling common TCP issues.

BacklogConnection StatesHandshake
0 likes · 20 min read
Mastering TCP Connection States: From Handshake to Backlog Tuning
BirdNest Tech Talk
BirdNest Tech Talk
Jan 6, 2025 · Backend Development

Mastering Go’s net Package: Listener, Dial, and Conn Functions Explained

This comprehensive guide walks through Go’s net package, detailing how Listener functions create servers, how Dial functions initiate client connections, the nuances of network and address formats, and the behavior of various Conn types such as TCPConn, UDPConn, IPConn, and RawConn, complete with code examples and best‑practice tips.

GoNetwork programmingTCP
0 likes · 32 min read
Mastering Go’s net Package: Listener, Dial, and Conn Functions Explained
Deepin Linux
Deepin Linux
Dec 18, 2024 · Backend Development

Understanding Linux Kernel Sockets: Concepts, Types, and API Functions

This article provides a comprehensive overview of Linux socket programming, covering socket definitions, classifications such as stream, datagram, and raw sockets, connection-oriented versus connectionless communication, IP/port/MAC addressing, byte order considerations, and practical C API examples for creating and using sockets.

CLinuxSocket
0 likes · 35 min read
Understanding Linux Kernel Sockets: Concepts, Types, and API Functions
Open Source Linux
Open Source Linux
Dec 5, 2024 · Fundamentals

Mastering TCP State Machine: From LISTEN to TIME_WAIT Explained

This article provides a comprehensive guide to TCP connection states, common Linux commands for monitoring them, detailed explanations of each state transition, three‑way handshake, four‑way termination, flag meanings, keep‑alive mechanisms, and practical sysctl tuning to troubleshoot network issues.

KeepaliveSocketTCP
0 likes · 29 min read
Mastering TCP State Machine: From LISTEN to TIME_WAIT Explained