SlideShare a Scribd company logo
1 of 31
Cloud Computing
Serverless
TECH9810 - System Architectures
Stages of Cloud Adoption
1
Stage 1
“Try It
Out”
Stage 2
“The
Cloud
Way”
Stage 3
“Serverless
Computing”
Cloud Adoption – Stage 1 – Try It Out
● First-generation adoption guided by ease-of-
migration
● Operational concern to maintain continuity-of-
service
● Largely like-for-like
● Testing the waters
● Desire for vendor-neutral
2
Cloud Adoption – Stage 1 – Try It Out
● Service Adoption
○ Software-as-a-service outsourcing as direct
substitution for self-hosted services
○ Infrastructure-as-a-service replacing on-premise
like-for-like compute (virtual machines, databases,
disks)
○ VPN links to support secure connectivity between
enterprise intranet and cloud
3
Cloud Adoption – Stage 2 – The Cloud Way
● Following strategic commitment to cloud
● Begins to embrace the “cloud way”
● Impact on system architecture evolution and
development
4
Cloud Adoption – Stage 2 – The Cloud Way
● Building for the cloud and distributed systems
○ Disaggregation of services (SOA)
○ Asynchronous design patterns
● Less concern with vendor-lock-in
● Service Adoption
○ Platform-as-a-service tooling
○ Bucket storage
○ Identity management
5
Cloud Adoption – Stage 3 – Serverless Computing
● An umbrella term meaning computing services for
which end-user does not need to explicitly manage
the underlying supporting computing resources
● Obviously, there are servers!
● But they are transparent
6
Cloud Adoption – Stage 3 – Serverless Computing
● Represents a natural evolution of cloud services
abstraction
● Emphasis on building (higher-level blocks) rather than
managing (eliminating cloud stack complexity)
● Greater infrastructure utilization and multi-tenancy
density
● Synonyms and conflations:
○ Backend-as-a-service
○ Functions-as-a-service
7
Evolution of Cloud
● Born of opportunity to monetise excess compute and storage
capacity
● Closely mirrors expected customer adoption patterns
● Growth strategy:
○ Facilitate early easy wins (on-premise migration)
○ Build developer mindshare (focusing on technical benefits)
○ Low-friction adoption (tooling and migration services)
○ Rapid capacity growth to defend against new market entrants
○ Proprietary service build-out (e.g. AWS Aurora, serverless computing)
● Now challenging traditional system architecture thinking
altogether
8
Functions-as-a-Service
● On-demand execution of user-defined code fragments in
response to some specified event(s)
○ HTTP API Request
○ File update on bucket storage
○ Message queue event
● Code executes in isolated, virtual environment to completion
and then unloads
● Optional temporal caching (for efficient re-execution)
● Access to other cloud services (e.g. databases)
● Zero-infrastructure management, infinitely scalable
9
10
The Good, the Bad, and
the Interesting of
Serverless
THE GOOD
Serverless: Benefits
● Lower relative operational cost
○ Fine-grained usage charges
○ You pay for what you use
13
Serverless: Benefits
● Lower relative development cost
○ Focus effort only on direct value add (code
and data)
○ No need to pay for servers, etc.
14
Serverless: Benefits
● Automatic scaling (in and out)
○ Fine-grained elastic resizing proportional to
usage
15
Serverless: Benefits
● Lower operational complexity
○ Less to manage
○ Less policies
○ Less monitoring
16
Serverless: Benefits
● Faster deployment
○ Less to deploy
○ Less to update in refresh cycles
17
THE BAD
Serverless: Weaknesses
● Vendor control
○ Simplicity-of-delivery comes at the cost of
fewer features and less flexibility
○ Homogenized one-size-fits-all
19
Serverless: Weaknesses
● Vendor lock-in
○ No industry standards means vendor-led de
facto standards
○ Likely impediment to porting to competitor
platform
20
Serverless: Weaknesses
● Loss of control over server
implementation
○ Server details are transparent so apps
cannot take advantage of any server-side
bespoke tuning/configuration
21
Serverless: Weaknesses
● Potential repetition of (code) logic
○ A particular concern of FaaS
○ Harder to organise code for maximum
sharing across execution contexts
22
Serverless: Weaknesses
● Multi-tenancy sharing
○ By definition, higher infrastructure utilization
implies resource sharing
○ Harder to make guarantees about execution
runtimes
23
Serverless: Weaknesses
● No natural server-side statefulness
○ Execution contexts are ephemeral
○ App logic must explicitly manage state
across invocations (e.g. Database)
24
Serverless: Weaknesses
● Startup latency
○ The so-called “cold start” problem
25
Serverless: Weaknesses
● Execution latency
○ Making new database connections for every
execution
26
Serverless: Weaknesses
● Testing
○ More difficult to test locally before
deployment
○ Likely very different from ultimate target
execution environment
27
THE INTERESTING
The Likely Future Ahead
● We can speculate on the impact of serverless but it is likely, in
the near term, that the trend towards serverless will continue
● Suits vendors
○ Easier to offer, manage and support
○ Sticky
● Suits users
○ Easier to adopt, refresh and scale
○ Cost benefits
● But potentially represents a significant tip of control towards
vendors
29
Serverless Computing

