~/talk

Rediscovering gRPC with Kotlin coroutines

Talkat GeeCON 2019 · 2019-05-15..05-17· [kotlin]
slides:none on file

Shows that replacing gRPC Java callbacks and futures with Kotlin coroutines and channels cuts the callback hell in a bidirectional streaming microservice demo (Death Star, planet, log and score services) into straight sequential code. Uses gRPC Kotlin plus coroutine channels and an optional crota plus helper to avoid explicit coroutine launches. Flow control becomes automatic per-request when iterating channels. Libraries are early versions but the demo runs end-to-end and makes the code far simpler and easier to maintain.

AI-written summary · about

  1. 0:00Introduction and welcome
  2. 3:55Why micro-services and challenges
  3. 7:30What is gRPC and its features
  4. 13:30Protocol buffers explained
  5. 17:54Implementing the Death Star service
  6. 26:11Callback hell with gRPC Java
  7. 29:49Rediscovering with Kotlin coroutines
  8. 35:13Flow control in gRPC
  9. 37:22Kotlin libraries for gRPC
  10. 41:26Key takeaways and summary
  11. 45:08Q&A session
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.