SlideShare a Scribd company logo
Serverless Computing
By: Jainil Shah
Mihir Mehta
Viral Ghosh
WWW.AIMDEK.COM
Agenda
• Introduction
• Serverless
• Architecture
• Characteristics
• Commercial Platform
• Benefits and Drawbacks
• Use Cases and Workloads
• API Composition
• Demo
Introduction
● Serverless Computing (or simply serverless) is emerging as a new and compelling model for the
deployment of cloud applications
● Conventionally, applications were written and run in servers which are allocated fixed resources.
Soon problems arose with sudden spikes of traffic as demands increased and the servers were
not able to handle the enormous amount requests. To address these problems, came Platform
as a Service (PaaS) in which providers offered scaling but it has its drawbacks.
● It is a platform for rapidly deploying small pieces of cloud-native code
Introduction
There are many immediate benefits to not managing your
own servers:
● You don't have to worry about them randomly
rebooting or going down.
● You don't end up with snowflake servers, where you
don't know quite what's installed on them but they are
mission-critical to your organisation.
● You're not responsible for installing software on them.
Even if you use configuration management tools such
as Chef or Ansible to automate this, that’s still extra
code you have to maintain over time.
What is Serverless Computing?
● Serverless Computing is a cloud computing execution model in which the
cloud provider dynamically manages the allocation of machine resources,
and bills based on the actual amount of resources consumed by an
application, rather than billing based on pre-purchased units of capacity..
● The version of serverless that explicitly uses functions as the
deployment unit is also called Function-as-a-Service (FaaS).
What is Serverless Computing?
• The Infrastructure-as-a-Service (IaaS) model is where the developer has the
most control over both the application code and operating infrastructure in the
cloud
• The developer is responsible for provisioning the hardware or virtual machines.
• Can customize every aspect of how an application gets deployed and executed.
• On the opposite extreme are the PaaS and SaaS models, where the developer is
unaware of any infrastructure.
• The developer has access to prepackaged components or full applications. The
developer is allowed to host code here, though that code may be tightly
coupled to the platform.
Serverless?
• Serverless can be explained by varying level of developer control
over the cloud infrastructure.
Hardware/VM
Deployment
(IaaS)
Custom Infrastructure
Custom Application Code
Shared Infrastructure
Customer Application
Code
Shared Infrastructure
Shared Service Code
More Less
Developer
Control
Full Stack
Services
(SaaS)
Serverless
Architecture
• Servers are still needed, but developers need not concern
themselves
• with managing those servers.
• Decisions such as the number of servers and their capacity are
taken care of by the serverless platform, with server capacity
automatically provisioned as needed by the workload.
• The core capability of a serverless platform is that of an
event processing system.
• The service must manage a set of user defined functions, take an
• event sent over HTTP or received from an event source.
Architecture
• The challenge is to implement such
functionality while considering
metrics such as cost, scalability, and
fault tolerance.
• The platform must quickly and
efficiently start a function and
process
its input.
• The platform also needs to queue
events.
Serverless : Characteristics
• Independent, server-side, logical functions : small, separate, units of logic that take
input arguments, process them in some manner, then return the result.
• Cost : Typically its Pay As You Go
• Simple Deployment : Thanks to the small size of deployment artifacts, in general,
deployments are simple and quick. Deployment artifacts are typically idiomatic of the
chosen runtime e.g. NuGet packages, npm packages, JAR files
• Ephemeral : designed to spin up quickly, do their work and then shut down again.
• Programming languages : Serverless services support a wide variety of programming
languages - Node, Python.
• Stateless : FaaS are stateless, not storing states ,as containers running code will
automatically destroy and created by platform.Horizontal Scaling becomes easy...
Serverless : Characteristics
• Scalable by Default
• Event Triggered :Although functions can be invoked directly, they are
typically triggered by events from other cloud services, such as
incoming HTTP requests,
• Simple Deployment Model.
• Small Deployable Units and More focus on Business Value.
• Managed by third party .
• No more “Works on my Machine”
Commercial platforms
• Amazon’s AWS Lambda
• Google’s Cloud Functions
• Microsoft Azure Functions
• IBM Cloud Functions
• OpenLambda
Amazon’s AWS Lambda
• Amazon’s AWS Lambda was the first serverless platform ,it is a compute
service that lets you run code without provisioning or managing servers.”
• AWS Lambda executes code only when needed and scales
automatically, from a few requests per day to thousands per second.
• Pay only for the compute time.
• Can run code for virtually any type of application or backend service
Amazon’s AWS Lambda
• Currently AWS Lambda supports Node.js, Java, C# , Go and Python and
PowerShell
• AWS Lambda automatically scales application by running code in response
to each trigger.
• With AWS Lambda,we are charged for every 100ms
Google’s Cloud Functions
• Google Cloud Functions provides basic FaaS functionality to run
serverless functions written in Node js , Go, Python and Java.
• Automatically scales, highly available and fault tolerant.
• No servers to provision, manage, or upgrade
• Pay only while your code runs.
Microsoft Azure Functions
• Microsoft Azure Functions provides HTTP webhooks and
integration with Azure services to run user provided functions.
• The platform supports C#, F#, Node.js, Python, java and PowerShell.
• Pay only for the time spent running your code with Consumption
plan.
• The runtime code is open-source and available on GitHub under an
MIT License.
IBM Cloud Functions (OpenWhisk )
• IBM OpenWhisk provides event-based serverless programming with
the ability to chain serverless functions to create composite
functions.
• It supports Node.js, Java, Swift, Python, as well as arbitrary binaries
embedded in a Docker container.
• OpenWhisk is available on GitHub under an Apache open source
license.
OpenLambda
• OpenLambda is an open-source serverless computing platform. The
source-code is available in GitHub under an Apache License.
• The Lambda model allows developers to specify functions that run in
response to various events.
• OpenLambda will consist of a number of subsystems that will
coordinate to run Lambda handlers:
Benefits
• Compared to IaaS platforms, serverless architectures offer different tradeoffs in terms
of control, cost, and flexibility.
• The serverless paradigm has advantages for both consumers and providers.
• From the consumer perspective, a cloud developer no longer needs to provision
and manage servers, VMs, or containers as the basic computational building
block for offering distributed services.
• The stateless programming model gives the provider more control over the software
stack, allowing them to, among other things, more transparently deliver security
patches and optimize the platform.
Drawbacks
• However, drawbacks to both consumers and providers.
• For consumers, the FaaS model offered by the platform may be too
constraining for some applications.
• For the provider, there is now a need to manage issues such as the
lifecycle of the user’s functions, scalability, and fault tolerance in an
application-agnostic manner.
Current state of serverless platforms
• There are many similarities between serverless platforms.
• They share similar pricing, deployment,and programming models.
• Current serverless platforms only make it easy to use the services in
their own ecosystem.
• Open source solutions may work well across multiple cloud
platforms.
Use cases and workloads
• Serverless computing has been utilized to support a wider range of
applications.
• HTTP REST APIs and web apps: traditional request and response
workloads.
• Mobile back ends: ability to build on the REST API backend workload above
the BaaS APIs
• Multimedia processing: The implementation of functions that execute a
transformational process in response to a file upload
Event processing
• One class of applications that are very much suitable for is event- based
programming.
• Image processing event handler function by AWS
• The function is connected to a data store, that emits change events .
• New image file is uploaded, an event is generated.
• In the case of failure , the function can be executed again with no side
effects.
API composition
• Another class of applications involves the composition of a number of APIs
• The application logic consists of data filtering and transformation.
Mobile App
Lat/long
coordinates
3 day weather
forecast in india
def main(dict):
zip = gis.geoToZip(dist.get(coord) forecast =
weather.forecast(zip) afirstThreeDays = forecast(0:3)
translated=language.translate(firstThreedays,“en”,“mal”)
return(“forecast”:filter(translated))}
Coordinate to ZIP
code service
Weather forecast
Service
Language translation
Service
Conclusions
• It is an evolution of the trend towards higher levels of abstractions in
cloud programming models. Currently exemplified by the Function-
as-a-Service (FaaS) .
• There are some drawbacks also to Serverless computing like vendor
lock-in and Vendor control.
• The developers are dependent on vendors for debugging and
monitoring tools. Debugging distributed systems is difficult and
usually requires access to a significant amount of relevant metrics
to identify the root cause.
Questions and Answers
www.aimdek.com
AIMDek Technologies Pvt. Ltd.
+91 78747 88766 | +1 844-744-4423
Sales: sales@aimdek.com
General: hello@aimdek.com
AIMDek Technologies Inc.
+1 647-243-6116
Sales: sales@aimdek.com
General: hello@aimdek.com
AIMDek Technologies Inc.
+1 647-243-6116
Sales: sales@aimdek.com
General: hello@aimdek.com
www.aimdek.com www.aimdek.com
Canada India USA

