SVS310: Architecting Your Serverless Applications for Hyperscale

Resources for SVS310: Architecting your serverless applications for hyperscale

Do you have a major launch event coming up? By building your APIs and web applications with AWS serverless computing, you can gain scalability with reduced operational overhead. However, it’s still important to implement best practices for complete scalability. In this session, learn about core principles to prepare your serverless applications for hyperscale—including how to apply these architectural patterns and best practices practically—and explore a major launch use case from start to finish. Learn how techniques such as asynchronous processing, caching, rate limiting, and AWS Lambda performance optimizations can help you scale your serverless workload to meet virtually any demand.

Optimizing AWS Lambda Performance and Cost for Your Serverless Applications

Online Talk

Developers using AWS Lambda have a range of options for performance-tuning their functions. Understanding how to get the most from Lambda can improve your application throughput, reduce latency, and lower overall cost. In this tech talk, we cover common misconceptions about cold starts, and the different impact of cold starts between sync, async, and streaming invocations. Learn about some of the newest features that can optimize Lambda performance and reduce cost and see how making good architectural decisions can help improve performance. Learn why memory allocation is so important and how to profile your Lambda functions to find the optimal configuration. We’ll also talk about best practices for Lambda to help you get the most from your serverless applications.

Lambda Power Tuning

Open-source optimization tool

AWS Lambda Power Tuning is an open-source tool that can help you visualize and fine-tune the memory/power configuration of Lambda functions. It runs in your own AWS account - powered by AWS Step Functions - and it supports three optimization strategies: cost, speed, and balanced.

AWS Virtual Waiting Room

AWS Solutions Implementation

This solution helps buffer incoming user requests to your website during large bursts of traffic. It creates a cloud infrastructure designed to temporarily offload incoming traffic to your website, and it provides options to customize and integrate a virtual waiting room. The waiting room acts as a holding area for visitors to your website and allows traffic to pass through when there is enough capacity.

Handling errors in a Serverless world

re:Invent Talk

Serverless technologies introduced new ways to build highly scalable, resilient applications without managing infrastructure. When building serverless applications by using several managed services, how should you handle errors? Should you include a try/catch block in your code or let the service deal with errors? What if the function is invoked as a task in an AWS Step Functions state machine? Can AWS Lambda Destinations help? In this session, explore error handling across Lambda invocation models and discuss patterns for proper visibility and retry behavior. Leave this session with a better understanding of how to code and/or configure services to better deal with errors across different use cases.

Presented by:

Justin Pirtle

Justin Pirtle

Justin Pirtle is a specialist Solutions Architect at Amazon Web Services, focused on the Serverless platform. He’s responsible for helping customers design, deploy, and scale serverless applications using services such as AWS Lambda, Amazon API Gateway, Amazon Cognito, and Amazon DynamoDB. He is a regular speaker at AWS conferences, including re:Invent, as well as other AWS events. Justin holds a bachelor’s degree in Management Information Systems from the University of Texas at Austin and a master’s degree in Software Engineering from Seattle University.