~/talk

Monix Task: Lazy, Async and Awesome

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

Monix Task presents a lazy alternative to Scala Future that runs on JVM and Scala.js, ships as Monix 2.3, and interops with Cats. It models a Task as a thunk that returns a Future, provides lazy Future semantics with evalOnce/eval/defer/fork, a stack-safe flatMap, batching for throughput, a scheduler-driven timeout and backoff API, cancelable Future runAsync, memoize on success, parallel gather that cancels losers, a semaphore (example limit 16), a circuit breaker and MVar primitives.

AI-written summary · about

  1. 0:00Intro
  2. 0:47WHAT IS MONIX?
  3. 4:24EVALUATION IN SCALA
  4. 7:25MONIX TASK'S BEHAVIOR
  5. 9:27MEMOIZATION (3/4)
  6. 12:24TAIL RECURSIVE LOOPS (4/4)
  7. 14:55NO BOOBY TRAPS (2/2)
  8. 17:15SCHEDULER (1/4)
  9. 23:18EXECUTION MODEL: BATCHED
  10. 23:29EXECUTION MODEL: ALWAYS ASYNC
  11. 24:01REAL ASYNCHRONY
  12. 31:24CANCELABLES: SAFE FALLBACKS (2/2)
  13. 32:30CANCELABLES: BETTER FUTURE SEQUENCE
  14. 33:09CANCELABLES: LOOPS
  15. 35:09ERROR HANDLING (3/4)
  16. 37:09ASYNCHRONOUS SEMAPHORE
  17. 38:10CIRCUIT BREAKER
~/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.