Tagged articles
36 articles
Page 1 of 1
Tech Musings
Tech Musings
Dec 18, 2025 · Fundamentals

Why UDP Struggles Behind NAT: Understanding Symmetric vs. Full Cone

This article explains how UDP’s simplicity is challenged by various NAT types, compares Symmetric and Full Cone NAT behaviors, shows Go code for multi‑server UDP communication, and outlines P2P hole‑punching techniques and real‑world NAT diversity.

Full Cone NATNATP2P
0 likes · 10 min read
Why UDP Struggles Behind NAT: Understanding Symmetric vs. Full Cone
Dunmao Tech Hub
Dunmao Tech Hub
Oct 30, 2025 · Frontend Development

How to Build a WebRTC Voice Call App with PeerJS: Step‑by‑Step Guide

This guide walks through setting up a PeerJS‑based P2P voice call system, covering browser compatibility, Node environment preparation, installing and running the peerjs‑server (via npm or Docker), initializing the Peer object, handling connections, making and receiving calls, and customizing Peer IDs, with full code snippets and screenshots.

JavaScriptNode.jsP2P
0 likes · 8 min read
How to Build a WebRTC Voice Call App with PeerJS: Step‑by‑Step Guide
Full-Stack Cultivation Path
Full-Stack Cultivation Path
Jan 2, 2025 · Fundamentals

How Merkle Trees Enable Efficient Data Change Detection

This article explains the principles of Merkle trees, shows how they are built from file hashes, and demonstrates their use for fast data‑change detection in cloud sync, blockchain verification, and P2P file sharing, complete with a Node.js implementation.

BlockchainMerkle TreeNode.js
0 likes · 12 min read
How Merkle Trees Enable Efficient Data Change Detection
iQIYI Technical Product Team
iQIYI Technical Product Team
Jun 14, 2024 · Operations

Stability Assurance Practices for the 2024 CCTV Spring Festival Gala Live Stream

The 2024 CCTV Spring Festival Gala live stream employed comprehensive stability assurance practices across signal encoding, CDN distribution, request handling, and playback—using multi‑source encoding, multi‑level origin redundancy, multi‑cluster HA, and P2P‑augmented delivery—to handle massive QPS spikes, ensure high availability, and provide a resilient, high‑quality viewing experience.

Backend ArchitectureCDNP2P
0 likes · 24 min read
Stability Assurance Practices for the 2024 CCTV Spring Festival Gala Live Stream
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Oct 13, 2023 · Mobile Development

Overview and Technical Details of Miracast (Wi‑Fi Display) with Implementation Examples

The article explains Miracast (Wi‑Fi Display) as a Wi‑Fi Direct‑based wireless display standard, detailing its layered architecture, mandatory and optional audio/video codecs, device discovery, RTSP negotiation, UIBC control, and provides Android implementation examples for peer scanning, connection, RTSP setup, video capture, and packetization, highlighting performance considerations.

AndroidMiracastP2P
0 likes · 12 min read
Overview and Technical Details of Miracast (Wi‑Fi Display) with Implementation Examples
Open Source Linux
Open Source Linux
Nov 30, 2022 · Fundamentals

Mastering NAT Types and Network Hole Punching: A Practical Guide

This article explains the different NAT classifications, compares cone and symmetric NATs, outlines the security implications, and provides detailed step‑by‑step procedures for network hole punching across various NAT configurations, while also covering related technologies such as ALG, UPnP, STUN, TURN, and ICE.

NATP2Phole punching
0 likes · 13 min read
Mastering NAT Types and Network Hole Punching: A Practical Guide
Alibaba Cloud Native
Alibaba Cloud Native
Aug 28, 2022 · Cloud Native

How Dragonfly Supercharges Cloud‑Native File Distribution with P2P Architecture

This article explains the limitations of traditional client‑server download methods, introduces P2P download principles, and details Dragonfly's cloud‑native architecture—including its Manager, Scheduler, Seed Peer, and Peer components—showing how it achieves high stability, efficiency, and easy deployment for large‑scale file distribution.

Cloud NativeDragonflyFile Distribution
0 likes · 10 min read
How Dragonfly Supercharges Cloud‑Native File Distribution with P2P Architecture
360 Smart Cloud
360 Smart Cloud
Jul 29, 2022 · Fundamentals

Introduction to WebRTC Architecture, Core Concepts, and Multi‑Party Communication Solutions

This article provides a comprehensive overview of WebRTC, covering its origin, core architecture layers, basic audio‑video capture concepts, the process of a one‑to‑one real‑time call, and compares three multi‑party communication architectures—Mesh, MCU, and SFU—highlighting their advantages and drawbacks.

