Tagged articles

TCP

614 articles · Page 5 of 7
Refining Core Development Skills
Refining Core Development Skills
Feb 24, 2021 · Backend Development

Achieving One Million TCP Connections: Theory, Kernel Tuning, and Practical Implementation in C/Java/PHP

This article explains TCP concurrency theory, details two experimental approaches for reaching one million simultaneous connections using multi‑IP or multi‑port strategies, and provides step‑by‑step kernel tuning, source code, and validation commands for C, Java, and PHP implementations.

BenchmarkTCPjava
0 likes · 16 min read
Achieving One Million TCP Connections: Theory, Kernel Tuning, and Practical Implementation in C/Java/PHP
Code Ape Tech Column
Code Ape Tech Column
Feb 2, 2021 · Backend Development

Implementing Heartbeat and Reconnection Mechanisms with Netty in Java

This article explains the concept of TCP heartbeat, demonstrates how to use Netty's IdleStateHandler to implement client‑server heartbeat detection, and provides a complete Java example with reconnection logic, retry policies, and detailed code snippets for building a robust long‑connection service.

NettyTCPheartbeat
0 likes · 18 min read
Implementing Heartbeat and Reconnection Mechanisms with Netty in Java
Top Architect
Top Architect
Feb 1, 2021 · Backend Development

Implementing Heartbeat Mechanism and Reconnection Logic with Netty

This article explains how to implement a TCP heartbeat mechanism using Netty's IdleStateHandler, details client and server handler implementations, and demonstrates a robust reconnection strategy with customizable retry policies, providing complete Java code examples for each component.

TCPheartbeatnetworking
0 likes · 19 min read
Implementing Heartbeat Mechanism and Reconnection Logic with Netty
Code Ape Tech Column
Code Ape Tech Column
Jan 25, 2021 · Fundamentals

Mastering TCP: Handshake, Flow Control, Congestion Control and More

This comprehensive guide explains TCP fundamentals—including the differences between TCP and UDP, the three‑way handshake, four‑way termination, half‑open queues, SYN‑Flood attacks, header fields, Fast Open, timestamps, retransmission timeout calculation, flow and congestion control, Nagle's algorithm, delayed ACKs, and keep‑alive mechanisms—providing clear examples and diagrams for each concept.

Congestion ControlFlow ControlHandshake
0 likes · 29 min read
Mastering TCP: Handshake, Flow Control, Congestion Control and More
Architecture Digest
Architecture Digest
Jan 23, 2021 · Fundamentals

Understanding Linux TCP Socket Implementation and System Tuning

This article explains how Linux manages TCP sockets at the kernel level, demonstrates how to adjust port ranges and file‑descriptor limits, and shows the key data structures and lookup functions that enable high‑concurrency TCP connections, providing practical guidance for scaling client connections.

Linux kernelPerformancePort Range
0 likes · 8 min read
Understanding Linux TCP Socket Implementation and System Tuning
Programmer DD
Programmer DD
Jan 18, 2021 · Fundamentals

Why HTTP/3 Is the Next Leap for the Web: From TCP to QUIC

This article traces the evolution of the HTTP protocol from its early days through HTTP/1.0, 1.1, SPDY, HTTP/2, and finally to HTTP/3, explaining how QUIC over UDP addresses TCP's latency and security limitations while also highlighting remaining challenges.

HTTP/3Network PerformanceQUIC
0 likes · 15 min read
Why HTTP/3 Is the Next Leap for the Web: From TCP to QUIC
Liangxu Linux
Liangxu Linux
Jan 17, 2021 · Fundamentals

Understanding TCP: Handshakes, Flow & Congestion Control Explained

This article provides a comprehensive overview of TCP fundamentals, comparing it with UDP, detailing the three‑way handshake and four‑way termination, explaining SYN flood attacks, describing the TCP header fields, fast open, timestamps, retransmission timeout calculations, flow and congestion control mechanisms, as well as Nagle's algorithm, delayed ACKs, and keep‑alive behavior.

