Closed AlexeySpiridonov closed 1 year ago
I need handle more than 50 000 evens /sec
Like AsyncFire but through channels?
@AlexeySpiridonov hi, add the feature on v1.1.0
:
// ChannelSize for fire events by goroutine
ChannelSize int
ConsumerNum int
(em *Manager) Async(name string, params M)
(em *Manager) FireC(name string, params M)
(em *Manager) FireAsync(e Event)
NOTE: should call the method Close() after exit program.
The library is very good.
But I am interested in working under high load.
Have you thought about adding channel support to event.Fire()? That would be able to handle load peaks?