going serverless with kotlin
play

Going Serverless with Kotlin @marcos_placona Marcos Placona - PowerPoint PPT Presentation

Going Serverless with Kotlin @marcos_placona Marcos Placona marcos_placona mplacona androidthings.rocks androissecurity.info @marcos_placona @marcos_placona @marcos_placona @marcos_placona + @marcos_placona Serverless architectures


  1. Going Serverless with Kotlin @marcos_placona

  2. Marcos Placona marcos_placona mplacona androidthings.rocks androissecurity.info

  3. @marcos_placona

  4. @marcos_placona

  5. @marcos_placona

  6. @marcos_placona

  7. + @marcos_placona

  8. “Serverless architectures refer to applications that significantly depend on third-party services or on custom code that's run in ephemeral containers.” –Martin Fowler @marcos_placona

  9. NO OPS @marcos_placona

  10. version: "3" services: vote: build: ./vote command: python app.py volumes: - ./vote:/app ports: - "5000:80" networks: - front-tier - back-tier result: build: ./result command: nodemon --debug server.js volumes: - ./result:/app ports: - "5001:80" - "5858:5858" networks: - front-tier - back-tier worker: build: context: ./worker networks: - back-tier @marcos_placona redis:

  11. - "5001:80" - "5858:5858" networks: - front-tier - back-tier worker: build: context: ./worker networks: - back-tier redis: image: redis:alpine container_name: redis ports: ["6379"] networks: - back-tier db: image: postgres:9.4 container_name: db volumes: - "db-data:/var/lib/postgresql/data" networks: - back-tier volumes: db-data: networks: front-tier: @marcos_placona back-tier:

  12. Free Not really @marcos_placona

  13. 1 Million!

  14. 1 Million! FREE

  15. cheap @marcos_placona

  16. >5 Million!

  17. >5 Million! <$25

  18. 10 Minutes 1 Minute 9 Minutes @marcos_placona

  19. @marcos_placona

  20. + @marcos_placona

  21. + @marcos_placona

  22. + demo @marcos_placona

  23. + Pros: • It doesn’t care about what you’re building • No vendor dependencies Cons: • Docs are fragmented AF! @marcos_placona

  24. + Pricing: • FREE for up to 5M requests a month @marcos_placona

  25. + demo @marcos_placona

  26. ⌘ +Q @marcos_placona

  27. + Pros: • If you’re already on that platform… Cons: • Your code is locked to that platform @marcos_placona

  28. + Pricing: • Unlike the others you pay per instance. Not FaaS Caveat: • Unfair comparison since their Firebase Cloud does that @marcos_placona

  29. story time @marcos_placona

  30. Working from home @marcos_placona

  31. @marcos_placona

  32. @marcos_placona

  33. @marcos_placona

  34. @marcos_placona

  35. + demo @marcos_placona

  36. + Pros: • A lot of people already use AWS. Easy to troubleshoot • No vendor dependencies • Comprehensive API Console Cons: • Docs are a bit all over the place • Free tier is not as generous • Can’t invoke Lambda’s directly via HTTP @marcos_placona

  37. + Pricing: • FREE for up to 1M requests a month @marcos_placona

  38. serverless �!> Future @marcos_placona

  39. Marcos Placona marcos_placona mplacona androidthings.rocks androissecurity.info

Recommend


More recommend