Thinking Asynchronously • Eric Johnson • GOTO 2020
Вставка
- Опубліковано 25 лип 2024
- This presentation was recorded at GOTO Oslo 2020. #GOTOcon #GOTOoslo
goto-oslo.com
Eric Johnson - Highly Entertaining Serverless Fanatic with Brilliant Insights; Senior Developer Advocate at AWS Serverless
ABSTRACT
Speed matters, and developers are challenged to reduce latency in their applications at every turn. In traditional synchronous programming patterns, users are asked to monitor the spinning wheel as the application moves from one task to the next until a response can be returned. However, developers can reclaim these precious milliseconds by learning to think asynchronously.
Asynchronous patterns challenge developers to evaluate what tasks require the client to wait versus what can be done after the fact. When developing serverless applications on AWS this process is made easier by the asynchronous and polling patterns that are native to AWS Lambda.
In this session I will demonstrate taking an existing translation application that is synchronous and modifying it to use asynchronous patterns. This will be accomplished using Amazon DynamoDB Streams [...]
TIMECODES
0:00 Introduction
2:37 Application elements
5:36 Thinking asynchronously
11:40 Making this work on AWS
14:21 Other "storage first" options
15:01 Event data
18:07 Resulting Data
23:23 Asynchronous demo
31:13 More reliability - Lambda Destinations
32:46 More reliability - Error correction
34:25 Extending via the pattern
37:05 Wrap up
Download slides and read the full abstract here:
goto-oslo.com/2020/sessions/1...
/ gotocon
/ goto-
/ gotoconferences
#Serverless #DynamoDBStreams #EventBridge #AWS #Programming
Looking for a unique learning experience?
Attend the next GOTO Conference near you! Get your ticket at gotocon.com
SUBSCRIBE TO OUR CHANNEL - new videos posted almost daily.
ua-cam.com/users/GotoConf... - Наука та технологія
Really good explanation with neat architecture diagrams and a sample app demonstrating the serverless idea. Thank you very much.
Eric, this was plain awesome. The simplicity and efficiency of your architecture mentality is really exciting to me. I'm eagerly waiting for DynamoDB integrations for HTTP APIs!!
Meeeeeee toooooo!
una de las mejores conferencias que he visto, excelente, para mi todo un cambio de paradigma recién me inicio en serverless y AWS, gracias
Like the idea, essentially asynchronous event sourcing :)
Awesome presentation. Very easy to digest. Thanks
great talk.. thnx
That's cool, thanks for breaking down the use of lambdas it was easy to understand. But couldn't the exact same could be achieved as having each of these lambdas as a function in a single server with fire and forget logic?
Yes they could, BUT you would pay for idle time on the server. In this model, you ONLY pay for the invocation time. This is but one advantage of serverless, but a biggie.
@@EricJohnson-lr2tl, would you be so kind to share the code from the sample you used?