Serverless Computing
By : Prayan A M
Reg No : 2201131001
Contents :
1.Introduction
2.Working Process
3.Benefits of Serverless Computing
4.Challenges and Limitations
5.Serverless Computing vs Server based Computing
6.Serverless Computing use cases
7.Cost Management
8.Security Considerations
9.Future of Serverless Computing
10.Conclusion
11.Questions
Introduction
Serverless computing allows you to run code
without managing servers. Instead of focusing on
hardware, you can concentrate on building
applications. It is a cloud-based model for
developing and running applications and services.
This approach enables developers to automatically
handle variable workloads while reducing
operational costs.
Working Process
1 Event Trigger
A serverless function is triggered by an event,
such as an HTTP request, a message in a queue, or
a change in a database.
2 Function Execution
The function executes in response to the event,
performing the necessary tasks and calculations.
3 Result Output
The function outputs the results of its execution,
such as data, messages, or API responses.
Benefits of Serverless Computing
1 Cost-Effective 3 Scalability
Pay only for the Automatically scale up
resources you use, on or down based on
idle servers. demand, handling
spikes effortlessly.
2 Faster Development 4 Enhanced
Productivity
Focus on code, not Free up time for
infrastructure, leading innovation by
to quicker development automating routine
cycles. tasks.
Challenges and Limitations
•Cold Starts: Serverless functions can experience delays when starting up for the first time
causing slower performance.
•Vendor Lock-In: It can be difficult and costly to switch cloud providers once you`re using
their specific tools and services .
•Debugging and Monitoring: It is more challenging to track and fix issues because you
have les control over the system that runs your code.
•Limited Execution Time: Serverless functions have time limits, which can be a problem
for long-running tasks.
Serverless Computing vs Server-based
Computing
Features Serverless Computing Server-based Computing
Server Management No server management Complete server management
Scaling Automatic scaling Manual scaling
Cost Pay-per-use Fixed cost, even when idle
Serverless Computing Use Cases
Web and Mobile Data Processing and
Applications Analytics
Build scalable and Process large datasets,
responsive backends for analyze trends, and
web and mobile generate reports.
applications.
Internet of Things Microservices
(IoT)
Break down complex
Develop event-driven applications into
applications for connected independent, scalable
devices. services.
Cost Management
Pay-Per-Use Cost Optimization Predictable Pricing
Only pay for the resources you Optimize resource utilization and Transparent and predictable
consume, reducing unnecessary minimize expenses. pricing models for easier budget
costs. management.
Security Considerations
Authentication and Authorization : Implement strong authentication and authorization
mechanisms.
Data Encryption : Encrypt data at rest and in transit to protect sensitive information.
Vulnerability Management : Regularly scan for vulnerabilities and patch security
flaws.
Future of Serverless
Computing
Serverless computing is continuously evolving with expected
advancements in security, performance, and developer tools.
It is becoming more integrated with other technologies, such
as edge computing and artificial intelligence.
Conclusion :
In conclusion, Serverless Computing offers significant advantages
such as automatic scaling and cost management however, there are
also challenges including vendor lock-in and debugging challenge.
Questions ?