Using Python to Power Serverless Applications
summary
Capital One shows Python powering API, streaming and ML-inference workflows with concrete artifacts: a GitHub sample project (pycon2023), local testing via AWS SAM and Docker, deployment to AWS Lambda and EFS, and observability wired to CloudWatch and X‑Ray. Code uses Lambda Power Tools, pydantic/fastjsonschema, and pytest. Demonstrated scale from 10 TPS to 4000 TPS, cautions about >5 MB payloads, and measured simple handlers at ~17 ms; demos build, deploy and observe successfully.
AI-written summary · about
chapters (10)
- 0:00Introduction to serverless with Python
- 2:29Why Python excels for serverless
- 10:48Serverless mindset and trade-offs
- 16:23Observability: logging and metrics
- 22:19AWS Lambda Powertools best practices
- 25:31Local dev with SAM CLI
- 31:06Input validation and testing
- 40:47Deploying to AWS
- 43:17Observability in deployed serverless applications
- 59:55Key takeaways
related talks
25mA Crash Course on Serverless Applications in Python
34mPython in Serverless Architectures
54mServerless Python on AWS Lambda using the Serverless Framework
40mBest Practices for Deploying Well-Architected, Serverless Python Applications to AWS with CDK
50m Serverless Python in the real world: common patterns & challenges
46mServerless for Data Scientists
29mGoing Serverless
37mSnakes and Ladders: The Ups and Downs of Python Development with AWS Lambda
