Tagged articles
600 articles
Page 5 of 6
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.

KeepaliveNginxSystem Parameters
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.

TCPconcurrencyfile-descriptors
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.

TCPconcurrencyfile-descriptors
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.

Flow ControlHandshakeSecurity
0 likes · 35 min read
Mastering TCP: Handshakes, Flow & Congestion Control, Fast Open and More
Refining Core Development Skills
Refining Core Development Skills
Dec 23, 2020 · Fundamentals

Understanding Linux TCP Socket Internals and Port Range Configuration

This article explains how to adjust Linux kernel port ranges and file descriptor limits, explores the internal structures of TCP sockets, and walks through key kernel functions such as tcp_v4_rcv and __inet_lookup that locate sockets based on IP and port tuples, providing practical guidance for increasing TCP concurrency.

Linux kernelNetworkingPort Range
0 likes · 8 min read
Understanding Linux TCP Socket Internals and Port Range Configuration
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.

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

Network ConnectionsTCPfile-descriptors
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.

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

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

NetworkingServerTCP
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 ControlNetworkingProtocols
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/3QUICTCP
0 likes · 12 min read
Why HTTP/3 Matters: From TCP Roots to QUIC’s Future
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.

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

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

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

NetworkingOperationsServer
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 ACKTCPkernel
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.

Code ExampleJavaNetty
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 terminationNetworking Fundamentals
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.

Flow ControlHandshakeNetworking
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.

HeartbeatJavaMessage Encoding
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.

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

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

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

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

Packet CaptureTCPTCP Fast Open
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.

AsyncBackendPHP
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
360 Quality & Efficiency
360 Quality & Efficiency
Apr 24, 2020 · Backend Development

Root Cause Analysis of Connection Reset by Peer in a Go Backend Service

This article details a production incident where a Go backend service returned "connection reset by peer" due to exhausted process file descriptors caused by a saturated database connection pool, and describes the step‑by‑step troubleshooting, socket internals, and the eventual fix.

Connection ResetDatabase Connection PoolGo
0 likes · 14 min read
Root Cause Analysis of Connection Reset by Peer in a Go Backend Service
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.

TCPUDPfile transfer
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 centerNVMeNetworking
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.

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

HTTPHTTP2Network Protocols
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.

BacklogDubboNetwork Tuning
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.

IPVSKubernetesRolling Update
0 likes · 15 min read
Why Does Rolling Update Trigger “No Route to Host” in Kubernetes?
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
MaoDou Frontend Team
MaoDou Frontend Team
Sep 12, 2019 · Frontend Development

How to Supercharge Front-End Performance: From DNS to Rendering

This guide walks through front‑end performance optimization, covering DNS resolution, TCP connection, HTTP request/response, server response techniques like compression and CDN, and browser rendering improvements such as reducing reflows, using lazy loading, and best practices to shrink request time and improve perceived speed.

DNSRenderingTCP
0 likes · 7 min read
How to Supercharge Front-End Performance: From DNS to Rendering
Java Captain
Java Captain
Jul 26, 2019 · Fundamentals

Java Fundamentals: Spring Lifecycle, TCP Handshake, Thread Pool, JVM Memory, JMM, Spring MVC, JDBC, Spring Cloud, and Dubbo Overview

This article provides a comprehensive overview of core Java concepts and related technologies, covering Spring's lifecycle, TCP three-way handshake and four-way termination, thread pool execution flow, JVM memory structure and Java Memory Model, as well as Spring MVC, JDBC, Spring Cloud components, and Dubbo service framework.

JVMJavaSpringCloud
0 likes · 11 min read
Java Fundamentals: Spring Lifecycle, TCP Handshake, Thread Pool, JVM Memory, JMM, Spring MVC, JDBC, Spring Cloud, and Dubbo Overview
360 Tech Engineering
360 Tech Engineering
Jul 25, 2019 · Backend Development

Building a Simple C++ TCP Server from Scratch with cppbox

This article explains why the author created a custom C++ TCP server framework, outlines the required prerequisites and coding standards, and walks through a minimal echo server implementation together with the key cppbox library interfaces and usage examples.

BackendCNetwork programming
0 likes · 8 min read
Building a Simple C++ TCP Server from Scratch with cppbox
MaGe Linux Operations
MaGe Linux Operations
Jun 27, 2019 · Fundamentals

Demystifying Network Layers: From Physical to Application Explained

This article walks through the OSI network model layers—physical, data link, network, transport, and application—explaining hardware components, MAC and IP addressing, subnet masks, TCP/UDP protocols, ports, and how data is encapsulated and decapsulated across each layer.

Application LayerIP addressingOSI model
0 likes · 10 min read
Demystifying Network Layers: From Physical to Application Explained
21CTO
21CTO
Jun 21, 2019 · Fundamentals

Why Does an HTTP Request Involve Multiple TCP Handshakes? A Wireshark Deep Dive

Using Wireshark, this article dissects a complete HTTP request, explaining the TCP three‑way handshake, window scaling, SACK options, four‑step termination, and Keep‑Alive mechanisms, while illustrating each packet with screenshots and detailing how browsers may merge handshake steps for efficiency.

HTTPNetwork ProtocolsTCP
0 likes · 12 min read
Why Does an HTTP Request Involve Multiple TCP Handshakes? A Wireshark Deep Dive