Tagged articles

RangeSet

2 articles · Page 1 of 1
Programmer1970
Programmer1970
Oct 11, 2024 · Fundamentals

Master Google Guava's RangeSet to Supercharge Your Code Efficiency

This article explains Guava's RangeSet API, detailing its automatic range merging, logarithmic‑time queries, flexible set operations, underlying range‑tree implementation, and provides a complete Java example that demonstrates creation, manipulation, and iteration of range collections.

Data StructuresGoogle GuavaJava
0 likes · 10 min read
Master Google Guava's RangeSet to Supercharge Your Code Efficiency
Tencent Cloud Middleware
Tencent Cloud Middleware
Dec 20, 2021 · Backend Development

How Pulsar Brokers Manage Message Acknowledgments and Cursor Gaps

This article explains how Apache Pulsar brokers track consumer acknowledgments using cursors, store metadata in ZooKeeper and BookKeeper, handle acknowledgment gaps with range sets, and optimize memory usage through LRU and segmented storage to ensure reliable message delivery.

Apache PulsarBookKeeperBroker
0 likes · 15 min read
How Pulsar Brokers Manage Message Acknowledgments and Cursor Gaps