https://prefect.io logo
Title
j

Jai P

08/04/2022, 6:26 PM
👋 peeking into the future a little bit for prefect (also apologies if this already exists and i missed it), do you think we might be able to specify different caching mediums (e.g. cache using a distributed cache like redis)?
👀 1
e.g. if two flows running on different instances in my cluster happen to call the same task, it's not a big deal if they both run. if its 10,000 of the same call across a couple minutes, it would be awesome if i those results were stored in a distributed cache so that each task can just check said distributed cache
a

Anna Geller

08/04/2022, 7:38 PM
You can use blocks to store key-value pairs already, and if you want to use Redis, you can create (and even contribute) a Redis block, too
👍 2
j

Jeff Hale

08/04/2022, 9:21 PM
If this is a feature you’d like to see, feel free to open or follow an issue over on GitHub.
:thank-you: 2
j

Jai P

08/05/2022, 7:15 PM
Sorry for the delayed response but awesome! And yeah definitely will play around with blocks/open an issue if it feels like I can't figure it out 🙂. Thanks so much!
👍 2