BETAmodules.com is in beta — open to partnerships & joint ventures.Build with us

singleflight

v0.1.0RubyGems· Ruby

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.

The verdict
Abandoned. Last published over a year ago. No recent activity — look for a maintained alternative.
No recent activity — look for a maintained alternative.
Live from the RubyGems registry · derived rules, not AI
How it scores
MaintenanceAbandoned
PopularityNiche
SecurityClean
LicensePermissive
DepsZero deps
Maintenance
Last published over a year ago.
Popularity
5 downloads / week
Security
No known advisories for this version (OSV).
License
MIT
Dependencies
No runtime dependencies
Recent releases
  • 0.1.0over a year ago
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. (Ruby / RubyGems) · Modules