Eventful Applications: Mastering Reactive Patterns with Node.js
summary
Demo uses RxJS and Node.js streams to turn database and smart‑contract events into observables, showing concrete code that stream rows from Postgres and wrap ethers contract events into event patterns. Claims include lower memory spikes and consistent memory usage versus bulk fetches, handling backpressure and high concurrency, and four observable traits: lazy, cancelable, multi-value, completion. Built a full‑stack GitHub repo that runs, and highlights practical pitfalls like unsubscribe to avoid leaks and operator ordering.
AI-written summary · about
chapters (11)
- 0:00Introduction and setup
- 3:01Reactive programming overview
- 6:56Core concepts: streams and observables
- 9:46Operators in reactive patterns
- 12:17Real-world streaming examples
- 15:30Smart contract streaming demo
- 18:24Front-end reactive integration
- 19:27Why reactive patterns matter
- 20:54Common pitfalls and fixes
- 23:22Next steps and resources
- 25:27Duck hunt challenge
