A Brief History of Backend.
Ancient hipsters.
The Reactive Manifesto introduction.
Akka + Scala command-line chat example implementation.
https://github.com/vladimir-malyk/akka-command-line-chat
11. Cooperative data access
Reactive programming.
Programming paradigm
oriented around data flows
and the propagation of change.
Execution model
will automatically propagate changes
through the data flow.
12.
13. Message Driven
Reactive:
– data is represented by a message flow
– autonomous message handlers
– async non-blocking message handling
Traditionally:
– data is a mutable shared-state
– locks
– synchronization
15. Resilient
Reactive:
– system is highly available even if some handlers has
crashed
– handlers (new or recovered) and dataflows could be
added without downtime
Traditionally:
– application falls entirely
– maintenance downtime
16. Elastic
Reactive:
– event handlers are distributed over multiple
threads/processes/hosts
– message flow between threads/hosts
– scale out by nature
Traditionally:
– heavy-logic threads
– scale up shared-data