4-10x faster in-process pub/sub for Go
10 months ago
- #HighPerformance
- #EventDispatcher
- #Go
- High-performance, in-process event dispatcher for Go.
- Supports both synchronous and asynchronous processing.
- 4x to 10x faster than channels.
- Works with any type implementing the Event interface.
- Each subscriber runs in its own goroutine for non-blocking handling.
- Ideal for decoupling modules and lightweight pub/sub patterns.
- Not suitable for inter-process communication or event persistence.
- Provides a default global dispatcher for convenience.
- Benchmarks show high throughput with minimal allocations.
- Licensed under MIT License.