This is a goroutine pool, which can avoid a large amount of performance consumption of creation and destruction under high concurrency, ensure the stable scheduling of modules, and automatically scale the size of the co-program po
grmon
Command line monitoring for goroutines
Install
go get -u github.com/bcicen/grmon
Usage
Simply import and call grmon.Start() somewhere in your code:
import "github.com/bcicen/grmon/a
go-floc
Floc: Orchestrate goroutines with ease.
The goal of the project is to make the process of running goroutines in parallel and synchronizing them easy.
Announcements
Hooray! The new version v
down
Multi goroutine downloader.
To download:
go install github.com/vyasgiridhar/down
Usage:
down "http://google.co.in" -g 8 -o page.html
-g : Number of simultaneous threads to use
-o : Output
Director
This package is built to make it easy to write and to test background goroutines. These are the kinds of goroutines that are meant to have a reasonably long lifespan built around a central loop. This is ofte
Solutions to Golang concurrency exercises introduced in this blogpost. They are not ideal, subject to change, but they are all implemented without mutexes, consciously. I'm aware there is a trade-off between mutexes and channels.
Tunny is a Golang library for spawning and managing a goroutine pool, allowing you to limit work coming from any number of goroutines with a synchronous API.
A fixed goroutine pool is helpful when you have work coming from a
Package pool
Package pool implements a limited consumer goroutine or unlimited goroutine pool for easier goroutine handling and cancellation.
Features:
Dead simple to use and makes no assumptions about how y
grpool
Lightweight Goroutine pool
Clients can submit jobs. Dispatcher takes job, and sends it to first available worker. When worker is done with processing job, will be returned back to worker pool.
Number of worke