$30 off During Our Annual Pro Sale. View Details »

A onda agora é função como serviço

A onda agora é função como serviço

Jonata Weber

April 01, 2017
Tweet

More Decks by Jonata Weber

Other Decks in Programming

Transcript

  1. <!-- Por Jonata Weber --> A onda agora é Função

    como Serviço
  2. https://fmlnerd.com/2016/08/16/30k-page-views-for-0-21-a-serverless-story/

  3. Server less???

  4. ~devopsless

  5. atividade vs resultado

  6. Hardware

  7. Hardware SO

  8. Hardware SO app

  9. Hardware SO app

  10. Hardware Virtual Machines app Cloud Computing

  11. Hardware Virtual Machines app

  12. Hardware Virtual Machines app Backend as a Service (BaaS)

  13. Hardware Virtual Machines function function function function function

  14. Hardware Virtual Machines function function function function function Function as

    a Service (FaaS)
  15. Monolítica Microservice Function Function Function Function Function Function Function Function

    Function Microservice Microservice Microservice Microservice
  16. Google Cloud Functions

  17. Arquitetura

  18. #1 Instale o Google Cloud SDK https://cloud.google.com/sdk/docs/

  19. #2 Crie suas funções

  20. None
  21. #3 Disponibilize suas funções

  22. None
  23. Eventos • HTTP • Cloud Storage • Cloud Pub/Sub •

    Firebase (DB, Storage, Analytics, Auth)
  24. APIs suportadas Cloud Storage Cloud Bigtable Cloud Spanner Cloud Datastore

    Cloud Machine Learning Platform Cloud Natural Language API Cloud Speech API Cloud Translation API Cloud Vision API Cloud BigQuery Cloud Pub/Sub Stackdriver Logging Firebase (DB, Storage, Analytics, Auth)
  25. Custo

  26. Empresas que suportam FaaS

  27. None
  28. “The Serverless Framework is a core component of The Coca-Cola

    Company's initiative to reduce IT operational costs and deploy services faster.” -- Patrick Brandt, Solutions Architect at The Coca-Cola Company
  29. Demo

  30. None
  31. None
  32. None
  33. None
  34. None
  35. None
  36. Mais exemplos: https://serverless.com/framework/docs/providers/aws/examples/ Exemplo usando Google Cloud Functions https://github.com/serverless/examples/tree/master/google-node-simple-http-endpoint

  37. Possibilidades • Aplicações web • Back-ends móveis • Back-ends da

    IoT • Processamento de arquivos • Processamento de streams • Processamento de reconhecimento de imagens • MapReduce • Chatbots
  38. Considerações finais

  39. Obrigado! jonataa@gmail.com @JonataWeber

  40. Referências https://martinfowler.com/articles/serverless.html https://martinfowler.com/articles/microservices.html http://readwrite.com/2012/10/15/why-the-future-of-software-and-apps-is-serverless/ https://www.iron.io/what-is-serverless-computing/ https://en.wikipedia.org/wiki/Serverless_computing https://www.youtube.com/watch?v=2oNovfw3V08 https://aws.amazon.com/lambda/ https://read.acloud.guru/evolution-of-business-logic-from-monoliths-through-microservices-to-functions-ff4 64b95a44d#.bto01rhmv