More Related Content

What's hot (20)

PPTX
Introduction of Cloud computing
Rkrishna Mishra
 
PDF
Aws
mahes3231
 
PDF
Serverless Computing
Rushi Namani
 
PDF
Serverless computing
Om Vikram Thapa
 
PDF
Seminar report on cloud computing
Jagan Mohan Bishoyi
 
PPTX
Serverless computing
NitinSalvi14
 
PPTX
Load balancing
ankur bhalla
 
PPTX
Microsoft azure
Mohammad Ilyas Malik
 
PDF
Cloud service lifecycle management
Animesh Chaturvedi
 
PPTX
Cloud security ppt
Venkatesh Chary
 
PDF
AWS
ARYA TM
 
PPTX
NIST Cloud Computing Reference Architecture
Thanakrit Lersmethasakul
 
PPT
Comet Cloud
pradeepas7
 
PPTX
AWS PPT.pptx
GauravSharma164138
 
PDF
Introduction to Microsoft Azure Cloud
Dinesh Kumar Wickramasinghe
 
PDF
Google App Engine (Introduction)
Praveen Hanchinal
 
PPTX
Azure fundamentals
Raju Kumar
 
PPT
Building Aneka clouds.ppt
Dr. Vanajaroselin Chirchi
 
PDF
Serverless
Young Yang
 