MCUMedia ArchitectureP2P
0 likes · 13 min read
Introduction to WebRTC Architecture, Core Concepts, and Multi‑Party Communication Solutions
WeDoctor Frontend Technology
WeDoctor Frontend Technology
Dec 29, 2021 · Frontend Development

Master WebRTC: Build P2P Video Calls with Vue, Node.js, and TURN

This tutorial explains WebRTC fundamentals, signaling via WebSocket, NAT traversal with STUN/TURN, peer‑to‑peer connection flow, media capture, screen sharing, recording, and deployment tips, providing complete Vue and Node.js code examples for building robust 1‑to‑1 and multi‑user video applications.

P2PSTUNTURN
0 likes · 30 min read
Master WebRTC: Build P2P Video Calls with Vue, Node.js, and TURN
Douyu Streaming
Douyu Streaming
Nov 5, 2021 · Backend Development

How Douyu Built Its Own High‑Performance P2P Live‑Streaming System

Douyu’s senior streaming engineer Zhou Sha details the company’s self‑developed P2P solution, covering its background, architecture, key technologies such as sub‑streaming, WebRTC, data slicing, SDK design, and the strategies used to boost sharing rates and future roadmap.

CDNData SlicingP2P
0 likes · 24 min read
How Douyu Built Its Own High‑Performance P2P Live‑Streaming System
Programmer DD
Programmer DD
Nov 4, 2021 · Frontend Development

Unlock Browser P2P File Sharing with WebTorrent: A Hands‑On Guide

This article introduces WebTorrent, an open‑source JavaScript library that brings BitTorrent‑style peer‑to‑peer file sharing and streaming directly to browsers using WebRTC, explains its advantages over traditional download tools, and provides step‑by‑step code examples for both web and Node environments.

BrowserJavaScriptP2P
0 likes · 6 min read
Unlock Browser P2P File Sharing with WebTorrent: A Hands‑On Guide
Douyu Streaming
Douyu Streaming
Oct 19, 2021 · Backend Development

Douyu’s Scalable P2P Live Streaming: Architecture, Key Tech & Future Plans

Douyu’s senior streaming engineer Zhou Sha details the company’s self‑developed P2P live‑video solution, covering its background, architecture, core technologies like sub‑streaming, WebRTC, data slicing, SDK design, sharing‑rate optimizations, and future roadmap for broader media applications.

Data SlicingP2PSharing Optimization
0 likes · 24 min read
Douyu’s Scalable P2P Live Streaming: Architecture, Key Tech & Future Plans
Youku Technology
Youku Technology
Sep 30, 2021 · Frontend Development

Web P2P Live Streaming Architecture and Implementation Using WebRTC

The article presents a WebRTC‑based peer‑to‑peer live‑streaming architecture that offloads CDN traffic by using RTCPeerConnection and RTCDataChannel, detailing client and server modules, ICE/STUN signaling, chunk scheduling, memory‑efficient serialization, and demonstrating significant bandwidth savings while preserving user experience.

P2PWeb DevelopmentWebRTC
0 likes · 13 min read
Web P2P Live Streaming Architecture and Implementation Using WebRTC
High Availability Architecture
High Availability Architecture
Jul 10, 2020 · Frontend Development

Understanding WebRTC: Architecture, Protocols, APIs, and Security

WebRTC is a Google‑originated technology that enables real‑time audio, video, and data transmission across browsers, mobile platforms, and IoT devices, and this article explains its popularity, P2P connection process, signaling, NAT/ICE mechanisms, STUN/TURN servers, VP9 codec, JavaScript APIs, and security measures.

MediaStreamP2PSTUN
0 likes · 12 min read
Understanding WebRTC: Architecture, Protocols, APIs, and Security
Architect
Architect
May 16, 2020 · Big Data

Master/Slave Architecture vs P2P Ring Structure and an Overview of Elasticsearch

This article explains the differences between Master‑Slave and P2P ring architectures, introduces Elasticsearch’s core concepts, internal components, master election, shard routing, indexing and search processes, and discusses how the system avoids split‑brain scenarios and ensures high availability.

ElasticsearchMaster‑SlaveP2P
0 likes · 17 min read
Master/Slave Architecture vs P2P Ring Structure and an Overview of Elasticsearch
Alibaba Cloud Native
Alibaba Cloud Native
May 6, 2020 · Cloud Native

How Dragonfly’s P2P Architecture Earned CNCF Incubation

Dragonfly, an open‑source P2P image distribution system, was promoted to CNCF incubation after demonstrating scalable download, CDN‑assisted long‑distance transfer, bandwidth‑saving compression, and secure transmission, while the CNCF TOC outlined its promotion process and the project's growing industry adoption.

CNCFCloud NativeDragonfly
0 likes · 17 min read
How Dragonfly’s P2P Architecture Earned CNCF Incubation
dbaplus Community
dbaplus Community
Oct 24, 2019 · Cloud Computing

