ants icon indicating copy to clipboard operation
ants copied to clipboard

🐜🐜🐜 ants is a high-performance and low-cost goroutine pool in Go./ ants 是一个高性能且低损耗的 goroutine 池。

Results 40 ants issues
Sort by recently updated
recently updated
newest added

hello, @panjf2000 `func NewPoolWithFunc(size int, pf func(interface{}), options ...Option)` in NewPoolWithFunc, pf only have an ingerface{}, but i want to pass at least two args, how to solve tihes? my...

help wanted
question
waiting for response

由于 [Issue 142 Why not “p.Running()

proposal
needs investigation

doing so to call invoke does a lot of memory allocations. possible to replace {}Interface with [][]byte or something similar? coz the allocation generated by using panjf is rather unbearable...

question
proposal
waiting for response

**Is your feature request related to a problem? Please describe.** A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] 优先级调度。比如除了 Submit 之外,提供 SubmitUrge...

proposal
waiting for response

## Dear users of `ants` This is a notice about an issue of `ants` in GO modules, the v1.2.0 has been re-tagged with a new commit, which causes the **checksum...

help wanted
question

hi,你好,pprof性能分析时, 偶尔会出现revertWorker内time.Now()占用CPU较高的情况,想请教一下,如果把获取当前时间换成另一种性能更好但可能有误差(误差5ms)的方法,会对整体有较大影响吗?我自己的理解,默认1s过期的情况下,可能会导致有些worker的回收时间延迟1s,但是不太清楚这个对ants整体的影响

help wanted
question

Will websocket be written with ants be more performant than using solutions such as gobwas or fastws With reference to go routines being used in websocket here https://www.freecodecamp.org/news/million-websockets-and-go-cc58418460bb/ and also...

help wanted
question

For 10M tasks using only 1.3gb, can you put your server spec into front page for your benchmark? It seems to be very very good.

help wanted
question

How much memory per goroutine pool size? Can you please put this on main page? p, _ := ants.NewPool(50000)

help wanted
question

possible to use ants as a soft-realtime go func() like erlang? sorry i hv yet to explore this code in detail but i'm exploring options to make goroutines handle more...

help wanted
question