More Related Content

Similar to Serverless Computing

Similar to Serverless Computing (20)

From monolith to microservices
From monolith to microservicesFrom monolith to microservices
From monolith to microservices
 
A Successful Journey to the Cloud with Data Virtualization
A Successful Journey to the Cloud with Data VirtualizationA Successful Journey to the Cloud with Data Virtualization
A Successful Journey to the Cloud with Data Virtualization
 
Serverless microservices
Serverless microservicesServerless microservices
Serverless microservices
 
Kenzan: Architecting for Microservices
Kenzan: Architecting for MicroservicesKenzan: Architecting for Microservices
Kenzan: Architecting for Microservices
 
USENIX LISA15: How TubeMogul Handles over One Trillion HTTP Requests a Month
USENIX LISA15: How TubeMogul Handles over One Trillion HTTP Requests a MonthUSENIX LISA15: How TubeMogul Handles over One Trillion HTTP Requests a Month
USENIX LISA15: How TubeMogul Handles over One Trillion HTTP Requests a Month
 
Cloud Computing
Cloud ComputingCloud Computing
Cloud Computing
 
Designing for operability and managability
Designing for operability and managabilityDesigning for operability and managability
Designing for operability and managability
 
Unit 1.2 move to cloud computing
Unit 1.2   move to cloud computingUnit 1.2   move to cloud computing
Unit 1.2 move to cloud computing
 
City & County of Denver's MuleSoft Journey
City & County of Denver's MuleSoft JourneyCity & County of Denver's MuleSoft Journey
City & County of Denver's MuleSoft Journey
 
Cloud computing
Cloud computingCloud computing
Cloud computing
 
Edge computing PPT slides and it's benifits and drawbacks
Edge computing PPT slides and it's benifits and drawbacksEdge computing PPT slides and it's benifits and drawbacks
Edge computing PPT slides and it's benifits and drawbacks
 
Cloud computing
Cloud computingCloud computing
Cloud computing
 
NGINX Microservices Reference Architecture: What’s in Store for 2019 – EMEA
NGINX Microservices Reference Architecture: What’s in Store for 2019 – EMEANGINX Microservices Reference Architecture: What’s in Store for 2019 – EMEA
NGINX Microservices Reference Architecture: What’s in Store for 2019 – EMEA
 
Cloud Computing Basics
Cloud Computing BasicsCloud Computing Basics
Cloud Computing Basics
 
Caching for Microservices Architectures: Session I
Caching for Microservices Architectures: Session ICaching for Microservices Architectures: Session I
Caching for Microservices Architectures: Session I
 
Cloud Computing Fundamental
Cloud Computing FundamentalCloud Computing Fundamental
Cloud Computing Fundamental
 
Kubernetes on the Edge / 在邊緣的K8S
Kubernetes on the Edge / 在邊緣的K8SKubernetes on the Edge / 在邊緣的K8S
Kubernetes on the Edge / 在邊緣的K8S
 
Cloud ppt
Cloud pptCloud ppt
Cloud ppt
 
High-Speed Reactive Microservices
High-Speed Reactive MicroservicesHigh-Speed Reactive Microservices
High-Speed Reactive Microservices
 
Automating using Ansible
Automating using AnsibleAutomating using Ansible
Automating using Ansible
 

More from Damian T. Gordon

More from Damian T. Gordon (20)

