What is the Reactor Pattern?

Card Puncher Data Processing

About

The reactor pattern is just another name for an application that uses a event loop.

Many concurrent requests can be handled by the same thread (ie event loop), thus preventing storing contextual data locally in another thread (ie no Thread local in Java for instance)

Applications or framework that implements the reactor pattern are called reactive.

Example





Discover More
Java Conceptuel Diagram
Java - Vert.X Framework

Vert.x is not a framework but a toolkit: the core library defines the fundamental APIs for writing asynchronous networked applications, and then you can pick the useful modules for your application (e.g.,...
Card Puncher Data Processing
What is Reactive Programming?

Reactive Programming is an event-driven programmation based on the observer / subscriber pattern via an event loop. They are reactive implementing a reactor pattern. It means that: functions create...



Share this page:
Follow us:
Task Runner