Running Ray Jobs using Prefect

Prefect

Prefect is an open-source workflow management system that allows you to build, schedule, and monitor data workflows. It enables you to transform any Python function into a unit of work that can be observed and orchestrated. Prefect can be used for various use cases such as ETL pipelines, machine learning workflows, data warehousing, and more. It has a dynamic engine and ephemeral API that makes it easy to run workflows interactively during the building phase. Prefect also offers the ability to cache and persist inputs and outputs for large files and expensive operations, improving development time when debugging.

Ray

Ray is an open-source distributed computing framework that makes it easy to build scalable and efficient applications. It was developed by a team at UC Berkeley's RISELab and has become increasingly popular over the years because of its ability to handle complex workloads with ease. Ray provides a simple API for building distributed applications, making it easy for developers to scale their applications without having to worry about the underlying infrastructure. Ray has been used for a wide variety of applications, including machine learning, reinforcement learning, data processing, and more. It has been adopted by many companies, including Amazon, NVIDIA, and Uber. Ray's popularity can be attributed to its ease of use, scalability, and flexibility.
Open source orchestrators like Prefect are one of the primary means by which companies leverage Ray in production. Prefect offers a mechanism to schedule and monitor these jobs as part of more complex workflow graphs. Kaspian has a native operator for Prefect; this operator makes it easy to either swap to or get started with running Ray jobs that utilize Kaspian's flexible compute layer.
Learn more about Kaspian and see how our flexible compute layer for the modern data cloud is already reshaping the way companies in industries like retail, manufacturing and logistics are thinking about data engineering and analytics.

Get started today

No credit card needed