SlideShare a Scribd company logo
1 of 28
Download to read offline
Prefect + Dask: Parallel / Distributed Workflows
Chris White
February 26, 2020
Chris White Workflows on Dask February 26, 2020 1 / 6
Workflows
What do we mean by ”Workflows”?
Broadly speaking, when we talk about “workflow semantics” we mean:
Chris White Workflows on Dask February 26, 2020 2 / 6
Workflows
What do we mean by ”Workflows”?
Broadly speaking, when we talk about “workflow semantics” we mean:
“Tasks” represent units of business logic
Chris White Workflows on Dask February 26, 2020 2 / 6
Workflows
What do we mean by ”Workflows”?
Broadly speaking, when we talk about “workflow semantics” we mean:
“Tasks” represent units of business logic
Identification of failure (alerting)
Chris White Workflows on Dask February 26, 2020 2 / 6
Workflows
What do we mean by ”Workflows”?
Broadly speaking, when we talk about “workflow semantics” we mean:
“Tasks” represent units of business logic
Identification of failure (alerting)
Recovery from failure
Chris White Workflows on Dask February 26, 2020 2 / 6
Workflows
What do we mean by ”Workflows”?
Broadly speaking, when we talk about “workflow semantics” we mean:
“Tasks” represent units of business logic
Identification of failure (alerting)
Recovery from failure
Triggering logic (e.g., some tasks should be triggered by failed jobs)
Chris White Workflows on Dask February 26, 2020 2 / 6
Workflows
What do we mean by ”Workflows”?
Broadly speaking, when we talk about “workflow semantics” we mean:
“Tasks” represent units of business logic
Identification of failure (alerting)
Recovery from failure
Triggering logic (e.g., some tasks should be triggered by failed jobs)
Retrying tasks is a first-class operation
Chris White Workflows on Dask February 26, 2020 2 / 6
Workflows
What do we mean by ”Workflows”?
Broadly speaking, when we talk about “workflow semantics” we mean:
“Tasks” represent units of business logic
Identification of failure (alerting)
Recovery from failure
Triggering logic (e.g., some tasks should be triggered by failed jobs)
Retrying tasks is a first-class operation
Run-once guarantees
Chris White Workflows on Dask February 26, 2020 2 / 6
Workflows
What do we mean by ”Workflows”?
Broadly speaking, when we talk about “workflow semantics” we mean:
“Tasks” represent units of business logic
Identification of failure (alerting)
Recovery from failure
Triggering logic (e.g., some tasks should be triggered by failed jobs)
Retrying tasks is a first-class operation
Run-once guarantees
Audit trails, lineage, access controls, an API
Chris White Workflows on Dask February 26, 2020 2 / 6
Workflows
What do we mean by ”Workflows”?
Broadly speaking, when we talk about “workflow semantics” we mean:
“Tasks” represent units of business logic
Identification of failure (alerting)
Recovery from failure
Triggering logic (e.g., some tasks should be triggered by failed jobs)
Retrying tasks is a first-class operation
Run-once guarantees
Audit trails, lineage, access controls, an API
Scheduling features for both batch and ad-hoc runs
Chris White Workflows on Dask February 26, 2020 2 / 6
Workflows
What do we mean by ”Workflows”?
Broadly speaking, when we talk about “workflow semantics” we mean:
“Tasks” represent units of business logic
Identification of failure (alerting)
Recovery from failure
Triggering logic (e.g., some tasks should be triggered by failed jobs)
Retrying tasks is a first-class operation
Run-once guarantees
Audit trails, lineage, access controls, an API
Scheduling features for both batch and ad-hoc runs
... and many more
Chris White Workflows on Dask February 26, 2020 2 / 6
Workflows
Where does Dask come in?
Chris White Workflows on Dask February 26, 2020 3 / 6
Workflows
Where does Dask come in?
Asynchronous scheduling of tasks
Chris White Workflows on Dask February 26, 2020 3 / 6
Workflows
Where does Dask come in?
Asynchronous scheduling of tasks
Parallelizing task execution
Chris White Workflows on Dask February 26, 2020 3 / 6
Workflows
Where does Dask come in?
Asynchronous scheduling of tasks
Parallelizing task execution
Distributing task execution
Chris White Workflows on Dask February 26, 2020 3 / 6
Workflows
Where does Dask come in?
Asynchronous scheduling of tasks
Parallelizing task execution
Distributing task execution
Submitting tasks to heterogeneous workers (worker resources)
Chris White Workflows on Dask February 26, 2020 3 / 6
Workflows
Where does Dask come in?
Asynchronous scheduling of tasks
Parallelizing task execution
Distributing task execution
Submitting tasks to heterogeneous workers (worker resources)
Creating of clusters on-demand / per-run (dask-kubernetes)
Chris White Workflows on Dask February 26, 2020 3 / 6
Workflows
Where does Dask come in?
Asynchronous scheduling of tasks
Parallelizing task execution
Distributing task execution
Submitting tasks to heterogeneous workers (worker resources)
Creating of clusters on-demand / per-run (dask-kubernetes)
... all off the shelf
Chris White Workflows on Dask February 26, 2020 3 / 6
Workflows
What Dask cares about
Chris White Workflows on Dask February 26, 2020 4 / 6
Workflows
What Prefect cares about
Chris White Workflows on Dask February 26, 2020 5 / 6
Some fun problems
Complications Opportunities
Chris White Workflows on Dask February 26, 2020 6 / 6
Some fun problems
Complications Opportunities
Approximately half of our community is not familiar with Dask
Chris White Workflows on Dask February 26, 2020 6 / 6
Some fun problems
Complications Opportunities
Approximately half of our community is not familiar with Dask
Dask is more willing to rerun tasks
Chris White Workflows on Dask February 26, 2020 6 / 6
Some fun problems
Complications Opportunities
Approximately half of our community is not familiar with Dask
Dask is more willing to rerun tasks
Sharing futures between Clients would be great
Chris White Workflows on Dask February 26, 2020 6 / 6
Some fun problems
Complications Opportunities
Approximately half of our community is not familiar with Dask
Dask is more willing to rerun tasks
Sharing futures between Clients would be great
Prefect currently submits large payloads to the scheduler
Chris White Workflows on Dask February 26, 2020 6 / 6
Some fun problems
Complications Opportunities
Approximately half of our community is not familiar with Dask
Dask is more willing to rerun tasks
Sharing futures between Clients would be great
Prefect currently submits large payloads to the scheduler
Creating Dask aware objects is hard
Chris White Workflows on Dask February 26, 2020 6 / 6
Some fun problems
Complications Opportunities
Approximately half of our community is not familiar with Dask
Dask is more willing to rerun tasks
Sharing futures between Clients would be great
Prefect currently submits large payloads to the scheduler
Creating Dask aware objects is hard
Resource configuration is an art not a science
Chris White Workflows on Dask February 26, 2020 6 / 6
Some fun problems
Complications Opportunities
Approximately half of our community is not familiar with Dask
Dask is more willing to rerun tasks
Sharing futures between Clients would be great
Prefect currently submits large payloads to the scheduler
Creating Dask aware objects is hard
Resource configuration is an art not a science
Prefect abdicates process control to Dask
Chris White Workflows on Dask February 26, 2020 6 / 6

