Ecosyste.ms: Packages

An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 8.2% on proxy.golang.org

proxy.golang.org : github.com/lnquy/elastic-worker-pool

Package ewp is the implementation of elastic/dynamic worker pool (EWP) with graceful shutdown. After started up, EWP controller automatically monitors the workload level of the pool and based on that to determine the pool size need to be expanded (spawn more workers) or shrunk (kill free workers). Create EWP with default configs: Or create EWP with full customized configs: Or create a fixed traditional worker pool: Send jobs to EWP to be processed later: Send jobs with timeout: Gracefully shutdown the EWP:

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/lnquy/elastic-worker-pool
Keywords: dynamic, elastic, go, golang, graceful-shutdown, worker-pool
License: MIT
Latest release: about 5 years ago
First release: about 5 years ago
Namespace: github.com/lnquy
Stars: 8 on GitHub
Forks: 1 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 21 days ago

    Loading...
    Readme
    Loading...