SlideShare a Scribd company logo
Custom SDK Timeouts
?
Serverless on AWS
lessons learned #1
Are you really
production-ready?
Serverless projects
are highly distributed
systems.
Everything
communicates over
the network.
The following
will happen:
Services answer slowly.
Network hiccups!
Why does it matter?
AWS SDK has default
values for connection
and socket timeouts.
Varying from 10 to 300
seconds.
For a slow service, 10
seconds might be too
quick.
And 300 seconds are
too much to wait for a
connection retry.
Your lambda function
timeout does not care
about those settings.
Which might cause
seemingly strange
function timeouts.
How?
Test different
configurations and
measure timings.
Update appropriate
values with AWS SDK
Config object.
*link with more details in description
Custom SDK Timeouts
thumbs up, comment, share
What are your thoughts?
Is anything important missing?
If you liked it, please leave a comment.
connect with me!

More Related Content

PPTX
Serverless lessons learned #5 retries
PPTX
Serverless lessons learned #2 dead letter queues
PPTX
Serverless lessons learned #7 rate limiting
PPTX
Serverless lessons learned #3 reserved concurrency
PPTX
Serverless lessons learned #8 backoff
PPTX
Serverless lessons learned #4 circuit breaker
PDF
Pragmatic adoption of serverless at umbraco
PPTX
AWS Jungle - Lambda
Serverless lessons learned #5 retries
Serverless lessons learned #2 dead letter queues
Serverless lessons learned #7 rate limiting
Serverless lessons learned #3 reserved concurrency
Serverless lessons learned #8 backoff
Serverless lessons learned #4 circuit breaker
Pragmatic adoption of serverless at umbraco
AWS Jungle - Lambda

What's hot (13)

PPTX
Anton Boyko, "The evolution of microservices platform or marketing gibberish"
PPTX
Scalr - Open Source Cloud Management
PDF
Anton Boyko "The future of serverless computing"
PPTX
AWS User Group December 2016
PDF
Amazon Rds
PPTX
Scalable Application Development on AWS
PPTX
Scalable Java Application Development on AWS
PDF
Our Migration to AWS
PDF
Serverless data processing with Data Pipeline
PPTX
DevLink - Architecting Scalable Web Applications
PDF
aws lambda & api gateway
PDF
Go Serverless with Java and Azure Functions
PPTX
Cloud TECHNOLOGY
Anton Boyko, "The evolution of microservices platform or marketing gibberish"
Scalr - Open Source Cloud Management
Anton Boyko "The future of serverless computing"
AWS User Group December 2016
Amazon Rds
Scalable Application Development on AWS
Scalable Java Application Development on AWS
Our Migration to AWS
Serverless data processing with Data Pipeline
DevLink - Architecting Scalable Web Applications
aws lambda & api gateway
Go Serverless with Java and Azure Functions
Cloud TECHNOLOGY
Ad

Similar to Serverless lessons learned #1 custom sdk timeouts (9)

PDF
Making sense of AWS Serverless operations AWS Community Day NL 2024-
PPTX
Introduce AWS Lambda for newbie and Non-IT
PDF
Lessons Learned from Building a Serverless Notifications System by Srushith R...
PPTX
Making sense of AWS Serverless operations- AWS User Group Nuremberg
PDF
Lessons Learned from Building a Serverless Notifications System.pdf
PDF
Jeremy Edberg (MinOps ) - How to build a solid infrastructure for a startup t...
PDF
DevOpsDaysRiga 2018: Serhat Can - The Rocky Path to Migrating Production Appl...
PDF
Self-Healing Serverless Applications (Stackery @ GlueCon 2018)
PDF
Serverless in production, an experience report (IWOMM)
Making sense of AWS Serverless operations AWS Community Day NL 2024-
Introduce AWS Lambda for newbie and Non-IT
Lessons Learned from Building a Serverless Notifications System by Srushith R...
Making sense of AWS Serverless operations- AWS User Group Nuremberg
Lessons Learned from Building a Serverless Notifications System.pdf
Jeremy Edberg (MinOps ) - How to build a solid infrastructure for a startup t...
DevOpsDaysRiga 2018: Serhat Can - The Rocky Path to Migrating Production Appl...
Self-Healing Serverless Applications (Stackery @ GlueCon 2018)
Serverless in production, an experience report (IWOMM)
Ad

Recently uploaded (20)

PPTX
assetexplorer- product-overview - presentation
PDF
Upgrade and Innovation Strategies for SAP ERP Customers
PPTX
Introduction to Artificial Intelligence
PDF
Adobe Premiere Pro 2025 (v24.5.0.057) Crack free
PDF
How to Choose the Right IT Partner for Your Business in Malaysia
PDF
Design an Analysis of Algorithms I-SECS-1021-03
PDF
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
PDF
Navsoft: AI-Powered Business Solutions & Custom Software Development
PDF
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
PPTX
Computer Software and OS of computer science of grade 11.pptx
PPTX
Operating system designcfffgfgggggggvggggggggg
PDF
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
PPTX
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
PPTX
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 41
PPTX
history of c programming in notes for students .pptx
PDF
Odoo Companies in India – Driving Business Transformation.pdf
PDF
wealthsignaloriginal-com-DS-text-... (1).pdf
PDF
Design an Analysis of Algorithms II-SECS-1021-03
PDF
Adobe Illustrator 28.6 Crack My Vision of Vector Design
assetexplorer- product-overview - presentation
Upgrade and Innovation Strategies for SAP ERP Customers
Introduction to Artificial Intelligence
Adobe Premiere Pro 2025 (v24.5.0.057) Crack free
How to Choose the Right IT Partner for Your Business in Malaysia
Design an Analysis of Algorithms I-SECS-1021-03
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
Navsoft: AI-Powered Business Solutions & Custom Software Development
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
Computer Software and OS of computer science of grade 11.pptx
Operating system designcfffgfgggggggvggggggggg
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
Internet Downloader Manager (IDM) Crack 6.42 Build 41
history of c programming in notes for students .pptx
Odoo Companies in India – Driving Business Transformation.pdf
wealthsignaloriginal-com-DS-text-... (1).pdf
Design an Analysis of Algorithms II-SECS-1021-03
Adobe Illustrator 28.6 Crack My Vision of Vector Design

Serverless lessons learned #1 custom sdk timeouts