More Related Content

Recently uploaded

call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️Delhi Call girls
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdfWave PLM
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...harshavardhanraghave
 
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...OnePlan Solutions
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsAlberto González Trastoy
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...kellynguyen01
 
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxbodapatigopi8531
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfkalichargn70th171
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providermohitmore19
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comFatema Valibhai
 
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AISyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AIABDERRAOUF MEHENNI
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...Health
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...MyIntelliSource, Inc.
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...panagenda
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerThousandEyes
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...MyIntelliSource, Inc.
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsJhone kinadey
 
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female serviceCALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female serviceanilsa9823
 

Recently uploaded (20)

call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
 
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
 
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptx
 
Microsoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdfMicrosoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdf
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.com
 
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AISyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
 
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS LiveVip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
 
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female serviceCALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
 

Featured

Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Applitools
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at WorkGetSmarter
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...DevGAMM Conference
 
Barbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationBarbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationErica Santiago
 
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them wellGood Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them wellSaba Software
 

Featured (20)

Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
 
Barbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationBarbie - Brand Strategy Presentation
Barbie - Brand Strategy Presentation
 
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them wellGood Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
 

Dask + Prefect

  • 1. Prefect + Dask: Parallel / Distributed Workflows Chris White February 26, 2020 Chris White Workflows on Dask February 26, 2020 1 / 6
  • 2. Workflows What do we mean by ”Workflows”? Broadly speaking, when we talk about “workflow semantics” we mean: Chris White Workflows on Dask February 26, 2020 2 / 6
  • 3. Workflows What do we mean by ”Workflows”? Broadly speaking, when we talk about “workflow semantics” we mean: “Tasks” represent units of business logic Chris White Workflows on Dask February 26, 2020 2 / 6
  • 4. Workflows What do we mean by ”Workflows”? Broadly speaking, when we talk about “workflow semantics” we mean: “Tasks” represent units of business logic Identification of failure (alerting) Chris White Workflows on Dask February 26, 2020 2 / 6
  • 5. Workflows What do we mean by ”Workflows”? Broadly speaking, when we talk about “workflow semantics” we mean: “Tasks” represent units of business logic Identification of failure (alerting) Recovery from failure Chris White Workflows on Dask February 26, 2020 2 / 6
  • 6. Workflows What do we mean by ”Workflows”? Broadly speaking, when we talk about “workflow semantics” we mean: “Tasks” represent units of business logic Identification of failure (alerting) Recovery from failure Triggering logic (e.g., some tasks should be triggered by failed jobs) Chris White Workflows on Dask February 26, 2020 2 / 6
  • 7. Workflows What do we mean by ”Workflows”? Broadly speaking, when we talk about “workflow semantics” we mean: “Tasks” represent units of business logic Identification of failure (alerting) Recovery from failure Triggering logic (e.g., some tasks should be triggered by failed jobs) Retrying tasks is a first-class operation Chris White Workflows on Dask February 26, 2020 2 / 6
  • 8. Workflows What do we mean by ”Workflows”? Broadly speaking, when we talk about “workflow semantics” we mean: “Tasks” represent units of business logic Identification of failure (alerting) Recovery from failure Triggering logic (e.g., some tasks should be triggered by failed jobs) Retrying tasks is a first-class operation Run-once guarantees Chris White Workflows on Dask February 26, 2020 2 / 6
  • 9. Workflows What do we mean by ”Workflows”? Broadly speaking, when we talk about “workflow semantics” we mean: “Tasks” represent units of business logic Identification of failure (alerting) Recovery from failure Triggering logic (e.g., some tasks should be triggered by failed jobs) Retrying tasks is a first-class operation Run-once guarantees Audit trails, lineage, access controls, an API Chris White Workflows on Dask February 26, 2020 2 / 6
  • 10. Workflows What do we mean by ”Workflows”? Broadly speaking, when we talk about “workflow semantics” we mean: “Tasks” represent units of business logic Identification of failure (alerting) Recovery from failure Triggering logic (e.g., some tasks should be triggered by failed jobs) Retrying tasks is a first-class operation Run-once guarantees Audit trails, lineage, access controls, an API Scheduling features for both batch and ad-hoc runs Chris White Workflows on Dask February 26, 2020 2 / 6
  • 11. Workflows What do we mean by ”Workflows”? Broadly speaking, when we talk about “workflow semantics” we mean: “Tasks” represent units of business logic Identification of failure (alerting) Recovery from failure Triggering logic (e.g., some tasks should be triggered by failed jobs) Retrying tasks is a first-class operation Run-once guarantees Audit trails, lineage, access controls, an API Scheduling features for both batch and ad-hoc runs ... and many more Chris White Workflows on Dask February 26, 2020 2 / 6
  • 12. Workflows Where does Dask come in? Chris White Workflows on Dask February 26, 2020 3 / 6
  • 13. Workflows Where does Dask come in? Asynchronous scheduling of tasks Chris White Workflows on Dask February 26, 2020 3 / 6
  • 14. Workflows Where does Dask come in? Asynchronous scheduling of tasks Parallelizing task execution Chris White Workflows on Dask February 26, 2020 3 / 6
  • 15. Workflows Where does Dask come in? Asynchronous scheduling of tasks Parallelizing task execution Distributing task execution Chris White Workflows on Dask February 26, 2020 3 / 6
  • 16. Workflows Where does Dask come in? Asynchronous scheduling of tasks Parallelizing task execution Distributing task execution Submitting tasks to heterogeneous workers (worker resources) Chris White Workflows on Dask February 26, 2020 3 / 6
  • 17. Workflows Where does Dask come in? Asynchronous scheduling of tasks Parallelizing task execution Distributing task execution Submitting tasks to heterogeneous workers (worker resources) Creating of clusters on-demand / per-run (dask-kubernetes) Chris White Workflows on Dask February 26, 2020 3 / 6
  • 18. Workflows Where does Dask come in? Asynchronous scheduling of tasks Parallelizing task execution Distributing task execution Submitting tasks to heterogeneous workers (worker resources) Creating of clusters on-demand / per-run (dask-kubernetes) ... all off the shelf Chris White Workflows on Dask February 26, 2020 3 / 6
  • 19. Workflows What Dask cares about Chris White Workflows on Dask February 26, 2020 4 / 6
  • 20. Workflows What Prefect cares about Chris White Workflows on Dask February 26, 2020 5 / 6
  • 21. Some fun problems Complications Opportunities Chris White Workflows on Dask February 26, 2020 6 / 6
  • 22. Some fun problems Complications Opportunities Approximately half of our community is not familiar with Dask Chris White Workflows on Dask February 26, 2020 6 / 6
  • 23. Some fun problems Complications Opportunities Approximately half of our community is not familiar with Dask Dask is more willing to rerun tasks Chris White Workflows on Dask February 26, 2020 6 / 6
  • 24. Some fun problems Complications Opportunities Approximately half of our community is not familiar with Dask Dask is more willing to rerun tasks Sharing futures between Clients would be great Chris White Workflows on Dask February 26, 2020 6 / 6
  • 25. Some fun problems Complications Opportunities Approximately half of our community is not familiar with Dask Dask is more willing to rerun tasks Sharing futures between Clients would be great Prefect currently submits large payloads to the scheduler Chris White Workflows on Dask February 26, 2020 6 / 6
  • 26. Some fun problems Complications Opportunities Approximately half of our community is not familiar with Dask Dask is more willing to rerun tasks Sharing futures between Clients would be great Prefect currently submits large payloads to the scheduler Creating Dask aware objects is hard Chris White Workflows on Dask February 26, 2020 6 / 6
  • 27. Some fun problems Complications Opportunities Approximately half of our community is not familiar with Dask Dask is more willing to rerun tasks Sharing futures between Clients would be great Prefect currently submits large payloads to the scheduler Creating Dask aware objects is hard Resource configuration is an art not a science Chris White Workflows on Dask February 26, 2020 6 / 6
  • 28. Some fun problems Complications Opportunities Approximately half of our community is not familiar with Dask Dask is more willing to rerun tasks Sharing futures between Clients would be great Prefect currently submits large payloads to the scheduler Creating Dask aware objects is hard Resource configuration is an art not a science Prefect abdicates process control to Dask Chris White Workflows on Dask February 26, 2020 6 / 6