Universal Design for Learning, Co-Designing with Students.
Universal Design for Learning, Co-Designing with Students.Universal Design for Learning, Co-Designing with Students.
Universal Design for Learning, Co-Designing with Students.
 
Introduction to Microservices
Introduction to MicroservicesIntroduction to Microservices
Introduction to Microservices
 
REST and RESTful Services
REST and RESTful ServicesREST and RESTful Services
REST and RESTful Services
 
Cloud Identity Management
Cloud Identity ManagementCloud Identity Management
Cloud Identity Management
 
Containers and Docker
Containers and DockerContainers and Docker
Containers and Docker
 
Introduction to Cloud Computing
Introduction to Cloud ComputingIntroduction to Cloud Computing
Introduction to Cloud Computing
 
Introduction to ChatGPT
Introduction to ChatGPTIntroduction to ChatGPT
Introduction to ChatGPT
 
How to Argue Logically
How to Argue LogicallyHow to Argue Logically
How to Argue Logically
 
Evaluating Teaching: SECTIONS
Evaluating Teaching: SECTIONSEvaluating Teaching: SECTIONS
Evaluating Teaching: SECTIONS
 
Evaluating Teaching: MERLOT
Evaluating Teaching: MERLOTEvaluating Teaching: MERLOT
Evaluating Teaching: MERLOT
 
Evaluating Teaching: Anstey and Watson Rubric
Evaluating Teaching: Anstey and Watson RubricEvaluating Teaching: Anstey and Watson Rubric
Evaluating Teaching: Anstey and Watson Rubric
 
Evaluating Teaching: LORI
Evaluating Teaching: LORIEvaluating Teaching: LORI
Evaluating Teaching: LORI
 
Designing Teaching: Pause Procedure
Designing Teaching: Pause ProcedureDesigning Teaching: Pause Procedure
Designing Teaching: Pause Procedure
 
Designing Teaching: ADDIE
Designing Teaching: ADDIEDesigning Teaching: ADDIE
Designing Teaching: ADDIE
 
Designing Teaching: ASSURE
Designing Teaching: ASSUREDesigning Teaching: ASSURE
Designing Teaching: ASSURE
 
Designing Teaching: Laurilliard's Learning Types
Designing Teaching: Laurilliard's Learning TypesDesigning Teaching: Laurilliard's Learning Types
Designing Teaching: Laurilliard's Learning Types
 
Designing Teaching: Gagne's Nine Events of Instruction
Designing Teaching: Gagne's Nine Events of InstructionDesigning Teaching: Gagne's Nine Events of Instruction
Designing Teaching: Gagne's Nine Events of Instruction
 
Designing Teaching: Elaboration Theory
Designing Teaching: Elaboration TheoryDesigning Teaching: Elaboration Theory
Designing Teaching: Elaboration Theory
 
Universally Designed Learning Spaces: Some Considerations
Universally Designed Learning Spaces: Some ConsiderationsUniversally Designed Learning Spaces: Some Considerations
Universally Designed Learning Spaces: Some Considerations
 
Universal Design for Learning
Universal Design for Learning Universal Design for Learning
Universal Design for Learning
 

Recently uploaded

Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
KarakKing
 

Recently uploaded (20)

Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptx
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Plant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptxPlant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptx
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)
 

