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

Serverless Computing - just a hype?

Serverless Computing - just a hype?

Sebastian Jensen und Robert Schlaeger, Software-Entwickler bei der medialesson GmbH, geben einen Einblick in die Serverless-Welt von Azure. Anhand von zahlreichen Beispielen und Demos werden mit Azure Functions verbundene Möglichkeiten, Einsatzgebiete sowie Schwächen und Pitfalls aufgezeigt. Von zeitgesteuerten Jobs über Image-Processing bis hin zum Report der eigenen Arbeitszeiten ist alles dabei.

0dd9ba992339586bf38aaab65d0d65d5?s=128

Sebastian Jensen

July 05, 2018
Tweet

More Decks by Sebastian Jensen

Other Decks in Programming

Transcript

  1. Serverless Computing - just a hype? An introduction to Azure

    Functions
  2. Robert Schlaeger Developer schlaeger@medialesson.de @RobAnybody_

  3. Sebastian Jensen Developer jensen@medialesson.de @tsjdevapps

  4. Serverless?! http://www.commitstrip.com/en/2017/04/26/servers-there-are-no-servers-here/

  5. What are Azure Functions? Code Events + Data Azure Functions

  6. Some Benefits Abstraction of Servers Sub-second billing Speed & Availability

    Instant Scale Focus on Logic Different Languages
  7. Language Support

  8. Local Testing

  9. Local Testing

  10. Local Testing

  11. Hello World/Name – C#

  12. Hello World/Name – JS

  13. Hello World/Name – F#

  14. Demo

  15. Triggers • Defines the invocation of the function • Must

    have exactly one trigger • A trigger has some associated data with it • Contains the payload that triggered the functions
  16. Bindings • Means of connecting to data from the code

    • 2 types of bindings: Input Bindings and Output Bindings • Bindings are optional • Can have multiple input and output bindings
  17. Voice Assistant: Alexa • Amazon • April 2014 • Echo

    Family • Windows-PCs later this year… Alexa
  18. Wording: Skill • Voice Experiences, which can be developed by

    third parties • Extends the available functions • "Voice Apps" with focused functionality • Are currently available for free • Be activated or deactivated via voice commands or companion apps
  19. Demo

  20. Pros of Azure Functions • Azure Functions are cheap. •

    Azure Functions are simple for simple scenarios. • The amount of code you write in a function will probably be less than writing the same behavior outside of Azure Functions.
  21. Cons of Azure Functions • The languages and the runtimes

    for Azure Functions are not specialized. • Deploying, authoring, testing, and executing a function is difficult outside of Azure. • Startup time of the function is sometimes a little bit slow.
  22. Resources • Azure Functions – https://azure.microsoft.com/en-us/services/functions/ • Cognitive Services –

    https://azure.microsoft.com/en-us/services/cognitive-services/ • Botframework – https://dev.botframework.com/ • Slides & Code – https://github.com/tsjdev-apps/meetup-azurefunctions-demos
  23. Any questions?

  24. Thank you for your interest! www.medialesson.de