~/talk

Using Ktor 3.0 with All the Shiny Things

Talkat GOTO Amsterdam 2024 · 2024-06-10..06-13· [kotlin, nodejs]
slides:none on file

Builds a concrete StackOverflow-question service using Ktor 3.0: shows code to fetch titles/IDs, uses Ktor client notebooks for rapid prototyping, demonstrates unit tests insulated by a mock engine (sample response JSON), wires dependencies with Koin integration, swaps REST for GraphQL and streams with WebSockets, compiles a native executable (startup ~0.003s), adds OpenTelemetry traces, and uses the request-retry plugin. Repository and examples available at the linked GitHub for step-by-step replication.

AI-written summary · about

  1. 0:00Intro
  2. 1:24What makes Ktor different?
  3. 7:59Prototyping with Kotlin notebook
  4. 11:19How do we build the service?
  5. 16:47How did we build the service?
  6. 17:37What are our test cases?
  7. 19:38Creating unit tests
  8. 21:58But wait! There's more...
  9. 22:46Koin /Ktor integration
  10. 25:10But wait! There's more...
  11. 26:00GraphQL
  12. 28:11WebSockets
  13. 31:00But wait! There's more...
  14. 31:28KMP
  15. 33:33OpenTelemetry
  16. 35:46Retries
  17. 39:123.0 Features
  18. 39:50Conclusion
  19. 41:41What did we learn?
  20. 42:34Outro
~/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.