Categories: None [Edit]

singleflight

https://rubygems.org/gems/singleflight
https://github.com/yoavgeva/singleflight
Its primary purpose is to ensure that only one call to an expensive or duplicative operation is in flight at any given time. When multiple requests request the same resource, singleflight ensures that the function is executed only once, and the result is shared among all callers. This pattern is particularly useful in scenarios where caching isn't suitable or when the results are expected to change frequently.

Total

Ranking: 185,630 of 186,801
Downloads: 298

Daily

Ranking: 124,921 of 186,780
Downloads: 2

Depended by

RankDownloadsName

Depends on

RankDownloadsName

Owners

#GravatarHandle
1iconshadez