Congestion ControlFlow ControlHandshake
0 likes · 29 min read
Understanding TCP: Handshakes, Flow & Congestion Control Explained
Python Crawling & Data Mining
Python Crawling & Data Mining
Jan 17, 2021 · Fundamentals

Mastering TCP: Handshakes, Packet Structure, and Real‑World Wireshark Analysis

This article provides a comprehensive guide to TCP, covering its definition, connection-oriented nature, reliability, byte‑stream model, detailed packet header fields, three‑way handshake, four‑way termination, MTU/MSS concepts, Python simulation scripts, Wireshark capture techniques, common pitfalls, and practical networking programming steps.

HandshakeMSSMTU
0 likes · 29 min read
Mastering TCP: Handshakes, Packet Structure, and Real‑World Wireshark Analysis
Open Source Linux
Open Source Linux
Jan 6, 2021 · Operations

Boost Nginx Performance: Essential Linux System Parameter Tweaks

This guide explains how to optimize Linux kernel parameters and Nginx settings—such as file descriptor limits, TCP queue lengths, temporary ports, worker processes, KeepAlive, and log buffering—to significantly improve server performance and handle high traffic loads.

LinuxNGINXPerformance Tuning
0 likes · 8 min read
Boost Nginx Performance: Essential Linux System Parameter Tweaks
Architecture Digest
Architecture Digest
Jan 3, 2021 · Operations

Understanding How Many Concurrent TCP Connections a Server Can Actually Support

This article explains the true limits of concurrent TCP connections on a server, debunks common misconceptions about port numbers, details the TCP four‑tuple theory, outlines Linux file‑descriptor restrictions, shows how to tune kernel buffers with sysctl, and shares a real‑world test achieving one million active connections.

LinuxTCPconcurrency
0 likes · 6 min read
Understanding How Many Concurrent TCP Connections a Server Can Actually Support
ITPUB
ITPUB
Dec 31, 2020 · Operations

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

This article demystifies common misconceptions about server concurrency, explains the theoretical maximum TCP connections based on the four‑tuple, details Linux file‑descriptor and buffer limits, and walks through a practical experiment that achieves over one million simultaneous connections on a single machine.

LinuxPerformanceTCP
0 likes · 7 min read
How Many TCP Connections Can One Server Really Handle? A Deep Dive into Linux Limits
Open Source Linux
Open Source Linux
Dec 29, 2020 · Fundamentals

Mastering TCP: Handshakes, Flow & Congestion Control, Fast Open and More

This comprehensive guide explains TCP vs UDP, the three‑way handshake, four‑way termination, half‑open queues, SYN‑Flood attacks, header fields, timestamps, Fast Open, retransmission timeout calculations, flow control, congestion control, Nagle’s algorithm, delayed ACKs and keep‑alive mechanisms, providing essential knowledge for networking interviews and system design.

Congestion ControlFlow ControlHandshake
0 likes · 35 min read
Mastering TCP: Handshakes, Flow & Congestion Control, Fast Open and More
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Dec 21, 2020 · Fundamentals

Illustrated Overview of TCP Protocol

This article presents an illustrated comic that explains the basic principles of the TCP protocol, highlighting its connection-oriented reliable transmission, congestion and flow control mechanisms, while noting that some details are simplified and encouraging readers to consult formal RFCs and the TCP/IP Illustrated volume for deeper study.

FundamentalsIllustratedTCP
0 likes · 5 min read
Illustrated Overview of TCP Protocol
Liangxu Linux
Liangxu Linux
Dec 14, 2020 · Backend Development

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

This article explains the true limits of simultaneous TCP connections on a single Linux server, debunking common myths about the 65,535 port ceiling, detailing kernel and user‑level file‑descriptor restrictions, sysctl buffer settings, and a practical experiment achieving one million concurrent connections.

LinuxNetwork ConnectionsTCP
0 likes · 7 min read
How Many TCP Connections Can One Server Really Handle? A Deep Dive
Efficient Ops
Efficient Ops
Dec 13, 2020 · Fundamentals

