Skip to content
0:00 / 0:00

#cats-effect#zio#scheduling

Miklós Martin at #ScalaUA - Scheduling and retrying effects with cats

ScalaUA Conference

1.2K subscribers • 26 videos on Hallway

YouTube
  • Recommended by 1 person: 1 in engineering communities.
  • Presented by Miklós Martin

Intermediate. Assumes working knowledge.

355 views7 years ago1 recommendation

Programming languagesDistributed systemsScalaFunctional programming

Miklós Martin explains how to implement scheduling and retry logic using cats-effect, inspired by ZIO Schedule.

Miklós Martin at #ScalaUA - Scheduling and retrying effects with cats Scheduling code to run inside the JVM is a common task in my experience. The number of different implementations we had for this problem was on par with the number of services we had. Also, they were all built on top of Akka's Scheduler which means they would not fit well in a pure program, require an actor system, are hard to test and the tests are painfully slow. Eliminating these problems was the main motivator for our new open source library. After the first ideas had been implemented and used in production, we have come across ZIO Schedule, which inspired a major rework. It also made us realize that this can not only be used for scheduling jobs, but also to schedule retries. This talk presents how the ideas of ZIO Schedule were implemented using the type classes from cats-effect, and how this library can be used. Follow ScalaUA Conference on Twitter: twitter.com/@ScalaUA_Conf

Why it's here

1 person recommends this

What people say. Recommended as part of a curated list of high-quality ScalaUA conference talks.

u/know_not_muchin r/scala • Recommends

All Videos of ScalaUA conference are now available! All the videos of ScalaUA conference can be seen at link to this video and https://old.reddit.com/r/ScalaConferenceVideos/ Since this conference has exceptionally good topic selection, I am listing down the urls to all the talks below Thinking Functionally - John A. De Goes Big Step to Functional Programming - Alex Zvolinskiy Scheduling and retrying effects with cats - Miklós Martin Conquering Concurrency with Functional Programming - Jakub Kozłowski Scala Schemas with Shapeless - Kévin Rauscher Backpressure over the wire - when things go wrong - Zahari Dichev Things I wish I knew when I started with Akka - Markus Jura [Tou…