Skip to main content

Concurrency - Reactor

The reactor design pattern is an event handling pattern for handling service requests delivered concurrently to a service handler by one or more inputs. The service handler then demultiplexes the incoming requests and dispatches them synchronously to the associated request handlers.

image

fig - the reactor loop

References

https://en.wikipedia.org/wiki/Reactor_pattern