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

Serverless Computing @ Javaland 2017

Serverless Computing @ Javaland 2017

Niko Köbler

March 27, 2017

More Decks by Niko Köbler

Other Decks in Technology


  1. Serverless is about the of servers. Build and run applications

    servers. management without thinking about
  2. OF COMPUTING Physical Servers in datacenters Virtual Machines in datacenters

    Virtual Machines in Cloud Containers on Virtual Machines Serverless as the unit of compute EVOLUTION
  3. COMPUTE Functions are the unit of deployment and scaling. No

    machines, VMs, or containers visible in the programming model. Permanent storage lives elsewhere. Scales per request; Users cannot over- or under-provision capacity. Never pay for idle (no cold servers/containers or their costs). Implicitly fault-tolerant because functions can run anywhere. BYOC - Bring Your Own Code. Metrics and logging are a universal right. SERVERLESS MANIFESTO
  4. AWS Event Driven JVM-based languages (Java 8), JavaScript (Node.js), Python,

    C#, (more to come) Versions, Encrypted Environment Variables, Step Functions Pay as you use - in 100ms blocks (e.g. 100ms w/ 128MB memory = USD 0.000000208) LAMBDA
  5. AWS EVENTS S3 Cloud Watch Config AWS IoT Cognito SES

    API Gateway (no complete list) LAMBDA DynamoDB Cloud Formation Kinesis Code Commit SNS Echo / Alexa Cron
  6. GATEWAY "Reverse Proxy" hides possible multiple service calls (aka "service

    composition", ESB?) distributes requests to proper service instances "Mock" services Authentication / Authorization Caching, Throttling, DDoS attack protection, etc. API
  7. DYNAMO Fully Managed NoSQL Data Store Schemaless Data Model DynamoDB

    Streams Record TTL Seamless Scalabiltiy, "no limits" Pay by Read-/Write-Capacity-Units and used storage, not by time DB
  8. Provider since Environment AWS Lambda 2014 JavaScript, Python, Java, C#

    Microso AzureFunctions 2016 JavaScript, Python, Java, C#, PHP Google CloudFunctions 2016 JavaScript IBM Bluemix w/ OpenWhisk* 2014 JavaScript, Python, Swi * Apache OpenWhisk is also available for on-premise usage as OSS under ASL2 COMPETITORS
  9. BUT POWERFUL No need to run/manage Application Servers Fast results,

    minimal effort, minimal TTM(!) Low costs, minimal financial risk Automatic Scalabiltiy and Availability "out-of-the-box" SERVERLESS
  10. THANK ! ANY ? Slides: Niko Köbler So ware-Architect, Developer

    & Trainer | | YOU QUESTIONS http://bit.ly/serverless-javaland [email protected] www.n-k.de @dasniko
  11. LINKS AWS Lambda: Amazon API Gateway: Amazon DynamoDB: Google Cloud

    Functions: Microso Azure Functions: IBM OpenWhisk: Apache OpenWhisk: Serverless Framework: https://aws.amazon.com/lambda https://aws.amazon.com/api- gateway https://aws.amazon.com/dynamodb https://cloud.google.com/functions https://azure.microso .com/services/functions https://developer.ibm.com/openwhisk https://github.com/openwhisk http://serverless.com