Reactive Programming: creating highly responsive applications
summary
Reactive programming advocates modeling live data as streams and building apps that push updates to subscribers instead of polling; the demo uses RxJava observable with subscribe/ onNext / onError / onCompleted, shows subscribeOn schedulers for asynchrony, client-side unsubscribe to stop wasted work, and onErrorResumeNext to failover to a backup feed. Claims: stream-based code improves responsiveness and resilience for bursty loads (example: 200–300 regular users vs 5 million peak), and elasticity plus circuit-breaker-style handling prevents cascading failures.
AI-written summary · about
chapters (19)
- 0:00Start
- 0:27Reactive Programming
- 1:18The Emphasis behind Reactive Programming
- 2:40Multi-Core Processors
- 3:04Wearable Devices
- 5:30What Reactive Systems Are All About
- 7:27Scalability
- 8:38Responsiveness
- 9:25Resilience
- 12:19Create a Responsive Reactive Resilient Application
- 16:25Data Flow Computing
- 22:57How Is It Different from the Observer Pattern
- 40:17Producer and Consumer Model
- 44:24Kinds of Errors
- 45:18Recover Gracefully from the Failures
- 45:55Exception Handling
- 49:33Propagate the Error Back to the Caller
- 55:22Reactive Manifesto
- 56:21Make the Application Responsive