How to Build Multi‑Cloud P2P Networks with Kubernetes and Flannel

This article examines the evolution of network architectures from traditional tree‑topology back‑ends to peer‑to‑peer designs, explores pure and hybrid P2P models, and provides practical guidance for deploying and managing multi‑cloud P2P networks using Kubernetes, Flannel, DNS and platform‑based automation.

KubernetesP2Pcloud computing
0 likes · 13 min read
How to Build Multi‑Cloud P2P Networks with Kubernetes and Flannel
Alibaba Cloud Native
Alibaba Cloud Native
Jul 26, 2019 · Cloud Native

How Alibaba’s Dragonfly P2P Architecture Solves Large‑Scale Docker Image Distribution

This article explains the challenges of massive Docker image distribution in large clusters, analyzes the impact of bandwidth, gzip decompression, and scaling, and presents Alibaba's multi‑layer solutions—including the Dragonfly P2P system, remote‑disk architecture, and DADI technology—to dramatically reduce registry load and improve deployment speed.

DADIDockerImage Distribution
0 likes · 13 min read
How Alibaba’s Dragonfly P2P Architecture Solves Large‑Scale Docker Image Distribution
Tencent Cloud Developer
Tencent Cloud Developer
Jul 9, 2019 · Cloud Computing

Technical Salon Summary: Mobile Live Streaming, P2P Acceleration, Overseas Live Streaming Architecture, RTC‑PSTN Integration, and Video AI Practices

At a Cloud+ Community salon on June 29, nearly 300 developers heard Tencent Cloud detail mobile co‑hosting live streaming, P2P‑accelerated CDN, globally distributed overseas streaming architecture, RTC‑to‑PSTN integration, and AI‑driven video services such as recognition, moderation, compression, editing, and highlight extraction.

AIP2PRTC
0 likes · 28 min read
Technical Salon Summary: Mobile Live Streaming, P2P Acceleration, Overseas Live Streaming Architecture, RTC‑PSTN Integration, and Video AI Practices
Tencent Cloud Developer
Tencent Cloud Developer
Jul 2, 2019 · Cloud Computing

Audio/Video and Integrated Communication Technology Salon – Technical Sessions Overview

On June 29, Tencent Cloud’s Audio/Video and Integrated Communication Technology Salon in Beijing gathered over 300 attendees and live‑streamed five expert sessions that tackled mobile live‑stream interconnection, P2P acceleration, overseas streaming architecture, real‑time audio/video‑PSTN integration, and AI‑enhanced video solutions, before ending with a raffle and announcing a July 27 IoT follow‑up.

AIP2Pcloud computing
0 likes · 11 min read
Audio/Video and Integrated Communication Technology Salon – Technical Sessions Overview
Tencent Cloud Developer
Tencent Cloud Developer
Jul 2, 2019 · Cloud Computing

Technical Overview of Tencent Cloud X‑P2P Low‑Latency Video Streaming and P2P Technologies

Zhang Peng’s talk detailed Tencent Cloud’s X‑P2P system, which combines raw FLV/FMP4 segmentation, adaptive bitrate switching, and the XNTP transport to achieve 60‑80% peer share and CDN‑level latency, while handling diverse NAT types, employing balanced topology, and positioning the technology for 4K, 5G, IPv6 and edge‑computing futures.

Network ProtocolsP2PX-P2P
0 likes · 17 min read
Technical Overview of Tencent Cloud X‑P2P Low‑Latency Video Streaming and P2P Technologies
Baidu Intelligent Testing
Baidu Intelligent Testing
Mar 21, 2019 · Backend Development

Understanding P2P Download Technology and Its Testing Methods

This article explains the fundamentals of peer‑to‑peer (P2P) download technology, its advantages over traditional client‑server models, the detailed download workflow, and the testing and monitoring approaches used to evaluate performance, stability, and crash rates.

BackendCrashDownload
0 likes · 9 min read
Understanding P2P Download Technology and Its Testing Methods
Architects' Tech Alliance
Architects' Tech Alliance
Feb 1, 2019 · Industry Insights

How GPUDirect P2P Boosts Multi‑GPU Performance and What Limits It in Virtualized Environments

This article explains the background of GPU communication, details NVIDIA's GPUDirect and its Peer‑to‑Peer features, discusses virtualization challenges, and presents performance measurements on an Alibaba Cloud GN5 instance showing latency reduction and near‑linear scaling for deep‑learning workloads.

Deep LearningGPU communicationGPUDirect
0 likes · 6 min read
How GPUDirect P2P Boosts Multi‑GPU Performance and What Limits It in Virtualized Environments
Senior Brother's Insights
Senior Brother's Insights
Apr 20, 2018 · Blockchain

How to Build a Simple P2P Blockchain in Go Using libp2p

