The document discusses using Golang for serverless applications. It introduces serverless computing and why Golang is a good choice. Benefits of Golang include its simplicity with only requiring a single binary output and no dependencies. The document demonstrates building a serverless REST API with Golang and AWS Lambda, and addresses enhancing Lambda with provisioned concurrency. It concludes with references for further information.
5. Serverless
● Eliminates the need to manage application servers
● Focus on business logic
● No worries about infrastructure growth
● Little time to set up or optimize servers
● Very little charge for services used during the
development period(Based on AWS Lambda)
● Easy to integrate with other services
● No need to access server
● Accelerate development
6. Serverless - Problems
● Require POC for the migration to serverless architecture
● Require understanding Cloud Provider services
(AWS - Lambda, Azure - Function, GCP - Function)
● Require knowing Debugging tools
● Could be more expensive than EC2
7. Serverless - AWS Lambda
● Supports all of languages and runtimes
(Golang, Node.js, Python, .Net core, Java ...)
● Logging & Monitoring through CloudWatch
● Easy to bind with API Gateway & Application Load Balancer
● Support Websocket and REST API in API Gateway
● No concerns of scale-out
● Enable processing & caching on CloudFront
8. Serverless - Serverless Framework
● Easy and Simple code to deploy serverless infrastructure
● Supports language templates
● Biggest community in Serverless
● Supports 8 cloud providers
(AWS, GCP, Azure, Kubeless, Spotinst, Cloudflare, Alibaba
Cloud, Openwhisk)
● Support SODD(Stack Overflow driven development)