Serverless Computing

  • 2. Stages of Cloud Adoption 1 Stage 1 “Try It Out” Stage 2 “The Cloud Way” Stage 3 “Serverless Computing”
  • 3. Cloud Adoption – Stage 1 – Try It Out ● First-generation adoption guided by ease-of- migration ● Operational concern to maintain continuity-of- service ● Largely like-for-like ● Testing the waters ● Desire for vendor-neutral 2
  • 4. Cloud Adoption – Stage 1 – Try It Out ● Service Adoption ○ Software-as-a-service outsourcing as direct substitution for self-hosted services ○ Infrastructure-as-a-service replacing on-premise like-for-like compute (virtual machines, databases, disks) ○ VPN links to support secure connectivity between enterprise intranet and cloud 3
  • 5. Cloud Adoption – Stage 2 – The Cloud Way ● Following strategic commitment to cloud ● Begins to embrace the “cloud way” ● Impact on system architecture evolution and development 4
  • 6. Cloud Adoption – Stage 2 – The Cloud Way ● Building for the cloud and distributed systems ○ Disaggregation of services (SOA) ○ Asynchronous design patterns ● Less concern with vendor-lock-in ● Service Adoption ○ Platform-as-a-service tooling ○ Bucket storage ○ Identity management 5
  • 7. Cloud Adoption – Stage 3 – Serverless Computing ● An umbrella term meaning computing services for which end-user does not need to explicitly manage the underlying supporting computing resources ● Obviously, there are servers! ● But they are transparent 6
  • 8. Cloud Adoption – Stage 3 – Serverless Computing ● Represents a natural evolution of cloud services abstraction ● Emphasis on building (higher-level blocks) rather than managing (eliminating cloud stack complexity) ● Greater infrastructure utilization and multi-tenancy density ● Synonyms and conflations: ○ Backend-as-a-service ○ Functions-as-a-service 7
  • 9. Evolution of Cloud ● Born of opportunity to monetise excess compute and storage capacity ● Closely mirrors expected customer adoption patterns ● Growth strategy: ○ Facilitate early easy wins (on-premise migration) ○ Build developer mindshare (focusing on technical benefits) ○ Low-friction adoption (tooling and migration services) ○ Rapid capacity growth to defend against new market entrants ○ Proprietary service build-out (e.g. AWS Aurora, serverless computing) ● Now challenging traditional system architecture thinking altogether 8
  • 10. Functions-as-a-Service ● On-demand execution of user-defined code fragments in response to some specified event(s) ○ HTTP API Request ○ File update on bucket storage ○ Message queue event ● Code executes in isolated, virtual environment to completion and then unloads ● Optional temporal caching (for efficient re-execution) ● Access to other cloud services (e.g. databases) ● Zero-infrastructure management, infinitely scalable 9
  • 11. 10
  • 12. The Good, the Bad, and the Interesting of Serverless
  • 14. Serverless: Benefits ● Lower relative operational cost ○ Fine-grained usage charges ○ You pay for what you use 13
  • 15. Serverless: Benefits ● Lower relative development cost ○ Focus effort only on direct value add (code and data) ○ No need to pay for servers, etc. 14
  • 16. Serverless: Benefits ● Automatic scaling (in and out) ○ Fine-grained elastic resizing proportional to usage 15
  • 17. Serverless: Benefits ● Lower operational complexity ○ Less to manage ○ Less policies ○ Less monitoring 16
  • 18. Serverless: Benefits ● Faster deployment ○ Less to deploy ○ Less to update in refresh cycles 17
  • 20. Serverless: Weaknesses ● Vendor control ○ Simplicity-of-delivery comes at the cost of fewer features and less flexibility ○ Homogenized one-size-fits-all 19
  • 21. Serverless: Weaknesses ● Vendor lock-in ○ No industry standards means vendor-led de facto standards ○ Likely impediment to porting to competitor platform 20
  • 22. Serverless: Weaknesses ● Loss of control over server implementation ○ Server details are transparent so apps cannot take advantage of any server-side bespoke tuning/configuration 21
  • 23. Serverless: Weaknesses ● Potential repetition of (code) logic ○ A particular concern of FaaS ○ Harder to organise code for maximum sharing across execution contexts 22
  • 24. Serverless: Weaknesses ● Multi-tenancy sharing ○ By definition, higher infrastructure utilization implies resource sharing ○ Harder to make guarantees about execution runtimes 23
  • 25. Serverless: Weaknesses ● No natural server-side statefulness ○ Execution contexts are ephemeral ○ App logic must explicitly manage state across invocations (e.g. Database) 24
  • 26. Serverless: Weaknesses ● Startup latency ○ The so-called “cold start” problem 25
  • 27. Serverless: Weaknesses ● Execution latency ○ Making new database connections for every execution 26
  • 28. Serverless: Weaknesses ● Testing ○ More difficult to test locally before deployment ○ Likely very different from ultimate target execution environment 27
  • 30. The Likely Future Ahead ● We can speculate on the impact of serverless but it is likely, in the near term, that the trend towards serverless will continue ● Suits vendors ○ Easier to offer, manage and support ○ Sticky ● Suits users ○ Easier to adopt, refresh and scale ○ Cost benefits ● But potentially represents a significant tip of control towards vendors 29