Cut your tail latencies by 74% with zero config
Show HN: Cut your tail latencies by 74% with zero config
Based, Cut your tail latencies by 74% with zero config works in show hn launch.
Profile
I'd like to share a curious cache implementation I recently came up with: https://pkg.go.dev/github.com/Snawoot/secacheIt's a small (<200 LOC) simple cache implementation. What makes it curious is how it approaches item expiration. Usually in-memory cache libraries either scan entire key space from time to time or maintain priority queue to kick out oldest items. This library handles item expiration differently: on each new item addition it performs fixed small number of eviction attempts against keys selected randomly. This way it is able to maintain stable high ratio of valid elements in cache.What's more important is that validity of item is decided by user-provided function. That allows
As a business in show hn launch, Cut your tail latencies by 74% with zero config is listed here with the public details available about it.
Its current recorded stage is Show HN launch.
| Sector | Show HN launch |
|---|---|
| Stage | Show HN launch |
Website: pkg.go.dev/github.com/bhope/hedge
Browse related
Create a free account