Tagged articles
6 articles
Page 1 of 1
Architecture Digest
Architecture Digest
Jul 3, 2021 · Fundamentals

Message Exchange Patterns: Architecture and Routing

This article explains the fundamental message exchange patterns—including publish‑subscribe, fan‑out, unidirectional and bidirectional streaming—as well as routing models such as unicast, broadcast, multicast, and anycast, illustrating each with common technology examples.

MessagingStreamingmulticast
0 likes · 8 min read
Message Exchange Patterns: Architecture and Routing
Baidu App Technology
Baidu App Technology
Mar 26, 2021 · Backend Development

Design and Evolution of Baidu Live Streaming Message Service

Baidu’s live‑streaming message service evolved from a basic group‑chat model to a scalable multicast architecture that delivers up to a million concurrent users per room with sub‑second latency, using message aggregation, compression, and priority channels to manage QPS, bandwidth, and reliable gift delivery.

architecturehigh concurrencylive streaming
0 likes · 28 min read
Design and Evolution of Baidu Live Streaming Message Service
Baidu Geek Talk
Baidu Geek Talk
Mar 24, 2021 · Backend Development

How Baidu Scales Live‑Stream Messaging to Millions of Users

This article analyzes Baidu's live‑stream messaging system, compares it with ordinary group chat, identifies scalability challenges, proposes a multicast (mcast) architecture, evaluates performance, bandwidth, and client impact, and outlines further enhancements such as historical and gift messages.

Backend ArchitecturePerformance OptimizationScalability
0 likes · 29 min read
How Baidu Scales Live‑Stream Messaging to Millions of Users
Meituan Technology Team
Meituan Technology Team
Nov 3, 2015 · Mobile Development

Understanding Hot and Cold Signals in ReactiveCocoa (RAC)

The article explains that in ReactiveCocoa cold signals are plain RACSignal instances that start their work per subscriber, while hot signals are RACSubject (or subclasses) that broadcast a single execution to all observers, and demonstrates converting cold to hot using subjects, multicast operators, and replay helpers such as replayLazily to share network requests.

ColdSignalFunctionalReactiveProgrammingHotSignal
0 likes · 18 min read
Understanding Hot and Cold Signals in ReactiveCocoa (RAC)
Meituan Technology Team
Meituan Technology Team
Jul 16, 2015 · Mobile Development

Understanding RACSignal Subscription, Multicast, and Replay in ReactiveCocoa

The article breaks down RACSignal’s three‑step subscription flow, then explains how multicast and replay operators—built on RACSubject and RACReplaySubject—share a single source, buffer values, and ensure side‑effects like network requests execute only once regardless of how many subscribers attach.

Objective‑CRACSignalReactiveCocoa
0 likes · 18 min read
Understanding RACSignal Subscription, Multicast, and Replay in ReactiveCocoa