Home / Companies / Cloudflare / Blog / Post Details
Content Deep Dive

How Pingora keeps count

Blog post from Cloudflare

Post Details
Company
Date Published
Author
Yuchen Wu
Word Count
1,698
Company Posts That Month
46
Language
English
Hacker News Points
3
Post removed?
No
Summary

Pingora-limits is a Rust library for counting events efficiently using a probabilistic data structure called HyperLogLog++. It provides an estimator that can accurately count the occurrence of events with a small probability of overestimation, making it useful in scenarios where false positives are acceptable or can be mitigated by other means. The design is based on multiple hash tables and atomic counters to ensure lock-free and efficient performance. Pingora-limits is currently used in production at Pingora for the connection limit feature.

Trends Found in this Post

No tracked trend matches for this post yet.

Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.