Reactive Data Access with Spring Data
summary
Explains non-blocking data access for MongoDB, Redis, Cassandra and Couchbase using Project Reactor 3.1 and Spring 5 with Spring Data K/2.0; demos show reactive template and repository APIs returning Mono/Flux, a Redis-based four-line reactive cache, and MongoDB tailable collections streamed as server-sent events. Requires Netty-based drivers (Lettuce for Redis); JDBC/JPA remain blocking. Shows thread-switching behavior, backpressure support, and that reactive access reduces memory and latency in streaming scenarios but needs async drivers to actually work.
AI-written summary · about
chapters (15)
- 0:00Introduction to reactive data
- 1:12Imperative data access explained
- 5:05Reactive streams concept
- 7:12Prerequisites for reactive access
- 7:53Relational databases limitation
- 8:58Spring Data reactive support
- 10:24Reactive MongoDB template demo
- 14:35Reactive CRUD repositories
- 17:25RXJava 2 repository support
- 18:51Reactive Redis operations
- 20:20Building reactive cache
- 22:46Tailable cursors in MongoDB
- 24:35Server-sent events demo
- 26:22Redis Pub/Sub with Reactor
- 28:06Performance deep dive session
related talks
46mReactive Meets Data Access
51mUnder the Hood of Reactive Data Access
48mGetting Reactive with Relational Databases and R2DBC
56mGetting Reactive with Relational Databases & R2DBC
48mReactive SQL: why it matters
53mIntroducing Hibernate Reactive – The first reactive ORM framework
26mBuilding Reactive Application with R2DBC.
54mThe Microservices Smackdown: Data
