Thinking Asynchronously • Eric Johnson • GOTO 2020

แชร์
ฝัง
  • เผยแพร่เมื่อ 2 ก.ค. 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.
    th-cam.com/users/GotoConf...
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 10

  • @suryatn
    @suryatn 4 ปีที่แล้ว +3

    Really good explanation with neat architecture diagrams and a sample app demonstrating the serverless idea. Thank you very much.

  • @jonashansen2512
    @jonashansen2512 3 ปีที่แล้ว +1

    Like the idea, essentially asynchronous event sourcing :)

  • @juancpgo
    @juancpgo 3 ปีที่แล้ว +2

    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!!

  • @yarielhernandez8277
    @yarielhernandez8277 4 ปีที่แล้ว +1

    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

  • @SteakSolid
    @SteakSolid 4 ปีที่แล้ว +1

    Awesome presentation. Very easy to digest. Thanks

  • @karpuzye
    @karpuzye 4 ปีที่แล้ว +1

    great talk.. thnx

  • @gasparsigma
    @gasparsigma 4 ปีที่แล้ว

    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?

    • @EricJohnson-lr2tl
      @EricJohnson-lr2tl 4 ปีที่แล้ว

      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.

    • @gastonmichel7745
      @gastonmichel7745 3 ปีที่แล้ว +1

      ​@@EricJohnson-lr2tl, would you be so kind to share the code from the sample you used?