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

Going Serverless with Go

Ivan Santos
February 19, 2020

Going Serverless with Go

As a representative of Episource, I shared some experience developing and deploying serverless applications with Go to Austin Go Language user group meetup. Everything presented was based on continuous learning from developing products for personal usage or at Episource during development sprints.

Ivan Santos

February 19, 2020
Tweet

More Decks by Ivan Santos

Other Decks in Programming

Transcript

  1. FUNCTION APPLICATION RUNTIME CONTAINER OS VIRTUALIZATION HARDWARE FUNCTION APPLICATION RUNTIME

    CONTAINER OS VIRTUALIZATION HARDWARE FUNCTION APPLICATION RUNTIME CONTAINER OS VIRTUALIZATION HARDWARE FUNCTION APPLICATION RUNTIME CONTAINER OS VIRTUALIZATION HARDWARE USER USER (SCALABLE UNIT) PROVIDER IAAS CAAS PAAS FAAS
  2. BENEFITS * Pay as you go * Lower costs *

    Single Purpose Functions * No server Management necessary * Auto-scaling * Turnaround (Market)
  3. LIFECYCLE SO IF YOU HAVE 10 CONCURRENT EXECUTIONS OF THE

    SAME FUNCTION, YOU WILL HAVE 10 CONTAINERS, AND THEREFORE YOU WILL HAVE EXPERIENCED 10 COLD STARTS IN ORDER TO GET THERE. CREATED UPDATED CODE CHANGED IDLE FOR X MINS
  4. “Serverless” may be a buzzword, but it's not an empty

    one. Less than five years since it launched, AWS Lambda has already been adopted by nearly half of companies with infrastructure in AWS. - datadoghq https://www.datadoghq.com/state-of-serverless/
  5. PRODUCTION ▸ 1 million free requests per month. ▸ Was

    able to create and deploy api to multiple environments in 1-2 days. ▸ Easily configurable on CI tools as it has its own CLI.
  6. RECAP ▸ What’s serverless ▸ FAAS ▸ Lambda lifecycle ▸

    Serverless Framework ▸ Applying serverless in your architecture