Limiters in libdex (opens in new tab)
Libdex now has DexLimiter, a small utility for bounding how much asynchronous work runs at once. This is useful when a workload can produce more parallelism than the underlying machine, subsystem, or service should actually handle. Common examples include indexing files, downloading URLs, generating thumbnails, parsing documents, or querying a service with a fixed concurrency … Continue reading Limiters in libdex
Read the original article