0% found this document useful (0 votes)
7 views18 pages

Group 5 Web Engineering Presentation

The document presents an overview of serverless architecture, highlighting its benefits, key components, and how it simplifies web development. It discusses the event-driven model, popular platforms, use cases, and provides case studies of companies like Netflix and Slack utilizing serverless solutions. Additionally, it outlines future trends in serverless technology, including its increasing adoption for AI/ML workloads and broader industry applications.

Uploaded by

Qura Tul Ain
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views18 pages

Group 5 Web Engineering Presentation

The document presents an overview of serverless architecture, highlighting its benefits, key components, and how it simplifies web development. It discusses the event-driven model, popular platforms, use cases, and provides case studies of companies like Netflix and Slack utilizing serverless solutions. Additionally, it outlines future trends in serverless technology, including its increasing adoption for AI/ML workloads and broader industry applications.

Uploaded by

Qura Tul Ain
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 18

Serverless Architecture:

Simplifying Web Development


Presented By :

Group no. 05

Group Members :

Qura-tul-Ain Saleem 04

Nadia Imtiaz 21

Noor-un-Nisa Sadiq 28

Zainab Yasmin 44
Agenda
1. Introduction to Serverless Architecture
2. How Serverless Works
3. Benefits of Serverless for Web Development
4. Key Components of Serverless Architecture
5. Popular Serverless Platforms
6. Use Cases and Applications
7. Best Practices
8. Case Studies
9. Conclusion and Future Trends
Introduction to Serverless Architecture
What is Serverless Why the Name "Serverless"?
Comparison with
Architecture? Traditional Models
Serverless computing is a • Servers still exist but • Traditional: Developers
cloud computing model where are abstracted away must provision, scale, and
developers only write and from developers. maintain servers.
deploy code, and the cloud • Developers don’t manage • Serverless: Developers
provider manages the or maintain these servers. focus solely on application
underlying infrastructure. logic.
How Serverless Works
Code and Functions
Developers write functions that perform specific tasks.

Event-Driven Model
Functions are triggered by events like API calls, file uploads, or database changes.

Cloud Provider Role


The provider (AWS, Google Cloud, etc.) manages server allocation, execution, and scaling.

Automatic Scaling
Functions scale up or down automatically based on demand.
Key Benefits of Serverless
Reduced Cost Efficiency
Infrastructure
Pay only for execution time.
Management
Developers don’t worry No idle costs when functions
about servers, OS updates, are not in use.
or scaling.

Scalability Faster Time-to-Market


Automatic scaling to handle Simplified development and
variable workloads. deployment process.
Core Components of
Serverless Architecture
Function-as-a-Service (FaaS) Small, stateless functions.
Examples: AWS Lambda,
Google Cloud Functions.

Backend-as-a-Service (BaaS) Pre-built services like


Firebase, DynamoDB, or
authentication systems.

API Gateways Manage communication


between client and
serverless backend.
Example: AWS API Gateway.
Event-Driven Model
1 Event Trigger
Serverless systems respond to specific events: API requests, file uploads, database updates, or cron
jobs.

2 Function Execution
The triggered event invokes a corresponding serverless function.

3 Response
The function processes the event and generates a response, which is sent back to the client or
system.
Popular Serverless Platforms

AWS Lambda Google Cloud Functions


Pioneer in serverless computing, tightly integrated with AWS Great for Google-based applications.
ecosystem.

Microsoft Azure Functions Others


Supports .NET, Java, Python, and JavaScript. IBM Cloud Functions, Vercel, Netlify.
Use Cases in Web Development
Dynamic RESTful APIs Authentication Image
1 2 3 4
Websites Systems Processing
Generate content Handle API requests Automatically
Scalable login and compress or resize
dynamically using and return data.
user management. images on upload.
serverless backends. Example: Weather
Example: A blog forecasting API built Example: E-
using Firebase for on Google Cloud commerce sites.
backend. Functions.
Deployment Process
1 Write Your Code
Use a programming language supported by the
serverless platform.

2 Deploy the Code


Upload to the platform using CLI tools or web
interfaces.

3 Test and Optimize


Trigger events and monitor function performance.
Cost Efficiency in Serverless
Traditional Hosting Costs Serverless Costs

Pay for a fixed capacity, even during low usage periods. Pay only for the resources consumed during code
execution, with no idle costs.

For example, a company was able to save $5,000 per month by switching from virtual machines to a serverless
architecture, paying only for the computing power they used rather than maintaining idle capacity.
Faster Deployments
• Simplified Pipeline: Fewer steps in the deployment process compared to traditional hosting models.
• Rapid Iterations: A travel booking app deploys updates in hours instead of days using a serverless architecture.
• Accelerated Time-to-Market: The simplified deployment pipeline allows for quicker product iterations and
feature releases.
• Reduced Overhead: Serverless deployments eliminate the need for server provisioning and management,
streamlining the process.
Scalability of Serverless
Serverless architectures automatically scale to handle
sudden spikes in workload, making them ideal for
applications that experience unpredictable traffic
patterns.

For example, an e-commerce site built on a serverless


backend can seamlessly scale to accommodate a
massive influx of customers during a Black Friday sale,
without the need for manual server provisioning or
configuration.
Security in Serverless
With serverless architectures, cloud providers handle
the underlying server security and operating system
updates, allowing developers to focus solely on
securing their application logic.

For example, AWS Lambda, a popular serverless


platform, provides built-in protection against
Distributed Denial of Service (DDoS) attacks, ensuring
the reliability and availability of serverless applications.
Case Study: Netflix
Netflix leverages AWS Lambda, a serverless computing
platform, to monitor user behavior and optimize their
recommendation engine in real-time.

By using a serverless architecture, Netflix can scale


their infrastructure automatically to handle spikes in
traffic and user activity, providing a seamless
experience for their customers.
Case Study: Slack's Serverless Architecture
Serverless for Message Routing and
Processing

Slack, the popular messaging platform, leverages a


serverless architecture to handle its real-time
communication needs. This allows Slack to efficiently
route and process messages with reduced downtime
and improved scalability.
Future of Serverless
Increasing Adoption for AI/ML 1
Workloads
Serverless architectures are becoming the
preferred choice for deploying machine 2 Enhanced Developer Tools
learning and artificial intelligence models, Serverless platforms are continuously
enabling on-demand scalability and reduced improving their developer tools, providing
infrastructure management. better visibility, debugging capabilities, and
seamless integration with popular IDEs to
enhance the developer experience.
Broader Use Cases Across Industries 3
As serverless matures, we'll see its adoption
expand beyond web applications and into
diverse industries like healthcare, finance, and
IoT, driving innovation and agility.
Any Questions
Open discussion is encouraged to ensure we're all on the same page.

You might also like