Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/panjf2000/ants
🐜🐜🐜 ants is a high-performance and low-cost goroutine pool in Go./ ants 是一个高性能且低损耗的 goroutine 池。
https://github.com/panjf2000/ants
Submitting task supports passing in arguments
hanfezh opened this pull request over 2 years ago
hanfezh opened this pull request over 2 years ago
Update main.go
chensanle opened this pull request over 2 years ago
chensanle opened this pull request over 2 years ago
chore: remove the unused member variable: size of workerStack
zqkgo opened this pull request over 2 years ago
zqkgo opened this pull request over 2 years ago
How do I get the results of my tasks
iGen1us opened this issue over 2 years ago
iGen1us opened this issue over 2 years ago
求问pool中running()方法返回的数字的含义
imDpeng opened this issue over 2 years ago
imDpeng opened this issue over 2 years ago
golang 1.17.x 版本测试通过了吗?
ZhMaio opened this issue over 2 years ago
ZhMaio opened this issue over 2 years ago
Performance differences between go1.13 and 1.14 and later versions
Keima-lpj opened this issue over 2 years ago
Keima-lpj opened this issue over 2 years ago
期望能有 TuneMaxBlockingTasks(size int) 动态调整功能
fufuok opened this issue over 2 years ago
fufuok opened this issue over 2 years ago
purgePeriodically 导致阻塞
zqlpaopao opened this issue over 2 years ago
zqlpaopao opened this issue over 2 years ago
goroutine pool 对性能的影响的疑问
hugh-404 opened this issue over 2 years ago
hugh-404 opened this issue over 2 years ago
想知道是你们是怎么做压测的,光看速度的话,我试了一下,还不如原生的
yxiupei opened this issue over 2 years ago
yxiupei opened this issue over 2 years ago
Handling a worker / task that has failed
FeurJak opened this issue over 2 years ago
FeurJak opened this issue over 2 years ago
公开压测代码
lockeliu opened this issue over 2 years ago
lockeliu opened this issue over 2 years ago
What happens to Routine when it has finished?
FeurJak opened this issue over 2 years ago
FeurJak opened this issue over 2 years ago
ants 和 waitgroup一起使用时出现 negative waitGroup counter问题
huangketsudou opened this issue over 2 years ago
huangketsudou opened this issue over 2 years ago
is the latest 1.18 go routine faster than this?
hiqsociety opened this issue almost 3 years ago
hiqsociety opened this issue almost 3 years ago
any difference between this and https://github.com/bytedance/gopkg/tree/develop/util/gopool
hiqsociety opened this issue almost 3 years ago
hiqsociety opened this issue almost 3 years ago
goWorkerWithFunc:recycleTime is not thread safe
arrony135 opened this issue almost 3 years ago
arrony135 opened this issue almost 3 years ago
`purgePeriodically` function is left running for a while after `pool.Release` is called
ShivanshVij opened this issue almost 3 years ago
ShivanshVij opened this issue almost 3 years ago
Remove worker_func.go and modify pool_func.go simplifying the library
lucafmarques opened this pull request almost 3 years ago
lucafmarques opened this pull request almost 3 years ago
Awake the blocking callers when Tune(size int) is invoked to expand the pool
fanlongteng opened this pull request almost 3 years ago
fanlongteng opened this pull request almost 3 years ago
请问能否获取每个goroutines的返回值
dream0407 opened this issue almost 3 years ago
dream0407 opened this issue almost 3 years ago
请问当ants在执行CPU密集型任务时,调度时能否不打断任务?
dragon-zhang opened this issue almost 3 years ago
dragon-zhang opened this issue almost 3 years ago
想问一下, 有没有办法固定pool中协程的数量
shoaly opened this issue almost 3 years ago
shoaly opened this issue almost 3 years ago
Add binarysearch of loop queue
bright2227 opened this pull request almost 3 years ago
bright2227 opened this pull request almost 3 years ago
当使用Tune(size int)放大容量时,之前blocking的任务并不会立即执行
nzx824 opened this issue almost 3 years ago
nzx824 opened this issue almost 3 years ago
如何设置协程池初始协程的大小的呢?有没有计算公式?
18310983239 opened this issue about 3 years ago
18310983239 opened this issue about 3 years ago
What is the appropriate number of goroutine pools for different hardware resources?
NICEXAI opened this issue about 3 years ago
NICEXAI opened this issue about 3 years ago
关闭Pool时出现异常行为
zhu121 opened this issue about 3 years ago
zhu121 opened this issue about 3 years ago
你好,请问可以开个循环处理队列一直不关闭吗?会不会占用很高内存或者cpu
shikingram opened this issue about 3 years ago
shikingram opened this issue about 3 years ago
请问使用默认 AntsPool 需要手动释放资源吗?
guowei-gong opened this issue about 3 years ago
guowei-gong opened this issue about 3 years ago
worker with func exits from a panic: sync: negative WaitGroup counter
WyntersN opened this issue about 3 years ago
WyntersN opened this issue about 3 years ago
optimize: calculating mid in binary search
qmdx00 opened this pull request about 3 years ago
qmdx00 opened this pull request about 3 years ago
在传给Submit的task函数中调用Submit可能导致block
bigwhite opened this issue about 3 years ago
bigwhite opened this issue about 3 years ago
频繁通过pool.Tune方法来实现动态增加/减少协程的数量
longrbl opened this issue about 3 years ago
longrbl opened this issue about 3 years ago
pool should be Independence
venusDo opened this issue about 3 years ago
venusDo opened this issue about 3 years ago
How do I call database insert operation using ants
kiranupadhyak opened this issue about 3 years ago
kiranupadhyak opened this issue about 3 years ago
Replace goto with simple for loop
lord63 opened this pull request about 3 years ago
lord63 opened this pull request about 3 years ago
add more test about spinlock
liu-song opened this pull request about 3 years ago
liu-song opened this pull request about 3 years ago
自旋锁的性能对比测试
liu-song opened this issue about 3 years ago
liu-song opened this issue about 3 years ago
Pause API is needed in some scenario
lilien1010 opened this issue about 3 years ago
lilien1010 opened this issue about 3 years ago
add shopify into user cases
lilien1010 opened this pull request about 3 years ago
lilien1010 opened this pull request about 3 years ago
Shopify,Inc is using this project on production, maybe we ad a logo on user case.
lilien1010 opened this issue about 3 years ago
lilien1010 opened this issue about 3 years ago
.
zt102545 opened this issue about 3 years ago
zt102545 opened this issue about 3 years ago
Update the link of one of the relevant articles
TwiN opened this pull request about 3 years ago
TwiN opened this pull request about 3 years ago
Update the link of one of the relevant articles
TwiN opened this pull request over 3 years ago
TwiN opened this pull request over 3 years ago
style: fixed some typos in the comments
automano opened this pull request over 3 years ago
automano opened this pull request over 3 years ago
提供非阻塞的 Submit() 方法
liracle opened this issue over 3 years ago
liracle opened this issue over 3 years ago
限制每秒钟最大执行数量
likyh opened this issue over 3 years ago
likyh opened this issue over 3 years ago
不太明白maxBlockingTasks的作用
jackerlu opened this issue over 3 years ago
jackerlu opened this issue over 3 years ago
在协程里频繁创建协程池有异常,貌似有协程泄露的问题
ohmygd opened this issue over 3 years ago
ohmygd opened this issue over 3 years ago
try heavily overload panjf with lots of locks and unlock, then u can see lock slow, semaphore issues and crash
hiqsociety opened this issue over 3 years ago
hiqsociety opened this issue over 3 years ago
feat: goroutine exits immediately
exfly opened this pull request over 3 years ago
exfly opened this pull request over 3 years ago
doing so to call invoke does a lot of memory allocations.
superdolt opened this issue over 3 years ago
superdolt opened this issue over 3 years ago
Announcement: please replace ants v1.2.0 with v1.2.1
panjf2000 opened this issue over 3 years ago
panjf2000 opened this issue over 3 years ago
allow NewPoolWithFunc can invoke with nil argument
bingoohuang opened this pull request over 3 years ago
bingoohuang opened this pull request over 3 years ago
最新的基准测试跑过了么,比不过原生的
bingoohuang opened this issue over 3 years ago
bingoohuang opened this issue over 3 years ago
偶发情况下revertWorker内time.Now()占用CPU较高
chiselX opened this issue over 3 years ago
chiselX opened this issue over 3 years ago
Submit a task with args to pool
icecube092 opened this pull request over 3 years ago
icecube092 opened this pull request over 3 years ago
期望暴露个 blockingNum 的统计数量
fufuok opened this issue over 3 years ago
fufuok opened this issue over 3 years ago
关于 [Issue 142][Why not “p.Running()<capacity”] 的问题
math345 opened this issue almost 4 years ago
math345 opened this issue almost 4 years ago
I just realised your server spec must be very very good
gitmko0 opened this issue about 4 years ago
gitmko0 opened this issue about 4 years ago
About the performace when using ants in websocket
gitmko0 opened this issue about 4 years ago
gitmko0 opened this issue about 4 years ago
About the memory consumption of pool
gitmko0 opened this issue about 4 years ago
gitmko0 opened this issue about 4 years ago
Does this means we can perform soft-realtime goroutine using this feature like erlang?
gitmko0 opened this issue about 4 years ago
gitmko0 opened this issue about 4 years ago
fix: Memory leak
ioworker0 opened this pull request about 4 years ago
ioworker0 opened this pull request about 4 years ago
[BUG] Memory leak
ioworker0 opened this issue about 4 years ago
ioworker0 opened this issue about 4 years ago
Ants + fasthttp
T200proX7 opened this issue over 4 years ago
T200proX7 opened this issue over 4 years ago
使用过程中遇到的一个比较棘手的问题
1046102779 opened this issue over 4 years ago
1046102779 opened this issue over 4 years ago
how to pass context and other args in pool_func?
kungf opened this issue almost 5 years ago
kungf opened this issue almost 5 years ago
Use pool as a queue
ffb255 opened this issue almost 5 years ago
ffb255 opened this issue almost 5 years ago
提两个小需求
bglmmz opened this issue about 5 years ago
bglmmz opened this issue about 5 years ago
优先级队列支持
choleraehyq opened this issue about 5 years ago
choleraehyq opened this issue about 5 years ago