Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Persistence in Serverless Applications - ServerlessDays NYC

Persistence in Serverless Applications - ServerlessDays NYC

Slides for my session at ServerlessDays NYC: Persistence in Serverless Applications.

The functions I demonstrated during the session are available in this GitHub repo: https://github.com/marcduiker/demos-serverless-persistence

Marc Duiker

June 24, 2022
Tweet

More Decks by Marc Duiker

Other Decks in Technology

Transcript

  1. @MarcDuiker 2
    Marc Duiker
    Sr Developer Advocate

    View full-size slide

  2. @MarcDuiker 3

    View full-size slide

  3. @MarcDuiker 4
    “In computer science, persistence refers
    to the characteristic of state of a system
    that outlives the process that created it.”
    https://en.wikipedia.org/wiki/Persistence_(computer_science)

    View full-size slide

  4. @MarcDuiker 7
    Function App
    Function App Queue Storage
    Serverless Architecture

    View full-size slide

  5. @MarcDuiker 8
    Input
    Output
    Trigger
    Azure Function Anatomy

    View full-size slide

  6. @MarcDuiker 9

    View full-size slide

  7. @MarcDuiker 11
    https://docs.microsoft.com/en-us/azure/storage/blobs/storage-blobs-introduction

    View full-size slide

  8. @MarcDuiker 13

    View full-size slide

  9. @MarcDuiker 15

    View full-size slide

  10. @MarcDuiker 17

    View full-size slide

  11. @MarcDuiker 19
    https://docs.microsoft.com/en-us/azure/cosmos-db/introduction

    View full-size slide

  12. @MarcDuiker 21

    View full-size slide

  13. @MarcDuiker 23
    https://docs.microsoft.com/en-us/azure/azure-functions/durable/durable-functions-overview

    View full-size slide

  14. @MarcDuiker 25

    View full-size slide

  15. @MarcDuiker 26

    View full-size slide

  16. @MarcDuiker 27
    https://github.com/marcduiker/demos-serverless-persistence

    View full-size slide

  17. @MarcDuiker 29
    Function A Function B
    Queue

    View full-size slide

  18. @MarcDuiker 30
    Client A Client B
    Realtime
    Sync

    View full-size slide

  19. @MarcDuiker 31
    https://quest.ably.dev/

    View full-size slide

  20. @MarcDuiker 32
    Twitter:
    @marcduiker
    YouTube:
    http://bit.ly/marc-serverless
    GitHub:
    https://github.com/marcduiker

    View full-size slide