Inter-Reactive Kotlin Applications
summary
Claims that Eclipse Vert.x plus Kotlin coroutines let you write asynchronous, event-driven code in a sequential style, using awaitResult and a Vert.x dispatcher to run suspending functions on the right event loop. Demonstrates a nonblocking JSON streaming parser built with coroutine producers and channels that prints incremental parse events (tested with netcat), propagates cooperative backpressure between readStream/writeStream, and benchmarks showing a single-chunk vs ten-suspend case where coroutine performance stays comparable to the synchronous parser.
AI-written summary · about
chapters (14)
- 0:00Introduction
- 0:31Reactive concepts
- 3:25Systems vs programming
- 4:36Eclipse Vert.x overview
- 5:30Callback-based approach
- 11:25Kotlin coroutines
- 14:07Vert.x coroutines integration
- 16:41Coroutines live demo
- 20:05Vert.x streams and channels
- 22:46Back pressure management
- 26:23Reactive JSON parser
- 37:48Performance benchmarks
- 40:19Coroutines vs RxJava
- 43:48Conclusion
related talks
41mHandling billions of events per day with Kotlin Coroutines
41mHandling billions of events per day with Kotlin Coroutines
49mAsynchronous programming with Kotlin coroutines in Spring
33mVisualising concurrency with Kotlin
51mServer-side Kotlin with Coroutines
59mKotlin coroutines: new ways to do asynchronous programming
01h 03mUsing Kotlin Coroutines for Asynchronous and Concurrent Programming
02h 10mDeepdive into Reactive Spring with Coroutines and Kotlin Flow
