Mastering AWS Step Functions: Cost Analysis and Optimization Techniques with Ben Smith

In this episode, Marcia hosts Ben Smith, a developer advocate for AWS, specializing in Step Functions. Ben shares insights on cost analysis when working with Step Functions, demonstrating how to optimize cost through the use of standard and express workflows. The discussion covers practical examples, including optimizing a shopping cart checkout system by utilizing express workflows for faster, cost-effective processing and standard workflows for longer, complex processes. The episode aims to help viewers understand how to effectively manage and minimize costs while maximizing functionality of step functions in AWS. Table of contents 00:00 Introduction 01:34 Introduction to Ben 03:10 Deep Dive into Step Functions 05:27 Comparing Lambda and Step Functions 10:28 Cost Analysis of Step Functions 11:46 Understanding Standard and Express Workflows 15:33 Cost Comparison: Standard vs Express Workflows 20:16 Optimizing Workflow Costs 20:51 Understanding the Polling Loop 21:07 Optimizing Workflow with Express Workflow 21:42 Monitoring and Costing Your Workflows 22:46 Exploring CloudWatch and Memory Allocation 23:13 Key Takeaways for Costing Your Workflows 23:35 Replacing Polling Loops to Remove Transitions 25:30 Understanding the Callback Pattern 26:04 Implementing the Emit and Wait Pattern 31:51 Costing Your Workflow: Beyond State Transitions 33:37 Using Intrinsics to Optimize Your Workflow 37:05 Closing remarks Watch the full playlist:    • ⚙️ AWS Step Functions   Find Ben in the internet Ben on Twitter:   / benjamin_l_s   Ben on LinkedIn:   / bensmithportfolio   Links mentioned in this video: Talking with Ben about Advanced Patterns of Step Functions:    • Advanced Step Functions Patterns with Ben ...   What is Serverlesspresso?:    • Serverlesspresso - A demo using EventBridg...   Ben re:Invent 2023 talk:    • AWS re:Invent 2023 - Advanced serverless w...   #foobar #serverless ⭐ SUBSCRIBE TO THIS CHANNEL: http://bit.ly/foobar-youtube ⭐SHARE THIS VIDEO:    • Mastering AWS Step Functions: Cost Analysi...   ☆☆ FOLLOW ME ONLINE ☆☆ 🐦 Twitter:   / mavi888uy   📺 AWS Spanish Youtube Channel: https://bit.ly/aws-esp-yt 📷 Instagram: foobar_codes 📚 All my Serverless Courses: https://marcia.dev/courses/ ✍️ My blog - https://blog.marcia.dev ☆☆ ABOUT FOOBAR ☆☆ In this channel, you can find mostly coding tutorials related to cloud and serverless. In addition, I like also talking about architecture, software design, motivation, and leadership. There is a new video every Tuesday, so stay tuned :) 🎥 Recording equipment: https://blog.marcia.dev/my-recording-... 📚 My favorite books: https://blog.marcia.dev/my-books-reco...

AWS re:Invent 2023 - Advanced serverless workflow patterns and best practices (API401)
▶︎

AWS re:Invent 2023 - Advanced serverless workflow patterns and best practices (API401)

Learn Airtable in 25 Minutes (Crash Course)
▶︎

Learn Airtable in 25 Minutes (Crash Course)

Advanced Step Functions Patterns with Ben Smith
▶︎

Advanced Step Functions Patterns with Ben Smith

Embrace Step Functions for Efficient Workflow Management • Ben Smith & Eric Johnson • GOTO 2024
▶︎

Embrace Step Functions for Efficient Workflow Management • Ben Smith & Eric Johnson • GOTO 2024

What are AWS Step Functions? (and why you should love them)
▶︎

What are AWS Step Functions? (and why you should love them)

Inside Anthropic, the $965 Billion AI Juggernaut | The Circuit
▶︎

Inside Anthropic, the $965 Billion AI Juggernaut | The Circuit

AWS CDK vs Terraform
▶︎

AWS CDK vs Terraform

AWS Step Functions + Lambda Tutorial - Step by Step Guide in the Workflow Studio
▶︎

AWS Step Functions + Lambda Tutorial - Step by Step Guide in the Workflow Studio

What to teach when AI writes the code | Rainer Stropek | TEDxLinz
▶︎

What to teach when AI writes the code | Rainer Stropek | TEDxLinz

Don't learn AI Agents without Learning these Fundamentals
▶︎

Don't learn AI Agents without Learning these Fundamentals

ASMR Addictive Fast Tapping Collection For Deep Sleep & Anxiety Relief (No Talking) — 2.5 Hours
▶︎

ASMR Addictive Fast Tapping Collection For Deep Sleep & Anxiety Relief (No Talking) — 2.5 Hours

AI, DevOps, and Kubernetes: Kelsey Hightower on What’s Next
▶︎

AI, DevOps, and Kubernetes: Kelsey Hightower on What’s Next

AWS Step Functions Introduction - What is it and Why is it Useful?
▶︎

AWS Step Functions Introduction - What is it and Why is it Useful?

Andrew Ng: Building Faster with AI
▶︎

Andrew Ng: Building Faster with AI

Kinesis Data Streams and Lambda in productions | What to do when something fails?
▶︎

Kinesis Data Streams and Lambda in productions | What to do when something fails?

Full Walkthrough: Workflow for AI Coding — Matt Pocock
▶︎

Full Walkthrough: Workflow for AI Coding — Matt Pocock

When You Try To Be Microsoft…The Fall Of Salesforce
▶︎

When You Try To Be Microsoft…The Fall Of Salesforce

Databricks Live Bootcamp | Day1: Introduction & Data Analytics
▶︎

Databricks Live Bootcamp | Day1: Introduction & Data Analytics

248 DIOS TE DICE HOY: NADA ES IMPOSIBLE PARA MÍ | CONFÍA EN DIOS
▶︎

248 DIOS TE DICE HOY: NADA ES IMPOSIBLE PARA MÍ | CONFÍA EN DIOS

تلاوة القرآن للدراسة والتركيز 📚🕛 | راحة وطمأنينة | Peaceful Focus Quran | محمد هشام
▶︎

تلاوة القرآن للدراسة والتركيز 📚🕛 | راحة وطمأنينة | Peaceful Focus Quran | محمد هشام