, 24 tweets, 11 min read
My Authors
Read all threads
AWS #reInvent SRV401 Optimizing Your Serverless Applications

@chrismunns starts by dissection the AWS Lambda function environment.

He's lulling us with a basic intro before waking us up with the 400-level content.

Even so, it's a more technical basic intro.
Now we jump into the simpler optimizations.
Options for configuration.

"Hardcoding is not one of them. "
These are the standard parts of an AWS Lambda function that customers implement.
Reduce complexity and managing duplicate code with Lambda Layers
Serverless people prefer DynamoDB, but if you must connect to a less scalable database, the new Amazon RDS Proxy is in preview today.
This looks important. Where's the rewind button?
Oh, I see.
Lambda Destinations is a new feature that isn't getting enough attention.

This is going to reduce the need for code in functions, and in some cases, will replace the expense of Step Functions with a free option!
I still haven't tried AWS X-Ray.

Is it as useful as Amazon says?
Explaining the concept of Lambda memory and CPU being proportional.

Also there concept of CPU-bound.

Increasing memory (thus CPU) can be beneficial, even if you don't need more memory. But not above 1.8 GB for single core.

With an example.
These slides are beautiful.
The power of moving from synchronous thinking to asynchronous architectures.
which generally results in streaming design, and AWS offers a number of services for this
and AWS has done even more development for async designs that had recently been announced.

QR code: aws.amazon.com/blogs/compute/…
"directed vs observable" events.

EventBridge is the "observable" side and has gotten easier to use with recent announcements
Cool tip in this slide about setting concurrency to zero as skill switch.
Lambda Dead Letter Queues may be superceded by Lambda Destinations
IAM is tough to master.

SAM can make your life easier.
I need to check out this link.

Recap slide
The newly announced Lambda Provisioned Concurrency is powerful. If you find you have a cold start problem.

When I looked, I couldn't find any Lambda function that had a provisioned concurrency issue.
Overall recap slide
Watch the full session when it comes out on YouTube soon.
Missing some Tweet in this thread? You can try to force a refresh.

Enjoying this thread?

Keep Current with Eric Hammond @ AWS re:Invent

Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

Twitter may remove this content at anytime, convert it as a PDF, save and print for later use!

Try unrolling a thread yourself!

how to unroll video

1) Follow Thread Reader App on Twitter so you can easily mention us!

2) Go to a Twitter thread (series of Tweets by the same owner) and mention us with a keyword "unroll" @threadreaderapp unroll

You can practice here first or read more on our help page!

Follow Us on Twitter!

Did Thread Reader help you today?

Support us! We are indie developers!

This site is made by just three indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3.00/month or $30.00/year) and get exclusive features!

Become Premium

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal Become our Patreon

Thank you for your support!