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