Skip to content

Stay curious. Build better.

Appearance

Choose how BestHub looks on this device.

Changes apply immediately.

Search articles

Open Discover with these filters

Suggested searches

Latest articles

6 min read

Android Resource Reliability: Token Bucket, Multi-Rate Limiting & Quota Design

This article explores Android's system-level reliability designs, including the TokenBucket rate limiter for logs and metrics, the MultiRateLimiter multi-window quota engine used for Toast rate limiting, and resource counting mechanisms like broadcast receiver limits, showing how Google prevents system overload from app misuse.

21 min read

In‑Depth Analysis of Guava RateLimiter: Architecture, Algorithms, and Usage

This article provides a comprehensive walkthrough of Google Guava's RateLimiter, covering its practical rate‑limiting scenarios, underlying token‑bucket algorithm, detailed source‑code structure, core classes such as RateLimiter, SmoothRateLimiter, SmoothBursty and SmoothWarmingUp, usage examples, and considerations for extending or adapting the component in distributed systems.