PPT
cloud computing:Types of virtualization
Dr.Neeraj Kumar Pandey
 
Introduction of Cloud computing
Rkrishna Mishra
 
Serverless Computing
Rushi Namani
 
Serverless computing
Om Vikram Thapa
 
Seminar report on cloud computing
Jagan Mohan Bishoyi
 
Serverless computing
NitinSalvi14
 
Load balancing
ankur bhalla
 
Microsoft azure
Mohammad Ilyas Malik
 
Cloud service lifecycle management
Animesh Chaturvedi
 
Cloud security ppt
Venkatesh Chary
 
AWS
ARYA TM
 
NIST Cloud Computing Reference Architecture
Thanakrit Lersmethasakul
 
Comet Cloud
pradeepas7
 
AWS PPT.pptx
GauravSharma164138
 
Introduction to Microsoft Azure Cloud
Dinesh Kumar Wickramasinghe
 
Google App Engine (Introduction)
Praveen Hanchinal
 
Azure fundamentals
Raju Kumar
 
Building Aneka clouds.ppt
Dr. Vanajaroselin Chirchi
 
Serverless
Young Yang
 
cloud computing:Types of virtualization
Dr.Neeraj Kumar Pandey
 

Similar to What is Serverless Computing? (20)

PDF
Why Serverless?
Ridwan Fadjar
 
PPTX
Serverless Architectures
SuraiyaHasan19004210
 
PDF
When to use serverless computing.pdf
seo18
 
PPTX
An introduction to Serverless
Adrien Blind
 
PDF
Reimagine Application Modernization with Serverless Architecture
Opteamix LLC
 
PPTX
Serverless-Computing-The-Future-of-Cloud-Computing (1).pptx
mohdobed1998
 
PDF
Serverless Toronto User Group - Let's go Serverless!
Daniel Zivkovic
 
PDF
Serverless: A love hate relationship
Jürgen Brüder
 
PPTX
Building Serverless Microservices Using Serverless Framework on the Cloud
Srini Karlekar
 
PDF
Microservices and Serverless for Mega Startups - DevOps IL Meetup
Boaz Ziniman
 
PDF
When to use serverless computing.pdf
SGBSeo
 
PPTX
Serverless-Computing-The-Future-of-Backend-Development
Ozias Rondon
 
PDF
Montréal AWS Users United: Let's go Serverless!
Daniel Zivkovic
 
PDF
State of serverless
Anurag Saran
 
PDF
A review on serverless architectures - function as a service (FaaS) in cloud ...
TELKOMNIKA JOURNAL
 