How SPDY Paved the Way for QUIC: From HTTP/1.1 to the Future of Web Transport

This article reviews the evolution of web communication protocols, detailing SPDY's pioneering features that influenced HTTP/2 and exploring QUIC's disruptive UDP‑based design, security mechanisms, multiplexing, connection migration, and other enhancements that reshape modern internet performance.

HTTP/2Network ProtocolsQUIC
0 likes · 12 min read
How SPDY Paved the Way for QUIC: From HTTP/1.1 to the Future of Web Transport
JavaEdge
JavaEdge
Dec 12, 2020 · Backend Development

Why Does TCP Have Sticky and Half Packets? Causes and Effective Solutions

This article explains why TCP experiences sticky and half packets, analyzes the underlying causes such as buffer size mismatches and MTU limits, and presents practical solutions including short connections, fixed‑length framing, delimiter‑based framing, and length‑field framing, with their advantages and trade‑offs.

NettyNetwork ProgrammingTCP
0 likes · 5 min read
Why Does TCP Have Sticky and Half Packets? Causes and Effective Solutions
Java Captain
Java Captain
Dec 10, 2020 · Backend Development

Implementing a Real-Time Network Chatroom in Java Using TCP and Multithreading

This article explains how to build a real‑time network chatroom in Java using TCP sockets, multithreading, and a ConcurrentHashMap to manage user connections, detailing command handling for listing users, group chat, private messages, exiting, and server shutdown, with full source code examples.

ChatroomNetwork ProgrammingSocket
0 likes · 14 min read
Implementing a Real-Time Network Chatroom in Java Using TCP and Multithreading
Open Source Linux
Open Source Linux
Dec 10, 2020 · Fundamentals

Unraveling TCP: From Handshakes to Congestion Control and Security

This comprehensive guide walks through TCP fundamentals—including its differences from UDP, the three‑way handshake, four‑way termination, half‑open queues, SYN‑Flood attacks, packet header fields, Fast Open, timestamps, RTT/RTO calculations, flow and congestion control, Nagle's algorithm, delayed ACKs, and keep‑alive mechanisms—providing clear explanations and visual diagrams for each concept.

TCPnetworking
0 likes · 27 min read
Unraveling TCP: From Handshakes to Congestion Control and Security
ITPUB
ITPUB
Dec 8, 2020 · Operations

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

This article demystifies the true maximum number of concurrent TCP connections a single Linux server can sustain, explaining the theoretical limits of the TCP four‑tuple, the practical constraints imposed by file descriptor and memory settings, and walks through a real‑world experiment achieving one million connections.

LinuxServerTCP
0 likes · 6 min read
How Many TCP Connections Can One Server Really Handle? A Deep Dive into Linux Limits
Liangxu Linux
Liangxu Linux
Dec 3, 2020 · Fundamentals

Mastering the Transport Layer: TCP, UDP, Sockets, and Port Mechanics

This article explains the role of the transport layer in the OSI model, compares TCP and UDP protocols, describes socket types and their APIs, clarifies port number usage, and details multiplexing, demultiplexing, and UDP packet structure with checksum calculation.

MultiplexingNetwork ProtocolsPort Numbers
0 likes · 20 min read
Mastering the Transport Layer: TCP, UDP, Sockets, and Port Mechanics
Wukong Talks Architecture
Wukong Talks Architecture
Dec 3, 2020 · Fundamentals

Explaining UDP vs TCP in Simple Terms

This article uses everyday analogies to compare UDP and TCP, outlines their core characteristics, typical use cases, and describes how to add TCP-like reliability features to UDP such as connection establishment, ordering, loss recovery, flow control, and congestion control.

Flow ControlReliabilityTCP
0 likes · 7 min read
Explaining UDP vs TCP in Simple Terms
MaGe Linux Operations
MaGe Linux Operations
Dec 2, 2020 · Fundamentals

Why HTTP/3 Matters: From TCP Roots to QUIC’s Future

