Prefect
- 20 Dcoins / hour
- standard machine
- ready in about 10 seconds
- data-science
- devops
- automation
About Prefect
Prefect is a modern workflow orchestration tool for data pipelines, written for people who would rather write Python than configuration. This lab runs the Prefect 3 server and its web UI, where flows, runs, deployments and work pools are tracked.
A Prefect flow is ordinary Python with decorators: mark functions as tasks, call them from a flow, and Prefect records each run with its state, logs and timing. From the UI you can see what failed and why, retry it, and schedule a deployment to run every hour. Results, caching and concurrency limits are all a few lines of code.
It is a useful comparison with the Airflow lab. Both orchestrate pipelines, but Prefect needs far less ceremony to get started, which makes the trade-offs between them a good topic for any data engineering course.
What is installed
- Flow & run dashboard
- Deployments & schedules
- Work pools
- SQLite backend
What it is good for
- Data-engineering orchestration
- Modern Airflow alternative
- Pipeline scheduling
- Data-eng track
What it costs
20 Dcoins an hour while it runs (a standard machine), billed by the minute. Included on Pro and Power. Every new account starts with free Dcoins.
From Start to a working Prefect takes about 10 seconds, measured on our lab server. If the server is asleep, waking it first adds a minute or two.
Courses that practise this
- Design schemas that enforce their own rules, write joins and aggregations that answer real questions, and make slow queries fast with indexes, transactions and EXPLAIN — on a live PostgreSQL server.4 labs
Databases & SQL Engineering - Bash that fails loudly instead of lying, text pipelines that answer real questions from a log, a script with options and exit codes others can rely on, and a scheduled job proven under cron's own conditions.4 labs
Shell Scripting & Automation