Serverless Architecture &
Spring-Cloud-Function
Agenda
-
Server Less Architecture
-
Benefits and Drawback of Serverless Architecture
-
What is Spring Cloud Function
-
Demo with Azure Cloud
-
How Does Spring Cloud Function/Azure Function Internal Work?
What is Serverless Architecture?
Serverless is a cloud computing execution model where the cloud provider dynamically manages the allocation and provisioning of servers.
A serverless application runs in stateless compute containers that are event-triggered and fully managed by the cloud provider. Pricing is based on the number of executions rather than pre-purchased compute capacity
Focus on your application, not the infrastructure
From business perspective
- The cost incurred by a serverless application is based on the number of function executions, measured in milliseconds instead of hours.
- Process agility: Smaller deployable units result in faster delivery of features to the market, increasing the ability to adapt to change.
- Cost of hiring backend infrastructure engineers goes down.
- Reduced operational costs
From developer perspective
- Reduced liability, no backend infrastructure to be responsible for.
- Zero system administration.
- Easier operational management.
- Faster set up.
- Scalable, no need to worry about the number of concurrent requests.
- Monitoring out of the box.
Benefits of Serverless Architecture
-
Reduced overall control.
-
Cost is unpredictable because the number of executions is not predefined
-
Some of Librery will Not work with Serverless Like Swagger.
-
Not Good For Higher Level Enterprises Application.
-
The developers are dependent on vendors for debugging and monitoring tools
-
Lack of local testing options
-
Hard limit on invocation payload size (e.g. 128 KB for AWS/Azure Lambda)
Drawbacks of Serverless Architecture
Serverless Providers (FAAS)
How to Implement Serverless Code in Spring Boot
Spring Cloud Function is a new project from the Spring team at Pivotal that aims to promote the function as the primary unit of development work
Serverless computing is a cloud-computing execution model in which the cloud provider runs the server, and dynamically manages the allocation of machine resources. Pricing is based on the actual amount of resources consumed by an application, rather than on pre-purchased units of capacity. Products like Google Function,AWS Lambda,Azure Function are available in market and tons of application are running using these products.
Demo with Azure Cloud
How Does Azure Function work Internally?
Spring-Cloud-Function
By Sagar Mal Shankhala
Spring-Cloud-Function
- 482