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

Top 3.1% on proxy.golang.org
Top 1.9% dependent packages on proxy.golang.org
Top 1.2% dependent repos on proxy.golang.org
Top 4.4% forks on proxy.golang.org

proxy.golang.org : github.com/mongodb/amboy

Package amboy provides basic infrastructure for running and describing jobs and job workflows with, potentially, minimal overhead and additional complexity. Amboy works with 4 basic logical objects: jobs representing work; runners, which are responsible for executing jobs; queues, that represent pipelines and offline workflows of jobs (i.e. not real time, processes that run outside of the primary execution path of a program); and dependencies that represent relationships between jobs. The inspiration for amboy was to be able to provide a unified way to define and run jobs, that would feel equally "native" for distributed applications and distributed web application, and move easily between different architectures. While amboy users will generally implement their own Job and dependency implementations, Amboy itself provides several example Queue implementations, as well as several generic examples and prototypes of Job and dependency.Manager objects. Generally speaking you should be able to use included amboy components to provide the queue and runner components, in conjunction with custom and generic job and dependency variations. Consider the following example: The amboy package proves a number of generic methods that, using the Queue.Stats() method, block until all jobs are complete. They provide different semantics, which may be useful in different circumstances. All of the Wait* functions wait until the total number of jobs submitted to the queue is equal to the number of completed jobs, and as a result these methods don't prevent other threads from adding jobs to the queue after beginning to wait. As a special case, retryable queues will also wait until there are no retrying jobs remaining. Additionally, there are a set of methods, WaitJob*, that allow callers to wait for a specific job to complete.

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/mongodb/amboy
License: Apache-2.0
Latest release: over 1 year ago
First release: about 4 years ago
Namespace: github.com/mongodb
Dependent packages: 8
Dependent repositories: 22
Stars: 81 on GitHub
Forks: 28 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 29 days ago

    Loading...
    Readme
    Loading...