Tag

MessagePack

0 views collected around this technical thread.

Bilibili Tech
Bilibili Tech
Nov 8, 2022 · Frontend Development

Design and Implementation of Bilibili's Self‑Developed Live Streaming P2P System Using WebRTC

Bilibili designed a self‑built live‑streaming P2P system that uses WebRTC DataChannels and a Tracker‑mediated handshake to exchange 60 KB MessagePack‑encoded HLS segment blocks among viewers, employing a free‑market task allocation to balance seeding and consumption, thereby significantly cutting CDN bandwidth costs.

HLSLive VideoMessagePack
0 likes · 16 min read
Design and Implementation of Bilibili's Self‑Developed Live Streaming P2P System Using WebRTC
Bilibili Tech
Bilibili Tech
Nov 6, 2022 · Backend Development

Design and Implementation of Bilibili's Live P2P Streaming System Using WebRTC

Bilibili built a browser‑native live P2P streaming system that uses WebRTC data channels to exchange 60 KB‑sized HLS segment blocks via a WebSocket tracker, employs MessagePack for efficient binary messaging, and adopts a decentralized free‑market peer‑role allocation to limit uploads, dramatically cutting bandwidth while supporting massive concurrent viewers.

BilibiliCDN optimizationLive Video
0 likes · 16 min read
Design and Implementation of Bilibili's Live P2P Streaming System Using WebRTC
Top Architect
Top Architect
Apr 3, 2022 · Databases

Optimizing Redis String Storage: JSON vs MessagePack and Compression Techniques

This article explains why storing JSON strings in Redis is inefficient, compares JSON with binary‑safe formats like MessagePack, evaluates compression algorithms such as ZSTD and LZ4, and provides Python examples showing how to reduce latency and memory usage when using Redis strings.

JSONMessagePackPython
0 likes · 5 min read
Optimizing Redis String Storage: JSON vs MessagePack and Compression Techniques
Beike Product & Technology
Beike Product & Technology
Jan 6, 2021 · Backend Development

Optimizing Apollo Configuration Reading in PHP: Reducing CPU and Memory Overhead

This article analyzes the performance bottleneck caused by large Apollo configuration reads in a PHP application and presents multiple optimization strategies—including static variables, Yac/APCu caching, require‑file with opcache, and MessagePack serialization—to significantly lower CPU and memory consumption while maintaining configuration freshness.

APCuApolloMessagePack
0 likes · 11 min read
Optimizing Apollo Configuration Reading in PHP: Reducing CPU and Memory Overhead
Yuewen Technology
Yuewen Technology
Dec 18, 2017 · Backend Development

How Hermes Uses MessagePack for High‑Performance Backend Data Serialization

The article explains the Hermes data‑communication protocol built on MessagePack, detailing its lightweight design, language‑independent object serialization, binary format extensions, client‑server serialization workflows, object‑tree construction, and traversal strategies that together enable efficient data exchange for the Lest distributed cache system.

Backend ProtocolBinary ProtocolData Serialization
0 likes · 24 min read
How Hermes Uses MessagePack for High‑Performance Backend Data Serialization