This tutorial walks through creating a fully decentralized peer‑to‑peer blockchain in Go, covering the background of P2P networks, installing the go‑libp2p library, defining block structures, implementing validation and host creation, handling streams for data exchange, and running multiple nodes to synchronize state without any central server.

DecentralizedP2Plibp2p
0 likes · 22 min read
How to Build a Simple P2P Blockchain in Go Using libp2p
Tencent Cloud Developer
Tencent Cloud Developer
Dec 5, 2017 · Cloud Computing

Tencent Cloud X-P2P Live Streaming Acceleration Solution

Tencent Cloud’s X‑P2P live‑streaming acceleration solution, built over four years of research, delivers segment‑based, multi‑platform P2P delivery with internal transmission control, precise playback and large‑room concurrency optimizations, already powering major services like Douyu and Panda while preparing for higher‑resolution and cross‑operator challenges.

P2PTencent CloudVideo Acceleration
0 likes · 7 min read
Tencent Cloud X-P2P Live Streaming Acceleration Solution
Alibaba Cloud Infrastructure
Alibaba Cloud Infrastructure
Nov 14, 2017 · Cloud Native

Dragonfly: Alibaba's P2P Large‑Scale File and Container Image Distribution System

Dragonfly is Alibaba's P2P‑based infrastructure that dramatically accelerates massive file and container image distribution by forming peer networks, applying smart compression and flow‑control, and reducing registry traffic by over 99%, enabling tens of thousands of servers to receive multi‑gigabyte files simultaneously during peak events.

AlibabaCloud NativeFile Distribution
0 likes · 20 min read
Dragonfly: Alibaba's P2P Large‑Scale File and Container Image Distribution System
ITPUB
ITPUB
Nov 14, 2017 · Operations

How Alibaba’s Dragonfly P2P System Powers 20B Transfers and Slashes Docker Image Traffic

Alibaba’s Dragonfly P2P file distribution platform, built to handle massive file and container image delivery during peak events like Double‑11, combines peer‑to‑peer networking, smart compression, flow‑control and security features to achieve billions of transfers, petabyte‑scale traffic, and up to 99.9% reduction in registry outbound bandwidth.

File DistributionOperationsP2P
0 likes · 20 min read
How Alibaba’s Dragonfly P2P System Powers 20B Transfers and Slashes Docker Image Traffic
ITPUB
ITPUB
Nov 14, 2017 · Operations

How Alibaba’s Dragonfly P2P System Supercharges Large‑Scale File and Container Image Distribution

Alibaba’s Dragonfly (蜻蜓) is a self‑developed P2P file distribution platform that dramatically speeds up massive file and container image delivery, reduces bandwidth consumption, supports intelligent compression and flow control, and has become a core infrastructure component powering billions of transactions during major events like Double 11.

File DistributionInfrastructureP2P
0 likes · 20 min read
How Alibaba’s Dragonfly P2P System Supercharges Large‑Scale File and Container Image Distribution
Alibaba Cloud Developer
Alibaba Cloud Developer
Nov 14, 2017 · Operations

How Alibaba’s Dragonfly P2P System Supercharges File and Image Distribution

Alibaba’s Dragonfly (蜻蜓) leverages P2P networking, intelligent compression, and flow control to dramatically accelerate large‑scale file and container image distribution, reducing bandwidth usage by over 99%, achieving up to 57× speedup, and supporting tens of thousands of concurrent hosts during peak events like Double 11.

File DistributionP2Pcontainer images
0 likes · 19 min read
How Alibaba’s Dragonfly P2P System Supercharges File and Image Distribution
Architects' Tech Alliance
Architects' Tech Alliance
Oct 14, 2016 · Blockchain

Understanding Blockchain from a Technical Perspective: Architecture, Consensus, and Ecosystem

This article explains blockchain as a distributed, fault‑tolerant ledger that combines P2P networking, cryptography, and economic game theory, describing its layered architecture, consensus mechanisms, public versus consortium chains, major platforms, and the distinction between UTXO and account‑balance models.

BlockchainConsensusP2P
0 likes · 13 min read
Understanding Blockchain from a Technical Perspective: Architecture, Consensus, and Ecosystem
Meituan Technology Team
Meituan Technology Team
Jan 8, 2015 · Product Management

How Meituan Built a P2P Internal Library That Grew 720% in One Week

Meituan’s internal library transformed from a small departmental shelf into a distributed, P2P‑driven book‑sharing platform that grew 720% in a week, thanks to streamlined procurement, one‑click sharing, and a self‑organizing borrowing workflow, dramatically reducing management overhead and expanding cross‑department access.

Case StudyP2PProduct Design
0 likes · 9 min read
How Meituan Built a P2P Internal Library That Grew 720% in One Week