Tag

network protocol

0 views collected around this technical thread.

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++ SocketReliabilityTCP
0 likes · 42 min read
TCP Protocol: Overview, Mechanisms, and Practical Usage
Architecture Development Notes
Architecture Development Notes
Dec 4, 2024 · Backend Development

How to Build a Zero‑Copy, Low‑Latency Network Protocol in Rust

This article explains how to design and implement a high‑performance custom network protocol in Rust, covering zero‑copy parsing, memory‑mapped packet pools, lock‑free event loops, and an efficient binary packet format to achieve ultra‑low latency and massive concurrency.

RustZero Copyhigh performance
0 likes · 9 min read
How to Build a Zero‑Copy, Low‑Latency Network Protocol in Rust
IT Services Circle
IT Services Circle
Dec 2, 2024 · Backend Development

Debugging a TCP Packet Length Bug That Blocks Production at 70% Progress

The article analyzes a mysterious production stall caused by a TCP communication bug where the D4 and D5 stages are merged, leading to a mis‑aligned length field that makes the server read an incorrect payload size, and presents two concrete fixes.

BackendMinaTCP
0 likes · 11 min read
Debugging a TCP Packet Length Bug That Blocks Production at 70% Progress
Wukong Talks Architecture
Wukong Talks Architecture
Oct 25, 2024 · Backend Development

Debugging a TCP Communication Bug That Stops Device Production at 70% Due to Length Field Misalignment

The article details a mysterious production stall at 70% caused by a TCP packet length field misalignment when the configuration name is "rabbit‑TD", explains the step‑by‑step investigation using server logs and packet captures, identifies the root cause of the merged D4/D5 packets, and proposes two concrete fixes to correct the length handling.

BackendTCPdebugging
0 likes · 10 min read
Debugging a TCP Communication Bug That Stops Device Production at 70% Due to Length Field Misalignment
Bilibili Tech
Bilibili Tech
May 28, 2024 · Mobile Development

Optimizing Cross‑Platform WebSocket Connections with Cronet for Mobile Live Streaming

By migrating the CatEar FM live‑streaming app’s WebSocket layer to Chromium’s Cronet network stack, the team unified cross‑platform code, added customizable DNS and proxy support, and cut handshake latency by roughly 150 ms on Android and 250 ms on iOS, paving the way for future HTTP/2 and HTTP/3‑based WebSocket transports.

CronetCross-PlatformWebSocket
0 likes · 14 min read
Optimizing Cross‑Platform WebSocket Connections with Cronet for Mobile Live Streaming
Tencent Architect
Tencent Architect
Nov 28, 2023 · Fundamentals

Why TQUIC’s Rust‑Based QUIC Library Could Revolutionize High‑Performance Networking

Tencent’s newly open‑sourced TQUIC, a high‑performance, lightweight, cross‑platform QUIC library written in Rust, offers fast transmission, high performance, extensive congestion‑control algorithms, multi‑path support, and strong security, and has already boosted core services such as video, advertising, gaming, and cloud CDN, demonstrating its broad scenario value and robust architecture.

Open-sourceQUICRust
0 likes · 7 min read
Why TQUIC’s Rust‑Based QUIC Library Could Revolutionize High‑Performance Networking
Tencent Cloud Developer
Tencent Cloud Developer
Nov 28, 2023 · Backend Development

TQUIC: High‑Performance, Lightweight Cross‑Platform QUIC Library Open‑Sourced by Tencent

Tencent has open‑sourced TQUIC, a Rust‑based, high‑performance, lightweight cross‑platform QUIC library that supports multiple congestion‑control algorithms, multi‑path networking, and memory‑safe operation, delivering 2‑30% faster transmission and up to 20% higher processing speed while improving latency‑sensitive services such as video, gaming, advertising, and e‑commerce.

Cross-PlatformOpen-sourceQUIC
0 likes · 7 min read
TQUIC: High‑Performance, Lightweight Cross‑Platform QUIC Library Open‑Sourced by Tencent
Architect's Guide
Architect's Guide
Sep 23, 2023 · Backend Development

Understanding Network Protocols, TCP/UDP Handshakes, Socket Long Connections, and Socket Connection Pools

This article explains the fundamentals of network protocols—including the OSI model, TCP three‑way handshake and four‑way termination, UDP characteristics, long versus short socket connections, custom application‑layer protocols, and how to implement a reusable socket connection pool in Node.js.

Connection PoolSocketTCP
0 likes · 17 min read
Understanding Network Protocols, TCP/UDP Handshakes, Socket Long Connections, and Socket Connection Pools
NetEase Cloud Music Tech Team
NetEase Cloud Music Tech Team
May 25, 2023 · Backend Development

Building Real-Time IM Solutions with WebSocket: A Practical Guide

The guide walks through building a real‑time instant‑messaging system—using a multiplayer monster‑battle demo—to compare polling, long‑polling, SSE and WebSocket, explains the WebSocket handshake and frame format, shows a custom Node.js server implementation, and advises adopting mature IM SDKs for production.

Instant MessagingNode.jsReal-time Communication
0 likes · 23 min read
Building Real-Time IM Solutions with WebSocket: A Practical Guide
Tencent Tech
Tencent Tech
Dec 21, 2022 · Cloud Computing

How Tencent’s HARP Protocol Powers 10,000‑Node Networks with Zero Downtime

Tencent Cloud’s self‑developed HARP protocol delivers ultra‑high‑performance, highly available and scalable data‑center networking, supporting over 10,000 nodes, microsecond‑level fault recovery, and up to 200 Gbps throughput, making it ideal for AI training, storage and big‑data workloads.

