Ecosyste.ms: Packages

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

proxy.golang.org : github.com/Cleverse/go-utilities/queue

Package queue provides a Pure Golang thread-safe and unlimited-size generics in-memory message queue implementation that supports async enqueue and blocking dequeue. It's alternative way to communicate between goroutines compared to `channel`. The implementation of this in-memory message queue uses sync.Cond instead of channel. This queue is low-level and simple library, it's not a full-featured message queue. If your use-case requires a limited-size queue and blocking enqueue, please use a channel instead. For advanced use-cases like distributed queue, persistent message please use a message broker like Kafka, RabbitMQ, NATES or NSQ instead. You can build any advanced message queue on top of this queue (use this queue for under the hood) like an advance message queue like a single-producer with multiple-consumers queue, broadcast system, multiple topics queue or any other use-cases. Queue is unlimited capacity, so you can enqueue as many as you want without blocking or dequeue required:

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/%21cleverse/go-utilities/queue
Keywords: errors, generic, go, golang, library, minimal, optimized, utilities, utility, zero-dependency
License: MIT
Latest release: 7 months ago
First release: 8 months ago
Namespace: github.com/Cleverse/go-utilities
Stars: 4 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 4 days ago

    Loading...
    Readme
    Loading...