Tech News
← Back to articles

Event – Fast, In-Process Event Dispatcher

read original related products more articles

Fast, In-Process Event Dispatcher

This package offers a high-performance, in-process event dispatcher for Go, ideal for decoupling modules and enabling asynchronous event handling. It supports both synchronous and asynchronous processing, focusing on speed and simplicity.

High Performance: Processes millions of events per second, about 4x to 10x faster than channels.

Processes millions of events per second, about than channels. Generic: Works with any type implementing the Event interface.

Works with any type implementing the interface. Asynchronous: Each subscriber runs in its own goroutine, ensuring non-blocking event handling.

Use When:

✅ Decoupling modules within a single Go process.

✅ Implementing lightweight pub/sub or event-driven patterns.

... continue reading