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

github.com/facebookgo/muster

Package muster provides a framework for writing libraries that internally batch operations. It will be useful to you if you're building an API that benefits from performing work in batches for whatever reason. Batching is triggered based on a maximum number of items in a batch, and/or based on a timeout for how long a batch waits before it is dispatched. For example if you're willing to wait for a maximum of a 1m duration, you can just set BatchTimeout and keep adding things. Or if you want batches of 50 just set MaxBatchSize and it will only fire when the batch is filled. For best results set both. It would be in your best interest to use this library in a hidden fashion in order to avoid unnecessary coupling. You will typically achieve this by ensuring your implementation of muster.Batch and the use of muster.Client are private.

Ecosystem
proxy.golang.org
Latest Release
v0.0.0-20150708232844-fd3d7953fd52
over 10 years ago
Versions
1
Dependent Packages
221
Dependent Repos
1,173
Links
Registry proxy.golang.org
Source Repository
Docs Documentation
JSON API View JSON
CodeMeta codemeta.json
Package Details
PURL pkg:golang/github.com/facebookgo/muster
spec
License BSD-3-Clause
Namespace github.com/facebookgo
First Release over 10 years ago
Last Synced 16 days ago
Repository
Stars 111 on GitHub
Forks 12 on GitHub
Docker Dependents 40
Docker Downloads 116,557,244
Rankings on proxy.golang.org
Overall Top 2.2%
Dependent packages Top 0.3%
Dependent repos Top 0.2%
Forks Top 6.0%
Docker downloads Top 0.2%