Slide 1
WHAT IS SERVERLESS ARCHITECTURE AND FUNCTION-AS-A-SERVICE (FaaS)?
SERVERLESS COMPUTING is a cloud-based execution model where developers can run code
without explicitly managing servers.
In a serverless architecture, the cloud provider handles all the infrastructure management,
including provisioning, scaling and maintenance.
Developers focus solely on writing code and deploying it to the cloud platform.
Slide 2
WHAT IS SERVERLESS ARCHITECTURE AND FUNCTION-AS-A-SERVICE (FaaS)?
FUNCTION-AS-A-SERVICE (FaaS) is a core component of serverless computing. It allows
developers to deploy individual functions or pieces of code that execute in response to
specific events.
These functions are typically stateless, meaning they don’t maintain any persistent data
between invocations.
FaaS platforms like AWS Lambda, Azure Functions, and Google Cloud functions provide the
runtime environment and infrastructure for these functions.
Slide 3
ARE SERVERLESS AND FUNCTION-AS-A-SERVICE THE SAME?
FaaS VS. SERVERLESS
Serverless and Functions-as-a-Service (FaaS) are often conflated with one another but the truth
is that FaaS is actually a subset of serverless.
Serverless is focused on any service category, be it compute, storage, database, messaging
and api gateways where configuration, management and billing of servers are invisible to the
user.
However, faaS while perhaps the most central technology in serverless
architectures, is focused on the event-driven computing paradigm
wherein application code or containers only run in response to events or
requests.
Slide 4
USE CASES FOR SERVERLESS/FaaS
(Real-world Applications)
Slide 5
BACKEND APIs (RESTful services)
Image Processing
Data streaming and processing
Real-time Analytics
Chatbots and conversational AI
Slide 6
ADVANTAGES & APPLICATIONS
1. SCALABILITY AND COST-EFFICIENCY
Applications are able to scale autonomously in response to demand when built using
serverless architectures.
2. EVENT-DRIVEN AND MICROSERVICES ARCHITECTURE
Event-driven and microservices-based applications work well with serverless
architectures because of their flexibility.
3. RAPID DEVELOPMENT AND DEPLOYMENT
Serverless architectures make the process of developing and deploying software
simpler. Without having to worry about the underlying infrastructure, developers are
free to concentrate on building small, self-contained functions that carry out certain
task.
4. COST-EFFECTIVE BACKEND PROCESSING
Offloading backend processing chores like data processing, file transcoding or data
analysis is a perfect use case for serverless architectures, which are suitable for this
purpose.
5. INTELLIGENT MONITORING AND PERFORMANCE OPTIMIZATION
It is possible to use algorithms based on AI and ML in order to keep track of and
improve the performance of integration system. These algorithms are able to examine
system logs, statistics on resource use, and past performance patterns in order to
locate bottlenecks, forecast potentially problematic occurences, and suggest
performance optimization solution.
COMPARISON WITH TRADITIONAL ARCHITECTURES
(SERVERLESS vs. TRADITIONAL)
FEATURES SERVERLESS ARCHITECTURE TRADITIONAL ARCHITECTURE
Infrastructure Management Managed by cloud provider Managed by organization
Cost Pay-as-you-go Fixed cost based on hardware
Scaling Automatic Manual
Deployment Fast and easy Can be complex and time-
consuming
Flexibility High, adapts to changing Limited by hardware
workloads constraints
Maintenance Minimal, handled by cloud Requires dedicated IT staff
provider
Security Shared responsibility with Full responsibility on
cloud provider organization
Slide 7
POPULAR SERVERLESS PLATFORMS
AWS LAMBDA
AZURE FUNCTIONS
GOOGLE CLOUD FUNCTIONS