This article traces the evolution of HTTP from its 1991 origins through HTTP/1.0, 1.1, HTTP/2, and finally HTTP/3, explaining how QUIC over UDP addresses TCP’s latency and security limitations while also highlighting remaining challenges.

HTTP/3Network PerformanceQUIC
0 likes · 12 min read
Why HTTP/3 Matters: From TCP Roots to QUIC’s Future
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Dec 2, 2020 · Fundamentals

Transport Layer Overview: TCP and UDP Protocols, Sockets, Ports, and Congestion Control

This article provides a comprehensive introduction to the transport layer of computer networks, explaining the roles of TCP and UDP, socket APIs, port numbers, multiplexing, packet structures, connection management, three‑way handshake, four‑way termination, and congestion‑control mechanisms.

Congestion ControlPort NumbersSockets
0 likes · 49 min read
Transport Layer Overview: TCP and UDP Protocols, Sockets, Ports, and Congestion Control
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Nov 30, 2020 · Backend Development

Netty Architecture and Principles: An Introductory Tutorial

This tutorial provides a detailed introduction to Netty, covering its architecture, core concepts such as buffers, channels, selectors, reactor thread models, zero‑copy techniques, and includes practical TCP server/client code examples, helping readers understand and apply Netty for high‑performance Java network programming.

Java NIONettyReactor
0 likes · 42 min read
Netty Architecture and Principles: An Introductory Tutorial
ITPUB
ITPUB
Nov 23, 2020 · Fundamentals

Master TCP Handshake & Teardown: Linux TIME_WAIT Tuning Explained

This article explains the TCP three‑way handshake and four‑way termination processes, clarifies the TIME_WAIT state, shows how to inspect socket states with netstat, and provides practical Linux sysctl settings to reduce excessive TIME_WAIT sockets and improve network performance.

HandshakeLinuxTCP
0 likes · 7 min read
Master TCP Handshake & Teardown: Linux TIME_WAIT Tuning Explained
Efficient Ops
Efficient Ops
Nov 11, 2020 · Fundamentals

Why Does TCP Need a Three‑Way Handshake? A Simple Analogy Explained

The article uses a humorous long‑distance video‑chat scenario to illustrate why TCP requires a three‑way handshake for connection establishment and a four‑step termination, explaining each packet exchange, flag meanings, and related concepts such as half‑open connections and SYN‑flood attacks.

Four-way terminationSYN attackTCP
0 likes · 11 min read
Why Does TCP Need a Three‑Way Handshake? A Simple Analogy Explained
Architecture Digest
Architecture Digest
Oct 31, 2020 · Fundamentals

Ten Essential TCP/IP Topics Every Engineer Should Know

This article systematically explains the TCP/IP protocol suite, covering the four-layer model, data link, network, transport, and application aspects, and dives into key protocols such as IP, ARP, ICMP, DNS, as well as TCP connection management, flow control, and congestion control mechanisms.

CongestionControlDNSICMP
0 likes · 21 min read
Ten Essential TCP/IP Topics Every Engineer Should Know
Programmer DD
Programmer DD
Oct 30, 2020 · Backend Development

How Dubbo’s Single Long Connection Leads to Congestion and What You Can Do

This article examines a production incident where Dubbo services became congested, explains the underlying communication process with detailed code analysis, identifies key protocol and service parameters affecting performance, conducts experiments on connection count and TCP buffers, and offers practical recommendations to optimize Dubbo throughput.

DubboPerformanceTCP
0 likes · 26 min read
How Dubbo’s Single Long Connection Leads to Congestion and What You Can Do
Top Architect
Top Architect
Oct 26, 2020 · Fundamentals

Comprehensive Overview of the TCP/IP Model and Core Network Protocols

This article provides a detailed introduction to the TCP/IP model, explaining each layer—from the physical and data link layers up to the application layer—along with key protocols such as IP, ARP, ICMP, TCP, UDP, DNS, and the mechanisms of connection establishment, termination, flow control, and congestion control.