PPTX
From Serverless to InterCloud
Wayne Scarano
 
PDF
Serverless - The Future of the Cloud?!
Bert Ertman
 
PPTX
Demistifying serverless on aws
AWS Riyadh User Group
 
PPTX
Building Cross-Cloud Platform Cognitive Microservices Using Serverless Archit...
Srini Karlekar
 
PPTX
Serverless applications
mbaric
 
Why Serverless?
Ridwan Fadjar
 
Serverless Architectures
SuraiyaHasan19004210
 
When to use serverless computing.pdf
seo18
 
An introduction to Serverless
Adrien Blind
 
Reimagine Application Modernization with Serverless Architecture
Opteamix LLC
 
Serverless-Computing-The-Future-of-Cloud-Computing (1).pptx
mohdobed1998
 
Serverless Toronto User Group - Let's go Serverless!
Daniel Zivkovic
 
Serverless: A love hate relationship
Jürgen Brüder
 
Building Serverless Microservices Using Serverless Framework on the Cloud
Srini Karlekar
 
Microservices and Serverless for Mega Startups - DevOps IL Meetup
Boaz Ziniman
 
When to use serverless computing.pdf
SGBSeo
 
Serverless-Computing-The-Future-of-Backend-Development
Ozias Rondon
 
Montréal AWS Users United: Let's go Serverless!
Daniel Zivkovic
 
State of serverless
Anurag Saran
 
A review on serverless architectures - function as a service (FaaS) in cloud ...
TELKOMNIKA JOURNAL
 
From Serverless to InterCloud
Wayne Scarano
 
Serverless - The Future of the Cloud?!
Bert Ertman
 
Demistifying serverless on aws
AWS Riyadh User Group
 
Building Cross-Cloud Platform Cognitive Microservices Using Serverless Archit...
Srini Karlekar
 
Serverless applications
mbaric
 
Ad

More from AIMDek Technologies (20)

PDF
Unveiling Salesforce EinsteinGPT
AIMDek Technologies
 
PDF
Medical-Devices
AIMDek Technologies
 
PDF
Patient Centric Innovations
AIMDek Technologies
 
PPTX
Einstein Bots
AIMDek Technologies
 
PPTX
What is RabbitMQ ?
AIMDek Technologies
 
PPTX
Introduction to Einstein Bots
AIMDek Technologies
 
PPTX
Design REST APIs using RAML
AIMDek Technologies
 
PPTX
Gamification in UX
AIMDek Technologies
 
PPTX
Testing with cucumber testing framework
AIMDek Technologies
 
PPTX
Introduction to Blockchain
AIMDek Technologies
 
PPTX
AWS Summit : Digital Transformation and Innovation with Cloud
AIMDek Technologies
 
PPTX
Concepts of business intelligence
AIMDek Technologies
 
PPTX
Introduction to Apache Kafka
AIMDek Technologies
 
PPTX
Microsoft: Multi-tenant SaaS with Azure
AIMDek Technologies
 
PPTX
Introduction to Artificial Intelligence and Machine Learning with Python
AIMDek Technologies
 
PPTX
Leveraging smart technologies to transform the new challenging healthcare ind...
AIMDek Technologies
 
PPTX
Enabling intelligence for cr ms _ salesforce einstein
AIMDek Technologies
 
PPTX
Liferay for Healthcare IT Solutions
AIMDek Technologies
 
PPTX
Best practices for implementing CI/CD on Salesforce
AIMDek Technologies
 
PPTX
Kotlin- Programming Language For Modern Multi-Platform Applications
AIMDek Technologies
 
Unveiling Salesforce EinsteinGPT
AIMDek Technologies
 
Medical-Devices
AIMDek Technologies
 
Patient Centric Innovations
AIMDek Technologies
 
Einstein Bots
AIMDek Technologies
 
What is RabbitMQ ?
AIMDek Technologies
 
Introduction to Einstein Bots
AIMDek Technologies
 
Design REST APIs using RAML
AIMDek Technologies
 
Gamification in UX
AIMDek Technologies
 
Testing with cucumber testing framework
AIMDek Technologies
 
Introduction to Blockchain
AIMDek Technologies
 
AWS Summit : Digital Transformation and Innovation with Cloud
AIMDek Technologies
 
