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
opt: bump up the minimum required Go version to 1.16
panjf2000 opened this pull request 12 days ago
panjf2000 opened this pull request 12 days ago
[Feature]: Incorrect Comment in ants.go Regarding workerChanCap Description
AlvinZGH opened this issue 12 days ago
AlvinZGH opened this issue 12 days ago
[Question]: NewMultiPool和NewPool大批量任务下推荐使用哪个
honey-zxy opened this issue 12 days ago
honey-zxy opened this issue 12 days ago
[Question]: 请教一个协程池释放的问题
shaco-go opened this issue 25 days ago
shaco-go opened this issue 25 days ago
[Question]: gnet + ants 工作一段时间后服务无响应
hi-glenn opened this issue 2 months ago
hi-glenn opened this issue 2 months ago
[Question]: 关于协程池的任务队列问题
baichangda opened this issue 4 months ago
baichangda opened this issue 4 months ago
[Question]: 如何支持有等待队列的非阻塞模式。
amosnothing opened this issue 5 months ago
amosnothing opened this issue 5 months ago
fix(pool): ensure proper lock handling in retrieveWorker
gou-jjjj opened this pull request 5 months ago
gou-jjjj opened this pull request 5 months ago
fix multi goroutine unlock after add running cause cap > p.running no…
CyanChan opened this pull request 5 months ago
CyanChan opened this pull request 5 months ago
minor: v2.10.0 (update)
panjf2000 opened this pull request 6 months ago
panjf2000 opened this pull request 6 months ago
bug: fix the last error being missed in ReleaseTimeout() for multi-pool
panjf2000 opened this pull request 6 months ago
panjf2000 opened this pull request 6 months ago
bug: alleviate the data race between Release() and Reboot()
panjf2000 opened this pull request 6 months ago
panjf2000 opened this pull request 6 months ago
opt: speed up ReleaseTimeout() for multi-pool
panjf2000 opened this pull request 6 months ago
panjf2000 opened this pull request 6 months ago
minor: v2.10.0
panjf2000 opened this pull request 6 months ago
panjf2000 opened this pull request 6 months ago
bug: alleviate the data race between Release() and Reboot()
panjf2000 opened this pull request 6 months ago
panjf2000 opened this pull request 6 months ago
opt: make ReleaseTimeout() more efficient in waiting workers to exit
panjf2000 opened this pull request 6 months ago
panjf2000 opened this pull request 6 months ago
patch: v2.9.2
panjf2000 opened this pull request 6 months ago
panjf2000 opened this pull request 6 months ago
opt: calculate the interval for ReleaseTimeout() based on a default count
panjf2000 opened this pull request 6 months ago
panjf2000 opened this pull request 6 months ago
ci: replace macos-latest with macos-12 for go1.13
panjf2000 opened this pull request 6 months ago
panjf2000 opened this pull request 6 months ago
opt: increase the interval of waiting in ReleaseTimeout()
panjf2000 opened this pull request 6 months ago
panjf2000 opened this pull request 6 months ago
[Bug]: A potential goroutine leak in pool.go
xuxiaofan1203 opened this issue 8 months ago
xuxiaofan1203 opened this issue 8 months ago
[Question]: possible to provide advise on when should we use this gopool vs ants?
ouvaa opened this issue 9 months ago
ouvaa opened this issue 9 months ago
[Bug]: Crashed running this in 192 core cpu aws c6a 384 gb ram cloud instance
ouvaa opened this issue 9 months ago
ouvaa opened this issue 9 months ago
opt: using anonymous functions to keep goroutines alive after a panic
coticom opened this pull request 9 months ago
coticom opened this pull request 9 months ago
commit
sedateme123 opened this pull request 9 months ago
sedateme123 opened this pull request 9 months ago
patch: v2.9.1
panjf2000 opened this pull request 9 months ago
panjf2000 opened this pull request 9 months ago
bug: return error before creating multi pools if lbs is invalid to avoid leaks
akshaynanavare opened this pull request 9 months ago
akshaynanavare opened this pull request 9 months ago
[Feature]: 144bytes allocated consistently just using ants.Submit( without doing anything
kolinfluence opened this issue 9 months ago
kolinfluence opened this issue 9 months ago
使用ants嵌套并发无法正确取消上下文
n1ec opened this issue 10 months ago
n1ec opened this issue 10 months ago
[Question]: 在mac上运行自带的压测代码,antspool的并发不如原生的goroutine
coder-dalinge opened this issue 11 months ago
coder-dalinge opened this issue 11 months ago
[Bug]: 设置了ants.WithExpiryDuration(5*time.Second) 没起作用,导致pool满后一直未释放worker,阻塞新task
wowo666 opened this issue 11 months ago
wowo666 opened this issue 11 months ago
[Question]: Can ants execute tasks in order?
rts-gordon opened this issue about 1 year ago
rts-gordon opened this issue about 1 year ago
doc: add MultiPool & MultiPoolFunc example code and update READMEs.
POABOB opened this pull request about 1 year ago
POABOB opened this pull request about 1 year ago
[Feature]: Add panicHandlerBuilder
PeterlitsZo opened this issue about 1 year ago
PeterlitsZo opened this issue about 1 year ago
chore: add new benchmark tests
panjf2000 opened this pull request about 1 year ago
panjf2000 opened this pull request about 1 year ago
ver: release 2.9.0
panjf2000 opened this pull request about 1 year ago
panjf2000 opened this pull request about 1 year ago
opt: fall back to LeastTasks when RoundRobin can't find a worker
panjf2000 opened this pull request about 1 year ago
panjf2000 opened this pull request about 1 year ago
feat: add MultiPool and MultiPoolWithFunc
panjf2000 opened this pull request about 1 year ago
panjf2000 opened this pull request about 1 year ago
[Question]: set max block task, but not return err when block task num more than set value
Suvian-wy opened this issue about 1 year ago
Suvian-wy opened this issue about 1 year ago
chore: eliminate some useless content
panjf2000 opened this pull request about 1 year ago
panjf2000 opened this pull request about 1 year ago
refactor: enforce a few minor optimization in code
POABOB opened this pull request about 1 year ago
POABOB opened this pull request about 1 year ago
chore: enable more title matchers for auto-labelers of bug and new feature
panjf2000 opened this pull request over 1 year ago
panjf2000 opened this pull request over 1 year ago
patch: v2.8.2
panjf2000 opened this pull request over 1 year ago
panjf2000 opened this pull request over 1 year ago
chore: enable auto-labeler for PRs of updating semantic version
panjf2000 opened this pull request over 1 year ago
panjf2000 opened this pull request over 1 year ago
bug: return the error from Pool.Submit/PoolWithFunc.Invoke accordingly
panjf2000 opened this pull request over 1 year ago
panjf2000 opened this pull request over 1 year ago
chore: clean up some comments and CI yaml
panjf2000 opened this pull request over 1 year ago
panjf2000 opened this pull request over 1 year ago
refactor: refine the code in `retrieveWorker` to make it more readable
POABOB opened this pull request over 1 year ago
POABOB opened this pull request over 1 year ago
[Question]: ants.Submit() question
hiqsociety opened this issue over 1 year ago
hiqsociety opened this issue over 1 year ago
[Question]: How to get meaningful statistics on a function pool?
ivoras opened this issue over 1 year ago
ivoras opened this issue over 1 year ago
chore: bump up modules
panjf2000 opened this pull request over 1 year ago
panjf2000 opened this pull request over 1 year ago
chore: add a new use case
panjf2000 opened this pull request over 1 year ago
panjf2000 opened this pull request over 1 year ago
bug:aviod int overflow
matyle opened this pull request over 1 year ago
matyle opened this pull request over 1 year ago
ver: release v2.8.1
panjf2000 opened this pull request over 1 year ago
panjf2000 opened this pull request over 1 year ago
opt: fix the potential goroutine leak after calling `Release()`
ELchem opened this pull request over 1 year ago
ELchem opened this pull request over 1 year ago
ver: release v2.8.0
panjf2000 opened this pull request over 1 year ago
panjf2000 opened this pull request over 1 year ago
feat: add a new API `ReleaseTimeout` for the default pool
ELchem opened this pull request over 1 year ago
ELchem opened this pull request over 1 year ago
Sync recent changes
panjf2000 opened this pull request over 1 year ago
panjf2000 opened this pull request over 1 year ago
Sync recent changes from dev to master
panjf2000 opened this pull request over 1 year ago
panjf2000 opened this pull request over 1 year ago
Revert "feat: add a new API `ReleaseTimeout` for the default pool (#2…
panjf2000 opened this pull request over 1 year ago
panjf2000 opened this pull request over 1 year ago
feat: add a new API `ReleaseTimeout` for the default pool
ELchem opened this pull request over 1 year ago
ELchem opened this pull request over 1 year ago
[Question]: 为什么不提供一个任务包装,等待,获取任务结果
zundaren opened this issue over 1 year ago
zundaren opened this issue over 1 year ago
Add a new feature: Qos Limter
hang666 opened this pull request over 1 year ago
hang666 opened this pull request over 1 year ago
bug: workerStack's binarySearch
callthingsoff opened this pull request over 1 year ago
callthingsoff opened this pull request over 1 year ago
[Question]: How can I verifier the max goroutine count in pool is correct
mingregister opened this issue over 1 year ago
mingregister opened this issue over 1 year ago
[Bug]: Potential goroutine leak in pool.go
hhheiaenia opened this issue over 1 year ago
hhheiaenia opened this issue over 1 year ago
bug: fix the missing log.Lmsgprefix in go1.13
piaodazhu opened this pull request over 1 year ago
piaodazhu opened this pull request over 1 year ago
[Bug]: go.mod 中的go version(1.13)和ants.go存在不匹配
piaodazhu opened this issue over 1 year ago
piaodazhu opened this issue over 1 year ago
[Question]: 清理过期worker一点疑问
xiaozhang902 opened this issue over 1 year ago
xiaozhang902 opened this issue over 1 year ago
[Question]: can you please confirm the proper way for variables to be sent using ants?
kolinfluence opened this issue over 1 year ago
kolinfluence opened this issue over 1 year ago
opt: refactor the worker queue for reusability and readability of code
panjf2000 opened this pull request almost 2 years ago
panjf2000 opened this pull request almost 2 years ago
[Bug]: ants.NewPoolWithFunc(1000, dorequest),当dorequest函数中不使用fmt.Println时,CPU耗尽;当使用打印函数时,CPU正常
yingjie52 opened this issue almost 2 years ago
yingjie52 opened this issue almost 2 years ago
[Question]: 主动kill任务
wangxin0814 opened this issue almost 2 years ago
wangxin0814 opened this issue almost 2 years ago
fix: exit ticktock goroutine when pool is closed
GlebRadchenko opened this pull request about 2 years ago
GlebRadchenko opened this pull request about 2 years ago
[Bug]: ticktock() goroutine memory leak
GlebRadchenko opened this issue about 2 years ago
GlebRadchenko opened this issue about 2 years ago
[Feature]: Support resource partition
huanggze opened this issue about 2 years ago
huanggze opened this issue about 2 years ago
opt: cache current time for workders and update it periodically
panjf2000 opened this pull request about 2 years ago
panjf2000 opened this pull request about 2 years ago
fix(sec): upgrade gopkg.in/yaml.v3 to 3.0.0
pen4 opened this pull request about 2 years ago
pen4 opened this pull request about 2 years ago
call ReleaseTimeout return ErrTimeout operation timed out, coroutine not released
kingangelAOA opened this issue about 2 years ago
kingangelAOA opened this issue about 2 years ago
why not check whether p.works has available worker before you spawn a new worker?
zhangbo2008 opened this issue about 2 years ago
zhangbo2008 opened this issue about 2 years ago
Multiple Arguments Pool Function
void-developer opened this pull request about 2 years ago
void-developer opened this pull request about 2 years ago
[Feature] Introduce the Future(like java) into ants.
brotherlu-xcq opened this issue about 2 years ago
brotherlu-xcq opened this issue about 2 years ago
Add Working and Idle methods
czs007 opened this pull request about 2 years ago
czs007 opened this pull request about 2 years ago
Add Working() method to get current number of busy goroutines
czs007 opened this issue about 2 years ago
czs007 opened this issue about 2 years ago
Add option to turn off automatically purge
czs007 opened this pull request about 2 years ago
czs007 opened this pull request about 2 years ago
Add option to turn off purgePeriodically
czs007 opened this issue about 2 years ago
czs007 opened this issue about 2 years ago
how is p.Release() behavior?
tesarwijaya opened this issue over 2 years ago
tesarwijaya opened this issue over 2 years ago
workerArray数据结构选择问题,为何需要两种数据结构?
geeklingithub opened this issue over 2 years ago
geeklingithub opened this issue over 2 years ago
关于pool使用的自旋锁的性能问题
AlespRless opened this issue over 2 years ago
AlespRless opened this issue over 2 years ago
add support for Run(ctx) interface
godcong opened this pull request over 2 years ago
godcong opened this pull request over 2 years ago
Add a new method -- ReleaseWaitAllWorkersExit() for waiting all worke…
cuishuang opened this pull request over 2 years ago
cuishuang opened this pull request over 2 years ago
提议:新增 ReleaseWaitAllWorkersExit(),用于等待所有worker都被释放后再返回
cuishuang opened this issue over 2 years ago
cuishuang opened this issue over 2 years ago
提个建议: 增加拒绝策略
Yballul opened this issue over 2 years ago
Yballul opened this issue over 2 years ago
请问V1和v2的区别?
519610446 opened this issue over 2 years ago
519610446 opened this issue over 2 years ago
求大佬解惑,每一个 worker 绑定一个 goroutine,怎么理解?
jiangjiangjiangjiangjiangjiangjiang opened this issue over 2 years ago
jiangjiangjiangjiangjiangjiangjiang opened this issue over 2 years ago
为什么这里这样设计,不是循环引用么?求大佬解答
jiangjiangjiangjiangjiangjiangjiang opened this issue over 2 years ago
jiangjiangjiangjiangjiangjiangjiang opened this issue over 2 years ago
设置最大阻塞后异常,而且不会恢复原来的运行
gcggcg opened this issue over 2 years ago
gcggcg opened this issue over 2 years ago
池子预热小技巧,先预热池子,让冷启动之后,预备20个worker,让应用更快进入状态
cnmade opened this pull request over 2 years ago
cnmade opened this pull request over 2 years ago
Can add SubmitWithContext(ctx context.Context, task func(ctx context.Context)) error
mei-rune opened this issue over 2 years ago
mei-rune opened this issue over 2 years ago
任务过多导致func里面参数的丢失
zoring opened this issue over 2 years ago
zoring opened this issue over 2 years ago
what about adding a costumed UID for every task, so we can avoid repeatedly submit same task.
CormickKneey opened this issue over 2 years ago
CormickKneey opened this issue over 2 years ago