Tagged articles
3 articles
Page 1 of 1
Alibaba Cloud Native
Alibaba Cloud Native
Jul 27, 2022 · Backend Development

Mastering RocketMQ Timed Messages: Precise, Scalable Scheduling for Distributed Systems

This article explains the concept, scenarios, advantages, and implementation details of Apache RocketMQ's timed/delay messages, including the TimerWheel algorithm, service workflow, a financial payment‑timeout use case, and practical steps for creating and consuming timed messages.

Backend DevelopmentDistributed SchedulingMessage Queue
0 likes · 11 min read
Mastering RocketMQ Timed Messages: Precise, Scalable Scheduling for Distributed Systems
Architecture Digest
Architecture Digest
Dec 17, 2020 · Backend Development

Deep Dive into Caffeine Cache: High‑Performance Design and Source‑Code Analysis

This article explains Caffeine, a high‑performance Java local cache that supersedes Guava Cache, by detailing its design principles such as the W‑TinyLFU eviction algorithm, FrequencySketch implementation, adaptive window sizing, asynchronous read/write buffers, and timer‑wheel expiration, accompanied by extensive code examples.

CacheCaffeineFrequencySketch
0 likes · 37 min read
Deep Dive into Caffeine Cache: High‑Performance Design and Source‑Code Analysis