HARPcloud computingdata center
0 likes · 6 min read
How Tencent’s HARP Protocol Powers 10,000‑Node Networks with Zero Downtime
Tencent Cloud Developer
Tencent Cloud Developer
Dec 20, 2022 · Cloud Computing

HARP – Tencent Cloud's High‑Performance, Highly Available Network Transmission Protocol

HARP is Tencent Cloud's high-performance, highly available network transmission protocol that quickly reroutes around switch failures within 100 µs, offering zero packet loss, low latency, high bandwidth, scalable connections, and custom congestion control for storage, HPC, AI, and big data workloads.

HARPcloud computingcongestion control
0 likes · 15 min read
HARP – Tencent Cloud's High‑Performance, Highly Available Network Transmission Protocol
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Nov 30, 2022 · Fundamentals

Understanding TCP Protocol and Packet Analysis with Wireshark

This article explains how to visualize and dissect TCP/IP packet structures using Wireshark, walks through each OSI/TCP‑IP layer, and details the fields of the TCP header such as ports, sequence numbers, flags, and checksum, providing a practical understanding of network protocol fundamentals.

TCPTCP/IP ModelWireshark
0 likes · 9 min read
Understanding TCP Protocol and Packet Analysis with Wireshark
IT Architects Alliance
IT Architects Alliance
Jun 12, 2022 · Fundamentals

TCP Three-Way Handshake and Four-Way Termination Explained

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

ReliabilityTCPfour-way termination
0 likes · 7 min read
TCP Three-Way Handshake and Four-Way Termination Explained
Ctrip Technology
Ctrip Technology
Apr 14, 2022 · Backend Development

Implementing QUIC in Trip.com App: Server Architecture, Connection Migration, and 0‑RTT Optimization

This article describes how Trip.com’s backend engineers introduced QUIC to the Trip.com App, redesigned the Nginx‑based server architecture for multi‑process deployment, solved connection‑migration challenges with a custom load‑balancing layer, and enabled 0‑RTT support using shared ticket keys, achieving roughly a 20% reduction in request latency.

0-RTTBackendConnection Migration
0 likes · 16 min read
Implementing QUIC in Trip.com App: Server Architecture, Connection Migration, and 0‑RTT Optimization
IT Architects Alliance
IT Architects Alliance
Sep 11, 2021 · Fundamentals

Understanding TCP: Protocol Basics, Three‑Way Handshake, and Why It Is Needed

This article explains the fundamentals of the Transmission Control Protocol, its reliable byte‑stream characteristics, the detailed three‑way handshake process, and why three steps are required to prevent duplicate or stale connections in network communication.

Connection EstablishmentReliabilityTCP
0 likes · 5 min read
Understanding TCP: Protocol Basics, Three‑Way Handshake, and Why It Is Needed
Amap Tech
Amap Tech
Jul 16, 2021 · Backend Development

Key Features, Communication Modes, and Internal Implementation of RSocket

RSocket is a binary, back‑pressure‑aware protocol that supports four interaction models—fire‑and‑forget, request‑response, request‑stream, and request‑channel—using multiplexed frames with odd/even stream IDs for true bidirectional communication, and provides a reactive, resumable API suitable for microservices, IoT, and broker‑based architectures.

BackendBrokerRSocket
0 likes · 8 min read
Key Features, Communication Modes, and Internal Implementation of RSocket
vivo Internet Technology
vivo Internet Technology
May 12, 2021 · Backend Development

Understanding RTMP Protocol and Livego Source Code Analysis

The article explains RTMP’s multiplexed, packetized streaming over TCP, detailing its chunk structure, message types, handshake, and connection workflow, then demonstrates livego’s publishing and pulling processes, discusses typical latency sources, and offers mitigation strategies and reference resources for developers.

GoLive StreamingLivego
0 likes · 28 min read
Understanding RTMP Protocol and Livego Source Code Analysis
Java Architecture Diary
Java Architecture Diary
Jan 22, 2021 · Backend Development

Mastering RSocket with Spring Boot: Build Request‑Response, Fire‑Forget, Stream & Channel

This tutorial introduces RSocket—a reactive, binary, multiplexed protocol—and demonstrates how to install the RSC client, create a Spring Boot RSocket server, and implement all four interaction models (request‑response, fire‑forget, stream, and channel) with complete code examples.

JavaRSocketReactive Streams
0 likes · 7 min read
Mastering RSocket with Spring Boot: Build Request‑Response, Fire‑Forget, Stream & Channel
vivo Internet Technology
vivo Internet Technology
Nov 4, 2020 · Frontend Development

WebSocket Practical Guide: From Basics to Production Deployment

This practical guide explains WebSocket fundamentals, demonstrates how to integrate and debug them in a project with webpack proxy and Nginx settings, implements heartbeat and reconnection logic for stability, and compares native WebSocket to Socket.io’s richer but heavier real‑time framework.

NginxReal-time CommunicationSocket.io
0 likes · 5 min read
WebSocket Practical Guide: From Basics to Production Deployment
Architecture Digest
Architecture Digest
Oct 13, 2020 · Fundamentals

Understanding TCP Protocol: Header Fields, Three‑Way Handshake, and Four‑Way Teardown

This article explains the TCP protocol’s header structure, the purpose of each field, how the three‑way handshake establishes a reliable connection, why three steps are needed, and the four‑step process used to gracefully close a TCP session, including verification with Wireshark.

Four-way TeardownSocketTCP
0 likes · 13 min read
Understanding TCP Protocol: Header Fields, Three‑Way Handshake, and Four‑Way Teardown