Skip to content
0:00 / 0:00

#cats-effect#zio#fibers

Background processing in functional Scala #1

Jakub Kozłowski

3.7K subscribers • 30 videos on Hallway

YouTube
  • Recommended by 1 person: 1 in engineering communities.
  • Presented by Jakub Kozłowski
  • Linked in the descriptionkubukoz/videos

Intermediate. Assumes working knowledge.

2.8K views6 years ago1 recommendation

Programming languagesSystems programmingScalaConcurrency and parallelism

Jakub Kozłowski explains how background processing differs between traditional Futures and IO monads using fibers in Scala.

The first episode in a series about background processing in functional Scala. In this one, you'll learn what a background process is, how working with them is done traditionally (with Future) and how it differs when you have an IO monad. If you liked the video, please like and subscribe! Read the code: github.com/kubukoz/videos/tree/master/background Table of contents: - Introduction, schedule - Starting background processes with Future - Problems with "forgetting" background processes - Background processes with IO, fibers - Fibers - Summary, main takeaway If you want more: Cats fibers: typelevel.org/cats-effect/datatypes/fiber.html ZIO fibers: zio.dev/docs/datatypes/datatypes_fiber How do fibers work? youtube.com/watch?v=x5_MmZVLiSM Interruption in functional Scala: youtube.com/watch?v=EQWAQF6Yj5Q Reacting to interruption with Bracket: youtube.com/watch?v=vsJz-fdEsd4 Fiber supervision in ZIO: youtube.com/watch?v=aCYJ3VsJnvM

Why it's here

1 person recommends this

u/kubukozcats,cats-effectin r/scala • Recommends

Background processing in functional Scala #1