Congestion ControlTCPTCP/IP
0 likes · 21 min read
Comprehensive Overview of the TCP/IP Model and Core Network Protocols
Efficient Ops
Efficient Ops
Oct 20, 2020 · Operations

Why Do TIME_WAIT Connections Surge in High‑Concurrency Scenarios and How to Fix Them

During high‑concurrency traffic, servers can accumulate large numbers of TCP connections in the TIME_WAIT state, which can exhaust local ports and cause “address already in use” errors; this article explains the phenomenon, its underlying TCP mechanics, and practical configuration and kernel tweaks to mitigate the issue.

LinuxOperationsServer
0 likes · 9 min read
Why Do TIME_WAIT Connections Surge in High‑Concurrency Scenarios and How to Fix Them
Liangxu Linux
Liangxu Linux
Oct 19, 2020 · Information Security

Exploiting Linux’s DelayedACKLost Counter to Infer TCP Sequence Numbers

An imaginative tale reveals how two covert agents exploit the Linux kernel’s DelayedACKLost counter via /proc/net/netstat, using it to infer TCP sequence numbers and perform a side‑channel hijack, while illustrating the underlying delayed ACK mechanism, related kernel functions, and the security implications of this hidden metric.

Delayed ACKLinuxTCP
0 likes · 8 min read
Exploiting Linux’s DelayedACKLost Counter to Infer TCP Sequence Numbers
MaGe Linux Operations
MaGe Linux Operations
Sep 23, 2020 · Backend Development

GET vs POST: Uncover the Real Differences Behind HTTP Requests

This article explains the fundamental distinctions between GET and POST HTTP methods, covering how parameters are transmitted, caching behavior, URL length limits, security implications, and the underlying TCP packet flow, while debunking common myths and highlighting practical considerations for developers.

HTTPPOSTTCP
0 likes · 7 min read
GET vs POST: Uncover the Real Differences Behind HTTP Requests
The Dominant Programmer
The Dominant Programmer
Sep 20, 2020 · Backend Development

Integrating Protobuf with Netty for Java Object Transmission

This guide walks through building a Netty server and client that exchange Java objects using Protobuf serialization, covering .proto definition, code generation with protoc, pipeline configuration with Netty's Protobuf handlers, and full example implementations for both sides.

NettySocketTCP
0 likes · 8 min read
Integrating Protobuf with Netty for Java Object Transmission
vivo Internet Technology
vivo Internet Technology
Sep 2, 2020 · Fundamentals

Understanding DNS and WebSocket: From Dig Commands to Real‑Time Connections

This article provides a systematic, hands‑on guide to DNS fundamentals—including dig queries, hierarchical lookups, Wireshark packet analysis, traditional DNS drawbacks, and HTTPDNS solutions—followed by a deep dive into WebSocket mechanics, handshake, frame structure, and security considerations, all illustrated with practical examples and code.

DNSHTTPDNSNetwork Protocols
0 likes · 21 min read
Understanding DNS and WebSocket: From Dig Commands to Real‑Time Connections
Liangxu Linux
Liangxu Linux
Aug 24, 2020 · Fundamentals

Mastering TCP: How the Three‑Way Handshake and Four‑Way Teardown Work

This article explains TCP's core mechanisms, detailing the three‑way handshake and four‑way termination processes, the meaning of ACK, SYN, and FIN flags, and the eleven connection states with their roles in establishing and gracefully closing a reliable network connection.

Connection StatesFour-way terminationTCP
0 likes · 8 min read
Mastering TCP: How the Three‑Way Handshake and Four‑Way Teardown Work
Programmer DD
Programmer DD
Aug 5, 2020 · Fundamentals

Mastering TCP: Handshakes, Flow Control, Congestion Management and More

This comprehensive guide explains TCP fundamentals—including its differences from UDP, the three‑way handshake, four‑way termination, half‑open queues, SYN flood attacks, header fields, Fast Open, timestamps, retransmission timers, flow and congestion control, Nagle's algorithm, delayed ACKs, and keep‑alive mechanisms—providing clear diagrams and practical insights for developers.

