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

Serverless Architecture

Serverless Architecture

Introductionary presentation on Serverless Architecture covering the concept of serverless functions, AWS Lambda and the Serverless Framework.

Nick De Cooman

February 21, 2018
Tweet

More Decks by Nick De Cooman

Other Decks in Programming

Transcript

  1. What size servers are right for my budget? Which OS

    should my servers run? How will I keep my server OS patched? When should I decide to scale up my servers? Who will monitor the availability and performance? Which users should have access to my servers?
  2. 1. Applications that significantly depend on third-party services (knows as

    Backend as a Service or "BaaS") 2. Custom code that's run in ephemeral containers (Function as a Service or "FaaS"), the best known vendor host of which currently is AWS Lambda. It could mean…
  3. λ A function with your custom code An event source

    A FaaS service API Gateway IoT events Database updates NodeJS Go Java C# … AWS Lambda Azure Functions Apache OpenWhisk Google Cloud Functions Three Components
  4. λλλλλλλλλλλλλ λ λλλλλλλλλλλλλ λ λλ λλλ λλλλλ λ λλ λ

    λ λλλλλ λ λλλλλλλλλλλλλ λ λλ λλ λ λ λ Continuous scaling Automatically Scale up and scale down +
  5. Pay as you go Combination of execution time (100ms slots)

    and memory used + http://serverlesscalc.com/
  6. Cold starts A cold start occurs when an AWS Lambda

    function is invoked after not being used for an extended period of time resulting in increased invocation latency. − https://plot.ly/~theburningmonk/2/csharp-java-python-nodejs6/#plot
  7. Serverless is your toolkit for deploying and operating serverless architectures.

    Develop, test and deploy in a single environment Vendor agnostic Community-made plugins e.g. to work offline or run tests