Concepts of business intelligence
AIMDek Technologies
 
Introduction to Apache Kafka
AIMDek Technologies
 
Microsoft: Multi-tenant SaaS with Azure
AIMDek Technologies
 
Introduction to Artificial Intelligence and Machine Learning with Python
AIMDek Technologies
 
Leveraging smart technologies to transform the new challenging healthcare ind...
AIMDek Technologies
 
Enabling intelligence for cr ms _ salesforce einstein
AIMDek Technologies
 
Liferay for Healthcare IT Solutions
AIMDek Technologies
 
Best practices for implementing CI/CD on Salesforce
AIMDek Technologies
 
Kotlin- Programming Language For Modern Multi-Platform Applications
AIMDek Technologies
 
Ad

Recently uploaded (20)

PDF
Staying Human in a Machine- Accelerated World
Catalin Jora
 
PDF
Transcript: Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
PDF
Peak of Data & AI Encore AI-Enhanced Workflows for the Real World
Safe Software
 
DOCX
Cryptography Quiz: test your knowledge of this important security concept.
Rajni Bhardwaj Grover
 
PDF
UiPath DevConnect 2025: Agentic Automation Community User Group Meeting
DianaGray10
 
PDF
NLJUG Speaker academy 2025 - first session
Bert Jan Schrijver
 
PDF
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
PDF
“NPU IP Hardware Shaped Through Software and Use-case Analysis,” a Presentati...
Edge AI and Vision Alliance
 
PDF
“Squinting Vision Pipelines: Detecting and Correcting Errors in Vision Models...
Edge AI and Vision Alliance
 
PDF
Automating Feature Enrichment and Station Creation in Natural Gas Utility Net...
Safe Software
 
PPTX
Agentforce World Tour Toronto '25 - MCP with MuleSoft
Alexandra N. Martinez
 
PPTX
Digital Circuits, important subject in CS
contactparinay1
 
PPTX
MuleSoft MCP Support (Model Context Protocol) and Use Case Demo
shyamraj55
 
PPTX
COMPARISON OF RASTER ANALYSIS TOOLS OF QGIS AND ARCGIS
Sharanya Sarkar
 
PPTX
Mastering ODC + Okta Configuration - Chennai OSUG
HathiMaryA
 
PDF
NASA A Researcher’s Guide to International Space Station : Physical Sciences ...
Dr. PANKAJ DHUSSA
 
PPT
Ericsson LTE presentation SEMINAR 2010.ppt
npat3
 
PPTX
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
PDF
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
PPTX
Future Tech Innovations 2025 – A TechLists Insight
TechLists
 
Staying Human in a Machine- Accelerated World
Catalin Jora
 
Transcript: Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
Peak of Data & AI Encore AI-Enhanced Workflows for the Real World
Safe Software
 
Cryptography Quiz: test your knowledge of this important security concept.
Rajni Bhardwaj Grover
 
UiPath DevConnect 2025: Agentic Automation Community User Group Meeting
DianaGray10
 
NLJUG Speaker academy 2025 - first session
Bert Jan Schrijver
 
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
“NPU IP Hardware Shaped Through Software and Use-case Analysis,” a Presentati...
Edge AI and Vision Alliance
 
“Squinting Vision Pipelines: Detecting and Correcting Errors in Vision Models...
Edge AI and Vision Alliance
 
Automating Feature Enrichment and Station Creation in Natural Gas Utility Net...
Safe Software
 
Agentforce World Tour Toronto '25 - MCP with MuleSoft
Alexandra N. Martinez
 
Digital Circuits, important subject in CS
contactparinay1
 
MuleSoft MCP Support (Model Context Protocol) and Use Case Demo
shyamraj55
 
COMPARISON OF RASTER ANALYSIS TOOLS OF QGIS AND ARCGIS
Sharanya Sarkar
 
Mastering ODC + Okta Configuration - Chennai OSUG
HathiMaryA
 
NASA A Researcher’s Guide to International Space Station : Physical Sciences ...
Dr. PANKAJ DHUSSA
 
Ericsson LTE presentation SEMINAR 2010.ppt
npat3
 
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
Future Tech Innovations 2025 – A TechLists Insight
TechLists
 