Congestion ControlFlow ControlHandshake
0 likes · 28 min read
Mastering TCP: Handshakes, Flow Control, Congestion Management and More
Top Architect
Top Architect
Jul 24, 2020 · Backend Development

Implementing a Custom Protocol with Netty: Design, Encoding/Decoding, and Heartbeat

This article explains why a custom TCP protocol can be more efficient than HTTP, defines the protocol header and body format, and demonstrates a complete Netty implementation—including message classes, encoders/decoders, resolver factories, server‑client bootstraps, and a Ping/Pong heartbeat mechanism—complete with runnable Java code and sample output.

Message EncodingNettyTCP
0 likes · 15 min read
Implementing a Custom Protocol with Netty: Design, Encoding/Decoding, and Heartbeat
Architecture Digest
Architecture Digest
Jul 19, 2020 · Backend Development

Implementing a Custom Protocol with Netty: Design, Encoding/Decoding, and Heartbeat

This article explains why a custom protocol can be more efficient than HTTP for service-to-service communication, defines a simple binary protocol with header and body, and demonstrates a complete Netty implementation—including message classes, encoders/decoders, resolvers, heartbeat handling, and client/server examples.

Message EncodingNettyTCP
0 likes · 18 min read
Implementing a Custom Protocol with Netty: Design, Encoding/Decoding, and Heartbeat
Open Source Linux
Open Source Linux
Jul 15, 2020 · Fundamentals

Why Do TIME_WAIT Connections Accumulate and How to Fix Them?

This article explains why massive TIME_WAIT TCP connections appear under high concurrency, the impact on services, and practical methods—such as adjusting socket reuse and reducing TIME_WAIT duration—to prevent new connection failures.

LinuxNGINXPerformance
0 likes · 9 min read
Why Do TIME_WAIT Connections Accumulate and How to Fix Them?
Selected Java Interview Questions
Selected Java Interview Questions
Jun 20, 2020 · Fundamentals

Comprehensive Guide to TCP: Differences with UDP, Handshakes, Termination, SYN Flood, Fast Open, Timestamps, RTO, Flow & Congestion Control, Nagle, Delayed ACK and Keep‑Alive

This article provides an in‑depth overview of TCP, explaining its core differences from UDP, the three‑way handshake and four‑way termination processes, half‑open queues and SYN‑Flood attacks, Fast Open, timestamp usage, retransmission timeout calculation, flow and congestion control mechanisms, as well as Nagle’s algorithm, delayed acknowledgments and TCP keep‑alive.

Congestion ControlHandshakeTCP
0 likes · 28 min read
Comprehensive Guide to TCP: Differences with UDP, Handshakes, Termination, SYN Flood, Fast Open, Timestamps, RTO, Flow & Congestion Control, Nagle, Delayed ACK and Keep‑Alive
Aikesheng Open Source Community
Aikesheng Open Source Community
Jun 9, 2020 · Databases

Implementing a Raw TCP MySQL Connection in Python

This article explains the MySQL client‑server handshake, details the sequence of packets exchanged during a TCP connection, and provides a complete Python implementation that builds a raw TCP socket to connect, authenticate, and communicate with a MySQL server without using a high‑level driver.

DatabaseMySQLPython
0 likes · 12 min read
Implementing a Raw TCP MySQL Connection in Python
Liangxu Linux
Liangxu Linux
May 28, 2020 · Fundamentals

Unlock TCP Secrets: Visualizing Handshakes and Retransmissions with Wireshark & tcpdump

This guide walks you through building test environments, capturing packets with tcpdump, visualizing them in Wireshark, and dissecting TCP features such as three‑way handshake, retransmission timers, fast open, flow control, Nagle algorithm and delayed ACKs, while showing the exact Linux kernel parameters that control each behavior.

