All Projects → korovkin → Limiter

korovkin / Limiter

go lang concurrency limiter.

Programming Languages

go
31211 projects - #10 most used programming language
golang
3204 projects

Labels

Projects that are alternatives of or similar to Limiter

Getty
a netty like asynchronous network I/O library based on tcp/udp/websocket; a bidirectional RPC framework based on JSON/Protobuf; a microservice framework based on zookeeper/etcd
Stars: ✭ 532 (+192.31%)
Mutual labels:  goroutine
Fgbase
Ready-send coordination layer on top of goroutines.
Stars: ✭ 45 (-75.27%)
Mutual labels:  goroutine
Wasps
wasps is a lightweight goroutine pool for golang, use limited goroutines to achieve multi-task concurrent execution.
Stars: ✭ 88 (-51.65%)
Mutual labels:  goroutine
Grpool
Lightweight Goroutine pool
Stars: ✭ 616 (+238.46%)
Mutual labels:  goroutine
Routine
go routine control, abstraction of the Main and some useful Executors.如果你不会管理Goroutine的话,用它
Stars: ✭ 40 (-78.02%)
Mutual labels:  goroutine
Gotools
create some tools use go lang.
Stars: ✭ 54 (-70.33%)
Mutual labels:  goroutine
Golang runtime reading
golang 1.10.2 runtime code reading - golang runtime源码分析。只有思考过,你才会印象深刻。
Stars: ✭ 393 (+115.93%)
Mutual labels:  goroutine
Gos
基于Go语言的分布式游戏服务器框架,通讯协议:WebSocket、TCP,消息协议:JSON、Protobuf、二进制
Stars: ✭ 147 (-19.23%)
Mutual labels:  goroutine
Gsysint
Golang (as of 1.12.5) runtime internals that gives you an access to internal scheduling primitives. Park Gs, read IDs. (for learning purposes)
Stars: ✭ 44 (-75.82%)
Mutual labels:  goroutine
Go Concurrency
This repos has lots of Go concurrency, goroutine and channel usage and best practice examples
Stars: ✭ 84 (-53.85%)
Mutual labels:  goroutine
Go spider
A golang spider
Stars: ✭ 25 (-86.26%)
Mutual labels:  goroutine
Gorpool
Simple Goroutine pool
Stars: ✭ 37 (-79.67%)
Mutual labels:  goroutine
Gollback
Go asynchronous simple function utilities, for managing execution of closures and callbacks
Stars: ✭ 55 (-69.78%)
Mutual labels:  goroutine
Ants
🐜🐜🐜 ants is a high-performance and low-cost goroutine pool in Go, inspired by fasthttp./ ants 是一个高性能且低损耗的 goroutine 池。
Stars: ✭ 7,180 (+3845.05%)
Mutual labels:  goroutine
Go Tls
A bit safer approach to implement Thread Local Storage (TLS) for Go 1.7+.
Stars: ✭ 104 (-42.86%)
Mutual labels:  goroutine
Blog
Jiajun的编程随想
Stars: ✭ 528 (+190.11%)
Mutual labels:  goroutine
Phproutine
PHProutine is goroutines emulation in PHP
Stars: ✭ 50 (-72.53%)
Mutual labels:  goroutine
Go Flow
Simply way to control goroutines execution order based on dependencies
Stars: ✭ 158 (-13.19%)
Mutual labels:  goroutine
Tcpgoon
tcpgoon, maximum TCP connections tester
Stars: ✭ 141 (-22.53%)
Mutual labels:  goroutine
Async
Async utilities for Golang.
Stars: ✭ 72 (-60.44%)
Mutual labels:  goroutine

go lang goroutine concurrency limiter

builds

Build Status

example

limit the number of concurrent go routines to 10:

  limit := NewConcurrencyLimiter(10)
  for i := 0; i < 1000; i++ {
  	limit.Execute(func() {
  		// do some work
  	})
  }
  limit.Wait()
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].