What is Serverless Computing?

  • 1. Serverless Computing By: Jainil Shah Mihir Mehta Viral Ghosh WWW.AIMDEK.COM
  • 2. Agenda • Introduction • Serverless • Architecture • Characteristics • Commercial Platform • Benefits and Drawbacks • Use Cases and Workloads • API Composition • Demo
  • 3. Introduction ● Serverless Computing (or simply serverless) is emerging as a new and compelling model for the deployment of cloud applications ● Conventionally, applications were written and run in servers which are allocated fixed resources. Soon problems arose with sudden spikes of traffic as demands increased and the servers were not able to handle the enormous amount requests. To address these problems, came Platform as a Service (PaaS) in which providers offered scaling but it has its drawbacks. ● It is a platform for rapidly deploying small pieces of cloud-native code
  • 4. Introduction There are many immediate benefits to not managing your own servers: ● You don't have to worry about them randomly rebooting or going down. ● You don't end up with snowflake servers, where you don't know quite what's installed on them but they are mission-critical to your organisation. ● You're not responsible for installing software on them. Even if you use configuration management tools such as Chef or Ansible to automate this, that’s still extra code you have to maintain over time.
  • 5. What is Serverless Computing? ● Serverless Computing is a cloud computing execution model in which the cloud provider dynamically manages the allocation of machine resources, and bills based on the actual amount of resources consumed by an application, rather than billing based on pre-purchased units of capacity.. ● The version of serverless that explicitly uses functions as the deployment unit is also called Function-as-a-Service (FaaS).
  • 6. What is Serverless Computing? • The Infrastructure-as-a-Service (IaaS) model is where the developer has the most control over both the application code and operating infrastructure in the cloud • The developer is responsible for provisioning the hardware or virtual machines. • Can customize every aspect of how an application gets deployed and executed. • On the opposite extreme are the PaaS and SaaS models, where the developer is unaware of any infrastructure. • The developer has access to prepackaged components or full applications. The developer is allowed to host code here, though that code may be tightly coupled to the platform.
  • 7. Serverless? • Serverless can be explained by varying level of developer control over the cloud infrastructure. Hardware/VM Deployment (IaaS) Custom Infrastructure Custom Application Code Shared Infrastructure Customer Application Code Shared Infrastructure Shared Service Code More Less Developer Control Full Stack Services (SaaS) Serverless
  • 8. Architecture • Servers are still needed, but developers need not concern themselves • with managing those servers. • Decisions such as the number of servers and their capacity are taken care of by the serverless platform, with server capacity automatically provisioned as needed by the workload. • The core capability of a serverless platform is that of an event processing system. • The service must manage a set of user defined functions, take an • event sent over HTTP or received from an event source.
  • 9. Architecture • The challenge is to implement such functionality while considering metrics such as cost, scalability, and fault tolerance. • The platform must quickly and efficiently start a function and process its input. • The platform also needs to queue events.
  • 10. Serverless : Characteristics • Independent, server-side, logical functions : small, separate, units of logic that take input arguments, process them in some manner, then return the result. • Cost : Typically its Pay As You Go • Simple Deployment : Thanks to the small size of deployment artifacts, in general, deployments are simple and quick. Deployment artifacts are typically idiomatic of the chosen runtime e.g. NuGet packages, npm packages, JAR files • Ephemeral : designed to spin up quickly, do their work and then shut down again. • Programming languages : Serverless services support a wide variety of programming languages - Node, Python. • Stateless : FaaS are stateless, not storing states ,as containers running code will automatically destroy and created by platform.Horizontal Scaling becomes easy...
  • 11. Serverless : Characteristics • Scalable by Default • Event Triggered :Although functions can be invoked directly, they are typically triggered by events from other cloud services, such as incoming HTTP requests, • Simple Deployment Model. • Small Deployable Units and More focus on Business Value. • Managed by third party . • No more “Works on my Machine”
  • 12. Commercial platforms • Amazon’s AWS Lambda • Google’s Cloud Functions • Microsoft Azure Functions • IBM Cloud Functions • OpenLambda
  • 13. Amazon’s AWS Lambda • Amazon’s AWS Lambda was the first serverless platform ,it is a compute service that lets you run code without provisioning or managing servers.” • AWS Lambda executes code only when needed and scales automatically, from a few requests per day to thousands per second. • Pay only for the compute time. • Can run code for virtually any type of application or backend service
  • 14. Amazon’s AWS Lambda • Currently AWS Lambda supports Node.js, Java, C# , Go and Python and PowerShell • AWS Lambda automatically scales application by running code in response to each trigger. • With AWS Lambda,we are charged for every 100ms
  • 15. Google’s Cloud Functions • Google Cloud Functions provides basic FaaS functionality to run serverless functions written in Node js , Go, Python and Java. • Automatically scales, highly available and fault tolerant. • No servers to provision, manage, or upgrade • Pay only while your code runs.
  • 16. Microsoft Azure Functions • Microsoft Azure Functions provides HTTP webhooks and integration with Azure services to run user provided functions. • The platform supports C#, F#, Node.js, Python, java and PowerShell. • Pay only for the time spent running your code with Consumption plan. • The runtime code is open-source and available on GitHub under an MIT License.
  • 17. IBM Cloud Functions (OpenWhisk ) • IBM OpenWhisk provides event-based serverless programming with the ability to chain serverless functions to create composite functions. • It supports Node.js, Java, Swift, Python, as well as arbitrary binaries embedded in a Docker container. • OpenWhisk is available on GitHub under an Apache open source license.
  • 18. OpenLambda • OpenLambda is an open-source serverless computing platform. The source-code is available in GitHub under an Apache License. • The Lambda model allows developers to specify functions that run in response to various events. • OpenLambda will consist of a number of subsystems that will coordinate to run Lambda handlers:
  • 19. Benefits • Compared to IaaS platforms, serverless architectures offer different tradeoffs in terms of control, cost, and flexibility. • The serverless paradigm has advantages for both consumers and providers. • From the consumer perspective, a cloud developer no longer needs to provision and manage servers, VMs, or containers as the basic computational building block for offering distributed services. • The stateless programming model gives the provider more control over the software stack, allowing them to, among other things, more transparently deliver security patches and optimize the platform.
  • 20. Drawbacks • However, drawbacks to both consumers and providers. • For consumers, the FaaS model offered by the platform may be too constraining for some applications. • For the provider, there is now a need to manage issues such as the lifecycle of the user’s functions, scalability, and fault tolerance in an application-agnostic manner.
  • 21. Current state of serverless platforms • There are many similarities between serverless platforms. • They share similar pricing, deployment,and programming models. • Current serverless platforms only make it easy to use the services in their own ecosystem. • Open source solutions may work well across multiple cloud platforms.
  • 22. Use cases and workloads • Serverless computing has been utilized to support a wider range of applications. • HTTP REST APIs and web apps: traditional request and response workloads. • Mobile back ends: ability to build on the REST API backend workload above the BaaS APIs • Multimedia processing: The implementation of functions that execute a transformational process in response to a file upload
  • 23. Event processing • One class of applications that are very much suitable for is event- based programming. • Image processing event handler function by AWS • The function is connected to a data store, that emits change events . • New image file is uploaded, an event is generated. • In the case of failure , the function can be executed again with no side effects.
  • 24. API composition • Another class of applications involves the composition of a number of APIs • The application logic consists of data filtering and transformation. Mobile App Lat/long coordinates 3 day weather forecast in india def main(dict): zip = gis.geoToZip(dist.get(coord) forecast = weather.forecast(zip) afirstThreeDays = forecast(0:3) translated=language.translate(firstThreedays,“en”,“mal”) return(“forecast”:filter(translated))} Coordinate to ZIP code service Weather forecast Service Language translation Service
  • 25. Conclusions • It is an evolution of the trend towards higher levels of abstractions in cloud programming models. Currently exemplified by the Function- as-a-Service (FaaS) . • There are some drawbacks also to Serverless computing like vendor lock-in and Vendor control. • The developers are dependent on vendors for debugging and monitoring tools. Debugging distributed systems is difficult and usually requires access to a significant amount of relevant metrics to identify the root cause.
  • 27. www.aimdek.com AIMDek Technologies Pvt. Ltd. +91 78747 88766 | +1 844-744-4423 Sales: [email protected] General: [email protected] AIMDek Technologies Inc. +1 647-243-6116 Sales: [email protected] General: [email protected] AIMDek Technologies Inc. +1 647-243-6116 Sales: [email protected] General: [email protected] www.aimdek.com www.aimdek.com Canada India USA