LinuxRetransmissionTCP
0 likes · 30 min read
Unlock TCP Secrets: Visualizing Handshakes and Retransmissions with Wireshark & tcpdump
Laravel Tech Community
Laravel Tech Community
May 24, 2020 · Backend Development

Creating a TCP Server with Swoole in PHP

This article demonstrates how to build a high‑performance asynchronous TCP server using the Swoole extension in PHP, covering server creation, event callbacks for connection, data reception, and closure, as well as testing the server with telnet or netcat.

PHPServerSwoole
0 likes · 3 min read
Creating a TCP Server with Swoole in PHP
Programmer DD
Programmer DD
Apr 25, 2020 · Fundamentals

How Many TCP Connections Can a Single Server Really Handle?

This article examines the theoretical and practical limits of concurrent TCP connections on a single Linux server, covering the historic C10K problem, file‑descriptor and port constraints, the 4‑tuple identification, and real‑world factors such as memory and bandwidth that cap achievable connections.

C10KNetwork ProgrammingTCP
0 likes · 5 min read
How Many TCP Connections Can a Single Server Really Handle?
dbaplus Community
dbaplus Community
Apr 25, 2020 · Operations

Master Blackbox Exporter: Install, Configure, and Monitor with Prometheus

This guide explains the concepts of white‑box and black‑box monitoring, introduces Prometheus Blackbox Exporter, walks through installation, systemd setup, and detailed Prometheus configurations for HTTP, TCP, ICMP, POST and SSL checks, shows Grafana dashboard integration, and provides alert rule examples for reliable service health monitoring.

AlertingBlackbox ExporterGrafana
0 likes · 13 min read
Master Blackbox Exporter: Install, Configure, and Monitor with Prometheus
ITPUB
ITPUB
Apr 1, 2020 · Operations

Master Netcat: Essential TCP/UDP Tricks for Port Testing, File Transfer, and More

This guide explains how to use the lightweight netcat utility for a wide range of network tasks—including checking versions, testing TCP and UDP ports, transferring files, measuring bandwidth, and even creating simple backdoors—while providing concrete command examples and practical tips for Linux environments.

TCPfile transfernetcat
0 likes · 13 min read
Master Netcat: Essential TCP/UDP Tricks for Port Testing, File Transfer, and More
Efficient Ops
Efficient Ops
Mar 12, 2020 · Operations

Master Netcat: Powerful TCP/UDP Tricks for Network Testing and File Transfer

This guide explains how to use Netcat—a lightweight, versatile TCP/UDP utility installed on most Linux distributions—for port scanning, connectivity checks, UDP sessions, file transfers, bandwidth measurement, and even creating simple backdoors, while highlighting differences between GNU and OpenBSD versions.

LinuxTCPUDP
0 likes · 14 min read
Master Netcat: Powerful TCP/UDP Tricks for Network Testing and File Transfer
Efficient Ops
Efficient Ops
Mar 1, 2020 · Fundamentals

Why Does TCP Need a Three‑Way Handshake? A Real‑World Analogy Explained

Using a quirky long-distance video-chat scenario, the article illustrates how TCP’s three-way handshake and four-way termination work, explains the purpose of each packet exchange, details TCP header fields, and even covers SYN-flood attacks, turning everyday communication glitches into networking fundamentals.

Four-way terminationSYN FloodTCP
0 likes · 10 min read
Why Does TCP Need a Three‑Way Handshake? A Real‑World Analogy Explained
Architects' Tech Alliance
Architects' Tech Alliance
Feb 11, 2020 · Fundamentals

NVMe/TCP: Frequently Asked Questions and Answers

This article provides a comprehensive Q&A overview of NVMe over TCP, covering its specification status, required host components, performance characteristics, namespace limits, OS support, comparisons with NVMe/RDMA and FC, and practical deployment considerations in data‑center environments.

Data CenterNVMeTCP
0 likes · 11 min read
NVMe/TCP: Frequently Asked Questions and Answers
Efficient Ops
Efficient Ops
Jan 13, 2020 · Operations

How Nginx Keepalive Works: Experiments on HTTP and TCP Timeouts

