Server-side Kotlin with Coroutines
Tuesday Apr 30
5:30 PM –
6:20 PM
205-206
Slides:
This video is also available in the GOTO Play video app! Download it to enjoy offline access to our conference videos while on the move.
Kotlin was designed as a general-purpose programming language and with coroutines writing server-side code is a easy as never before on JVM. We'll dissect scalability and reliability problems of a traditional thread-based stacks and discuss the process of mitigating those issues by introducing asynchrony with Kotlin coroutines. We'll see how coroutine-based design naturally avoids common pitfalls of traditional asynchronous programming such as resource management, error handling and request cancellation, producing safe and reliable code using a concept of structured concurrency.