~/talk

The Wonderful Contextual World of Scala

TalkinRussianat Joker 2022 · 2022-11-08..11-19· [scala]
links:none on file
slides:none on file

The talk examines how to carry and use request context in Scala backend apps to collect telemetry (request duration, initiating user/system, etc.). It compares classic Java-inspired techniques like MDC/thread-local with functional Scala alternatives (Reader, cats-effect, tagless-final, Tofu) and evaluates pros and cons of each approach.

AI-written summary · about

  1. 0:00Introduction
  2. 2:09Context problems in apps
  3. 4:16MDC for context
  4. 7:50Reactive programming and context
  5. 8:55Example: message web server
  6. 11:42Logging context in Scala
  7. 14:35Implicit context issues
  8. 16:21Explicit context via args
  9. 18:51Reader monad for context
  10. 22:24Reader for interfaces
  11. 26:18Business logic abstraction
  12. 30:10Adding context to app
  13. 33:21Final architecture with context
  14. 35:49Choosing context approach
  15. 37:36Q&A
~/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.