This article experimentally explores Nginx's keepalive settings—HTTP keepalive_timeout, proxy_read_timeout, and TCP so_keepalive—showing how different browsers, upstream delays, and TCP probes affect connection lifetimes and what practical steps administrators can take to troubleshoot unexpected disconnects.

NetworkTCPkeepalive
0 likes · 15 min read
How Nginx Keepalive Works: Experiments on HTTP and TCP Timeouts
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
Jan 10, 2020 · Fundamentals

Why HTTP/2 and QUIC Are Revolutionizing Web Performance

This article traces the evolution of HTTP from its early versions to HTTP/2 and QUIC, explains the shortcomings of HTTP/1.1 such as head‑of‑line blocking and lack of encryption, details the performance‑boosting features of SPDY, HTTP/2 and QUIC, and discusses the remaining challenges like connection latency, server load, and NAT traversal.

HTTPNetwork ProtocolsQUIC
0 likes · 20 min read
Why HTTP/2 and QUIC Are Revolutionizing Web Performance
Ctrip Technology
Ctrip Technology
Dec 28, 2019 · Operations

Root Cause Analysis of Dubbo Connect Timeout in High‑Concurrency Scenarios and Backlog Tuning

This article presents a detailed case study of intermittent Dubbo connect‑timeout errors in a high‑concurrency deployment, describing step‑by‑step diagnostics—from port status checks and registry verification to TCP dump analysis—and explains how adjusting the server’s backlog and accept queue resolved the SYN‑drop issue.

BacklogDubboHigh concurrency
0 likes · 12 min read
Root Cause Analysis of Dubbo Connect Timeout in High‑Concurrency Scenarios and Backlog Tuning
Cloud Native Technology Community
Cloud Native Technology Community
Dec 16, 2019 · Cloud Native

Why Does Rolling Update Trigger “No Route to Host” in Kubernetes?

A Kubernetes user reported intermittent “No route to host” errors during Deployment rolling updates, and this article analyzes common connection‑related errors, explains how IPVS weight handling and source‑port reuse cause the issue, and provides mitigation strategies such as preStop hooks, readiness probes, scaling, and anti‑affinity.

IPVSKubernetesNetwork
0 likes · 15 min read
Why Does Rolling Update Trigger “No Route to Host” in Kubernetes?
System Architect Go
System Architect Go
Dec 9, 2019 · Backend Development

Building a Simple Memcached Client with Consistent Hashing, TCP, and Connection Pool in Node.js

This tutorial walks through creating a lightweight Memcached client in Node.js, covering cluster routing with consistent hashing, low‑level TCP communication, a reusable connection‑pool implementation, and a custom protocol for get operations, complete with practical code examples.

Backend DevelopmentConnection PoolConsistent Hashing
0 likes · 8 min read
Building a Simple Memcached Client with Consistent Hashing, TCP, and Connection Pool in Node.js
360 Tech Engineering
360 Tech Engineering
Nov 14, 2019 · Backend Development

Building a Simple TCP Port Scanner in Go

This article walks through creating a lightweight TCP port scanner in Go, covering basic TCP handshake theory, single‑port testing, looping over ports, adding concurrency with WaitGroup, implementing timeouts, using the flag package for command‑line options, and handling race conditions with a mutex.

GoNetwork ProgrammingPort Scanner
0 likes · 8 min read
Building a Simple TCP Port Scanner in Go
360 Zhihui Cloud Developer
360 Zhihui Cloud Developer
Nov 14, 2019 · Fundamentals

How to Replace TCP FIN with RST Using SO_LINGER in Go

This article explains why TIME_WAIT occurs, its resource impact, and demonstrates two optimization strategies—accelerating TIME_WAIT reclamation and using the SO_LINGER option to send an RST packet instead of the normal FIN handshake, with complete Go client and server examples and packet‑capture analysis.

RSTSO_LINGERTCP
0 likes · 8 min read
How to Replace TCP FIN with RST Using SO_LINGER in Go