aws lambda, wtf

Download AWS Lambda, WTF

Post on 24-Jan-2018

237 views

Category:

Documents

2 download

Embed Size (px)

TRANSCRIPT

  • Brent PayneHead of Machine Learning

    @ Cursive Labs

    I S E C R E T LY H AT E Y O U , A W S L A M B D A

    AWS Lambda, WTF?

  • 2

    1.5 GB runtime memory space

    60s runtime

    6 MB Input

    I S E C R E T LY H AT E Y O U , A W S L A M B D A

    AWS Lambda, WTF?

  • 3

    L O G S C A L E R O C K S

    AWS Lambda, WTF?

  • 4

    L O G S C A L E R O C K S

    Runtime

  • 5

    L O G S C A L E R O C K S

    Runtime

    Practically Everything

  • 6

    C H U N K S I Z E B O U N D E D B Y R A R E E V E N T S

    Maximum Runtime

  • 7

    C H U N K S I Z E B O U N D E D B Y R A R E E V E N T S

    Maximum Runtime

    Haunts Me

  • 8

    I N S M A L L B AT C H E S

    Big Data

    Photo: Jodie Wilson, https://www.flickr.com/photos/jumpyjodes/160552669/

    https://www.flickr.com/photos/jumpyjodes/160552669/

  • 9

    M O S T E F F I C I E N T S I Z E

    Inefficient

    6000 events

  • 10

    M O S T E F F I C I E N T S I Z E , A C T U A L S I Z E

    Inefficient

    6000 events

    2000 events

  • L A M B D A E X C E P T I O N A L C A S E H A N D L I N G

    Lambda Waterfall

    2000 event chunk

  • A W S A C T U A L LY R E C O M M E N D S T H I S

    Lambda Waterfall

    2000 event chunk

    512 event chunks

  • 13

    E L E P H A N T S A L L T H E W AY D O W N

    Lambda Waterfall

    2000 event chunk

    512 event chunks

    I hate you Lambda