Refactoring Rust Lambda Functions + Handling AWS Rate Limit Errors - Episode 172

Channel:
Subscribers:
542
Published on ● Video Link: https://www.youtube.com/watch?v=LwLLeYSYLxk



Duration: 0:00
581 views
6


In this video, I walk you through updating and refactoring Lambda functions using Rust while tackling AWS rate limit errors in a step function. We focus on improving the error-handling mechanisms, including adding retry logic, backoff rates, and error-specific handling to create more robust serverless functions. Additionally, I demonstrate how to optimize Lambda functions by using Dockerized ECR images for more consistent deployments and better developer workflows.

During the session, we explore concepts like:
Setting up tracing and logging with tracing subscriber.
Refactoring long functions into manageable components.
Configuring AWS Step Functions for error handling and retries using exponential backoff.
Deploying Dockerized Rust Lambdas to AWS Elastic Container Repository (ECR).
Debugging and testing Lambda outputs in AWS Step Functions.

This video is packed with insights into building scalable and error-tolerant serverless architectures using Rust, AWS Lambda, and step functions. Whether you're a beginner or experienced developer interested in Rust and AWS, there's something here for you. Stick around until the end as I also discuss my ongoing workflow improvements and considerations for tools like AWS CDK versus Pulumi.

🔗 Check out my Twitch channel for more streams: https://www.twitch.tv/saebyn
GitHub: https://github.com/saebyn
Discord: https://discord.gg/N7xfy7PyHs




Other Videos By saebynVODs


2025-04-29Building an M3U8 Playlist API with AWS Lambda - Episode 182
2025-04-27FFmpeg Scripting & Overlays | Chill Sunday Morning Coding - Episode 181
2025-04-24Mastering FFmpeg Scripting: Troubleshooting Overlays & Audio Issues - Episode 180
2025-04-22FFmpeg Automation: Prototyping Video Editing with Python - Episode 179
2025-04-20Debugging Twitch API Integration for Glowing Telegram Project - Episode 178
2025-04-19Building OAuth Integration with Twitch: Access Token Management and API Updates - Episode 177
2025-04-17Improving Twitch Integration for Glowing-Telegram: Backend and Frontend Updates - Episode 176
2025-04-15Navigating CORS Errors and AWS API Gateway Challenges - Ep 175
2025-04-13Exploring AWS Step Functions & API Gateway Integration with CDK - Episode 174
2025-04-12Exploring AWS CDK and API Gateway Setup for Glowing-Telegram Project - Episode 173
2025-04-10Refactoring Rust Lambda Functions + Handling AWS Rate Limit Errors - Episode 172
2025-04-08Improving OpenAI API Usage in Rust with Exponential Backoff - Episode 171
2025-04-06Building a Stream Manager with TypeScript and Rust – Episode 170
2025-03-30Implementing DynamoDB Queries and Debugging in Rust: Glowing-Telegram Project - Episode 169
2025-03-25Optimizing Row Interaction and Backend Enhancements | Rust APIs + React-Admin - Episode 168
2025-03-22Building Stream Timelines and Bulk Episode Creation | Glowing-Telegram Project - Episode 167
2025-03-15Building an API with Python, Rust, Pulumi, and AWS: DynamoDB Integration - Episode 166
2025-03-06DynamoDB Table Creation and Data Sync with Pulumi and Python - Episode 165
2025-02-23Migrating Data from Postgres to DynamoDB with Python for Glowing Telegram Project - Episode 164
2024-12-31Building a Dynamic Stream Manager Interface with Material-UI | Episode 163
2024-12-30Building a Custom Stream Manager UI for Glowing Telegram | Episode 162