~/talk

Practical Eff monad for microservices

Talkat Scala Days Copenhagen 2017 · 2017-05-30..06-02· [microservices]
slides:none on file

An article microservice is built for merchant onboarding using component case classes for authentication, downstream clients and DB access, with dependency injection as readers auto-derived by grafter; tree rewriting via Kiama replaces low-level nodes with mocks, enforces singletons and tweaks thread pools for fast integration tests. Side effects and protocol are made explicit with the Eff monad (task, logged, reader/flow-id), using applicative concurrency, batching and memoization; safe effects ensure cleanup — result: fast delivery and much simpler, reliable tests.

AI-written summary · about

  1. 0:00Start
  2. 12:38Unit testing?
  3. 13:55Tree rewriting!
  4. 32:04Stack definition
  5. 33:50Use one error type
~/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.