What's Reactive programming
Reactive programming has been used for an extremely long time.
Reactive programming brings four things together:
1) Elastic: ability to scale
2) Message-driven: no central database driving. "Don't expose your database, instead expose your data"
4) Resilient (fail fast and gracefully)
Reactive programming is an improved kind of functional programming.
In FP, we do function composition & lazy evaluation; and RP is built on top of these two concepts.
RP is dataflow computing say a stream of data.
A standardization of reactive stream have been done near a decade after the first tools appearance.
It consists of the java.util.concurrent.Flow classes and its 4 inner interfaces: Publisher, Subscriber, Processor and Subscription.
It only defines the interfaces, you have to use the existing tools: RxJava, AKKA, Reactor... to build your application.
We just sent you an email. Please click the link in the email to confirm your subscription!