SlideShare a Scribd company logo
Serverless
( … ) Serverless
Serverless?
Not having to think about servers
Serverless is
• BaaS (Backend as a Service)
• FaaS (Function as a Service)
Serverless
Serverless was 1st used to describe
applications that significantly or fully depend
on 3rd party applications / services (‘in the
cloud’) to manage server-side logic and state.
BaaS
BaaS
• Analytics
• Cloud Messaging
• Authentication
• Realtime Database
• Cloud Storage
• Notification
BaaS : Firebase
AWS Mobile
Serverless can also mean applications where
some amount of server-side logic is still
written by the application developer
but unlike traditional architectures is run in
stateless compute containers that are event-
triggered, ephemeral(may only last for one
invocation), and fully managed by a 3rd party.
FaaS
running back end code without managing
your own server systems or your own server
applications.
FaaS
FaaS
BaaS & FaaS
BaaS & FaaS
Cloud evolution
What’s different?
Applications / Services
A lightweight, event-based, asynchronous compute
solution that allows you to create small, single-
purpose functions that respond to cloud events
without the need to manage a server or a runtime
environment.
Infrastructure
• Fully-managed by vendor
• Without managing server system / applications
• Functions
• AWS Lambda: JS, Python, JVM lang, C#
• Deploy
• BYOC: bring your own code. ZIP or code in console
• Scaling
• Request based automatically
• Trigger by events
• Defined by vendors: eg AWS S3, CloudWatch,
Message Queue
• Http/s requests: eg. API Gateway, Webtask
Traffic pattern
Architecture
• Stateless Function
• API gateway
• Event-driven Architecture
Stateless functions : 1st version
Stateless functions : 1st version
All 3 operations are scaled based on the overall load
across them, and state is transferred in-memory,
creating complication around caching and/or routing
sessions to instances in order to maintain state.
Stateless functions : 2nd version
Stateless functions : 2nd version
Each function scales individually and as-needed.
All state is in DynamoDB so there is no cluster
coordination of any sort, at the cost of a small
increase in latency.
Stateless functions
• Processes are stateless and share-nothing
• Any data that needs to persist must be stored
in a stateful backing service, typically a DB.
Stateless functions - Benefits
• Reduce operational costs
• Infrastructure cost: without pay as it is idle
• People cost: focus on function development
• Reduce development cost
• BaaS: eg. Firebase, Auth0
• Spend development time on business-specific
code
• Maximize iterations
• Minimize dependences: IT Ops, DBAs
• Easier Operational management
• Scaling benefits of FaaS
• Reduced packaging complexity
API Gateway
• HTTP server where routes / endpoints are
defined in configuration and each route is
associated with a FaaS function.
• perform authentication, input validation,
response code mapping, etc.
API Gateway
• Encapsulates the internal structure of the
application.
• Reduces the number of round trips between
the client and application.
• Simplifies the client
Event Driven Architecture
• Scale: it enables the implementation of
transactions that span multiple services and
provide eventual consistency.
• Materialized view: It enables an application to
maintain a data store that contains the result of
a query. It may be a join result or a summary
using an aggregate function.
CQRS
Command Query Responsibility Segregation
1. fabric
• 인프라 리소스가 환경에 따라 빠르게 동적으로 구성, 혹은 재배
치될 수 있도록 최적화된 서버, 네트워크, 스토리지의 묶음.
• RTI(Real-Time Infrastruncture)
• 개발자가 운영 신경 쓰지 않고 개발 코딩 자체에 집중.
2. framework
• 이벤트 기반 프로그래밍 모델에 기반한 코드 생성.
• 대량 입출력 애플리케이션(ex : IoT)에 적합
• 작성된 코드의 인과를 관리.
3. function layer
• 애플리케이션 조합/빌드를 위한 패키지, 패턴, 참조 아키텍처
제공.
• 원하는 출력을 얻기 위한 로직과 인텔리전스가 있는 곳.
Serverless Architecture
AWS Lambda 예
Cloud 비교(1)
Category AWS Lambda Azure Functions Google Cloud Functions
Version Production ready Preview - Beta Closed Alpha
Support Lang Nodejs, Python, Java, C# Nodejs, Python, PHP, F#, C# Javascript
Dependency
Management
Compile all external packages
and zip the source code
Using
package.json – node.js
project.json – F#, C#
Using package.json
Event Source S3, DynamoDB
Kinesis
Streams
SNS, SES
Cognito
Cloud Formation
Cloud Watch
Code Commit
Scheduled Events
Config
Echo
Alexa
API Gateway
Bindings/Triggers
Scheduler
Http(webhook)
Azure Storage
Events Hubs
Queues, Tables
DocumentDB(No-sql)
Notification Hub
Twilio
HTTP functions :
Http Triggers
Webhooks (drive, gmail, calend
ar)
Background functions :
Cloud Pub/Sub, Cloud Storage
Pub/Sub :
Cloud Logging
Gmail, Twilio
Architecture On top of Linux
Memory allocated per function
On top of Windows
Memory allocated per app service
Not Specified
Cloud 비교(2)
Category AWS Lambda Azure Functions Google Cloud Functions
Persistent Storage No persistent storage
Completely Stateless
Env variables can be set
in App services which can be
used in functions.
Not Specified
HTTP Endpoint API Gateway HTTP Webhooks HTTP Trigger
Maximum Execution
Time per request
300 seconds 300 sec max runtime per func
tion invocation
No limit
Deployment Zip upload to Lambda/s3, Server
less Framework
Git, dropbox, visual studio,
One drive, Kudu Console
Zip upload, Cloud Storage,
Cloud Source repositories,
Git
Maximum no. of
Functions
No limit Not Specified 20 functions per project
Concurrent executions 100 parallel executions
per account per region
but users can increase it
No limit No limit
Pricing Request Charges :
$0.20 / 1M requests
Compute Charges :
$0.00001667 / GB-s
Request Charges :
$0.20 / 1M requests
Compute Charges :
$0. 000008 / GB-s
Unknown until Open beta
Concurrent Executions 100 parallel Executions,
but Can be increased
10 instances which is several
100 executions
Not Specified
Reference
• Serverless: The next step in cloud computing’s evolution
• http://netformation.com/your-it-reality/serverless-the-next-step-
in-cloud-computings-evolution
• (번역) 서버리스 아키텍처
• http://blog.aliencube.org/ko/2016/06/23/serverless-
architectures/
• Serverless by Young Yang (Slideshare)
• https://www.slideshare.net/young.yang/serverless-
73008636Reduced packaging complexity
• 기타 볼만한 …
• Technical Introduction to AWS Lambda - Serverless
Compute on AWS
• https://www.youtube.com/watch?v=QzipnZzAQEk
• 개발자들이 말하는 AWS 기반 ‘서버 없는 아키텍처’
• https://aws.amazon.com/ko/blogs/korea/serverless-
architecture-by-korean-developers/

More Related Content

PPTX
Rpc framework
PDF
Building Language Agnostic APIs with gRPC - JavaDay Istanbul 2017
PDF
Inter-Process Communication in Microservices using gRPC
PDF
Building Microservices with gRPC and NATS
PDF
Multi-Tenancy Kafka cluster for LINE services with 250 billion daily messages
PPT
.Net framework
PDF
KFServing and Kubeflow Pipelines
PDF
Flink Forward San Francisco 2019: Elastic Data Processing with Apache Flink a...
Rpc framework
Building Language Agnostic APIs with gRPC - JavaDay Istanbul 2017
Inter-Process Communication in Microservices using gRPC
Building Microservices with gRPC and NATS
Multi-Tenancy Kafka cluster for LINE services with 250 billion daily messages
.Net framework
KFServing and Kubeflow Pipelines
Flink Forward San Francisco 2019: Elastic Data Processing with Apache Flink a...

What's hot (20)

PPTX
Modern Distributed Messaging and RPC
PDF
Shedding Light on LINE Token Economy You Won't Find in Our White Paper
PDF
OpenAPI and gRPC Side by-Side
PPTX
Spark Summit - Mobius C# Binding for Apache Spark
PDF
Flink Forward San Francisco 2019: Apache Beam portability in the times of rea...
PDF
Gwt cdi jaxrs_hbraun
PDF
Kubeflow Pipelines (with Tekton)
PPT
.Net Introduction
PDF
ESB integration for node.js
PPTX
How fluentd fits into the modern software landscape
PDF
Kubeflow Control Plane 中文
PDF
Machine Learning Exchange (MLX)
PPTX
Distributed Kafka Architecture Taboola Scale
PDF
KFServing and Feast
PDF
Putting Kafka Together with the Best of Google Cloud Platform
PDF
Infrastructure as Code with Terraform and Ansible
PDF
Swarms: introduction
PDF
Serverless Boston @ Oracle Meetup
PDF
The Fn Project by Jesse Butler
PPTX
Seattle Spark Meetup Mobius CSharp API
Modern Distributed Messaging and RPC
Shedding Light on LINE Token Economy You Won't Find in Our White Paper
OpenAPI and gRPC Side by-Side
Spark Summit - Mobius C# Binding for Apache Spark
Flink Forward San Francisco 2019: Apache Beam portability in the times of rea...
Gwt cdi jaxrs_hbraun
Kubeflow Pipelines (with Tekton)
.Net Introduction
ESB integration for node.js
How fluentd fits into the modern software landscape
Kubeflow Control Plane 中文
Machine Learning Exchange (MLX)
Distributed Kafka Architecture Taboola Scale
KFServing and Feast
Putting Kafka Together with the Best of Google Cloud Platform
Infrastructure as Code with Terraform and Ansible
Swarms: introduction
Serverless Boston @ Oracle Meetup
The Fn Project by Jesse Butler
Seattle Spark Meetup Mobius CSharp API
Ad

Viewers also liked (20)

PDF
Serverless - Lunch&Learn CleverToday - Mars 2017
PDF
DevOps Days Tel Aviv - Serverless Architecture
PPTX
ISCA final presentation - Runtime
PDF
Nokia Web-Runtime Presentation (Phong Vu)
PDF
There is No Server: Immutable Infrastructure and Serverless Architecture
PPTX
Intel and Amazon - Powering your innovation together.
PPTX
Microsoft Really Loves Linux – a Virtual Love Story
PDF
Valgrind overview: runtime memory checker and a bit more aka использование #v...
PDF
OpenContrail, Real Speed: Offloading vRouter
PDF
Using GPUs to Achieve Massive Parallelism in Java 8
PDF
Markus Tessmann, InnoGames
PPTX
Java garbage collection & GC friendly coding
PDF
Cilium - BPF & XDP for containers
PDF
20170329 container technight-第一回勉強会
PDF
Serverless Application - Who the heck needs a Server?
PDF
Cilium - Container Networking with BPF & XDP
PDF
データベース屋がHyperledger Fabricを検証してみた
PDF
Accelerating Hadoop, Spark, and Memcached with HPC Technologies
PPTX
Random forest の解説
PPTX
【STAC2017】テスト自動化システム 成長記
Serverless - Lunch&Learn CleverToday - Mars 2017
DevOps Days Tel Aviv - Serverless Architecture
ISCA final presentation - Runtime
Nokia Web-Runtime Presentation (Phong Vu)
There is No Server: Immutable Infrastructure and Serverless Architecture
Intel and Amazon - Powering your innovation together.
Microsoft Really Loves Linux – a Virtual Love Story
Valgrind overview: runtime memory checker and a bit more aka использование #v...
OpenContrail, Real Speed: Offloading vRouter
Using GPUs to Achieve Massive Parallelism in Java 8
Markus Tessmann, InnoGames
Java garbage collection & GC friendly coding
Cilium - BPF & XDP for containers
20170329 container technight-第一回勉強会
Serverless Application - Who the heck needs a Server?
Cilium - Container Networking with BPF & XDP
データベース屋がHyperledger Fabricを検証してみた
Accelerating Hadoop, Spark, and Memcached with HPC Technologies
Random forest の解説
【STAC2017】テスト自動化システム 成長記
Ad

Similar to Serverless Architecture (20)

PPTX
What is Serverless Computing?
PPTX
Serverless Architecture - introduction + AWS demo
PDF
Serverless: A love hate relationship
PPTX
Serverless at Lifestage
PPTX
Rubix - Serverless architecture
PPTX
Serverless Architectures
PDF
Serverless Node.js
PDF
Skillenza Build with Serverless Challenge - Advanced Serverless Concepts
PDF
Microservices Manchester: Serverless Architectures By Rafal Gancarz
PDF
Jumpstart your idea with AWS Serverless [Oct 2020]
PPTX
Building Cross-Cloud Platform Cognitive Microservices Using Serverless Archit...
PPTX
Building Serverless Microservices Using Serverless Framework on the Cloud
PDF
Serverless Streaming Architectures and Algorithms for the Enterprise
PDF
Google Cloud Functions & Firebase Crash Course
PDF
Serverless - The Future of the Cloud?!
PDF
«Что такое serverless-архитектура и как с ней жить?» Николай Марков, Aligned ...
PDF
2022 Presentation | Serverless Innovation with AWS
PPTX
Itera Dev Meetup - Function as a Service - Serverless architecture
PDF
Microservices and Serverless for Mega Startups - DevOps IL Meetup
PDF
Why Serverless?
What is Serverless Computing?
Serverless Architecture - introduction + AWS demo
Serverless: A love hate relationship
Serverless at Lifestage
Rubix - Serverless architecture
Serverless Architectures
Serverless Node.js
Skillenza Build with Serverless Challenge - Advanced Serverless Concepts
Microservices Manchester: Serverless Architectures By Rafal Gancarz
Jumpstart your idea with AWS Serverless [Oct 2020]
Building Cross-Cloud Platform Cognitive Microservices Using Serverless Archit...
Building Serverless Microservices Using Serverless Framework on the Cloud
Serverless Streaming Architectures and Algorithms for the Enterprise
Google Cloud Functions & Firebase Crash Course
Serverless - The Future of the Cloud?!
«Что такое serverless-архитектура и как с ней жить?» Николай Марков, Aligned ...
2022 Presentation | Serverless Innovation with AWS
Itera Dev Meetup - Function as a Service - Serverless architecture
Microservices and Serverless for Mega Startups - DevOps IL Meetup
Why Serverless?

Recently uploaded (20)

PPTX
Odoo POS Development Services by CandidRoot Solutions
PPTX
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
PDF
top salesforce developer skills in 2025.pdf
PDF
System and Network Administraation Chapter 3
PDF
Odoo Companies in India – Driving Business Transformation.pdf
PPTX
ai tools demonstartion for schools and inter college
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
PPTX
history of c programming in notes for students .pptx
PDF
System and Network Administration Chapter 2
PDF
Navsoft: AI-Powered Business Solutions & Custom Software Development
PDF
Softaken Excel to vCard Converter Software.pdf
PPTX
CHAPTER 12 - CYBER SECURITY AND FUTURE SKILLS (1) (1).pptx
PPTX
L1 - Introduction to python Backend.pptx
PPTX
ManageIQ - Sprint 268 Review - Slide Deck
PPTX
ISO 45001 Occupational Health and Safety Management System
PDF
Design an Analysis of Algorithms II-SECS-1021-03
PPTX
Online Work Permit System for Fast Permit Processing
PPTX
VVF-Customer-Presentation2025-Ver1.9.pptx
PDF
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
PDF
How to Migrate SBCGlobal Email to Yahoo Easily
Odoo POS Development Services by CandidRoot Solutions
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
top salesforce developer skills in 2025.pdf
System and Network Administraation Chapter 3
Odoo Companies in India – Driving Business Transformation.pdf
ai tools demonstartion for schools and inter college
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
history of c programming in notes for students .pptx
System and Network Administration Chapter 2
Navsoft: AI-Powered Business Solutions & Custom Software Development
Softaken Excel to vCard Converter Software.pdf
CHAPTER 12 - CYBER SECURITY AND FUTURE SKILLS (1) (1).pptx
L1 - Introduction to python Backend.pptx
ManageIQ - Sprint 268 Review - Slide Deck
ISO 45001 Occupational Health and Safety Management System
Design an Analysis of Algorithms II-SECS-1021-03
Online Work Permit System for Fast Permit Processing
VVF-Customer-Presentation2025-Ver1.9.pptx
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
How to Migrate SBCGlobal Email to Yahoo Easily

Serverless Architecture

  • 2. ( … ) Serverless Serverless?
  • 3. Not having to think about servers Serverless is
  • 4. • BaaS (Backend as a Service) • FaaS (Function as a Service) Serverless
  • 5. Serverless was 1st used to describe applications that significantly or fully depend on 3rd party applications / services (‘in the cloud’) to manage server-side logic and state. BaaS
  • 7. • Analytics • Cloud Messaging • Authentication • Realtime Database • Cloud Storage • Notification BaaS : Firebase
  • 9. Serverless can also mean applications where some amount of server-side logic is still written by the application developer but unlike traditional architectures is run in stateless compute containers that are event- triggered, ephemeral(may only last for one invocation), and fully managed by a 3rd party. FaaS
  • 10. running back end code without managing your own server systems or your own server applications. FaaS
  • 11. FaaS
  • 16. Applications / Services A lightweight, event-based, asynchronous compute solution that allows you to create small, single- purpose functions that respond to cloud events without the need to manage a server or a runtime environment.
  • 17. Infrastructure • Fully-managed by vendor • Without managing server system / applications • Functions • AWS Lambda: JS, Python, JVM lang, C# • Deploy • BYOC: bring your own code. ZIP or code in console • Scaling • Request based automatically • Trigger by events • Defined by vendors: eg AWS S3, CloudWatch, Message Queue • Http/s requests: eg. API Gateway, Webtask
  • 19. Architecture • Stateless Function • API gateway • Event-driven Architecture
  • 20. Stateless functions : 1st version
  • 21. Stateless functions : 1st version All 3 operations are scaled based on the overall load across them, and state is transferred in-memory, creating complication around caching and/or routing sessions to instances in order to maintain state.
  • 22. Stateless functions : 2nd version
  • 23. Stateless functions : 2nd version Each function scales individually and as-needed. All state is in DynamoDB so there is no cluster coordination of any sort, at the cost of a small increase in latency.
  • 24. Stateless functions • Processes are stateless and share-nothing • Any data that needs to persist must be stored in a stateful backing service, typically a DB.
  • 25. Stateless functions - Benefits • Reduce operational costs • Infrastructure cost: without pay as it is idle • People cost: focus on function development • Reduce development cost • BaaS: eg. Firebase, Auth0 • Spend development time on business-specific code • Maximize iterations • Minimize dependences: IT Ops, DBAs • Easier Operational management • Scaling benefits of FaaS • Reduced packaging complexity
  • 26. API Gateway • HTTP server where routes / endpoints are defined in configuration and each route is associated with a FaaS function. • perform authentication, input validation, response code mapping, etc.
  • 27. API Gateway • Encapsulates the internal structure of the application. • Reduces the number of round trips between the client and application. • Simplifies the client
  • 28. Event Driven Architecture • Scale: it enables the implementation of transactions that span multiple services and provide eventual consistency. • Materialized view: It enables an application to maintain a data store that contains the result of a query. It may be a join result or a summary using an aggregate function.
  • 30. 1. fabric • 인프라 리소스가 환경에 따라 빠르게 동적으로 구성, 혹은 재배 치될 수 있도록 최적화된 서버, 네트워크, 스토리지의 묶음. • RTI(Real-Time Infrastruncture) • 개발자가 운영 신경 쓰지 않고 개발 코딩 자체에 집중. 2. framework • 이벤트 기반 프로그래밍 모델에 기반한 코드 생성. • 대량 입출력 애플리케이션(ex : IoT)에 적합 • 작성된 코드의 인과를 관리. 3. function layer • 애플리케이션 조합/빌드를 위한 패키지, 패턴, 참조 아키텍처 제공. • 원하는 출력을 얻기 위한 로직과 인텔리전스가 있는 곳. Serverless Architecture
  • 32. Cloud 비교(1) Category AWS Lambda Azure Functions Google Cloud Functions Version Production ready Preview - Beta Closed Alpha Support Lang Nodejs, Python, Java, C# Nodejs, Python, PHP, F#, C# Javascript Dependency Management Compile all external packages and zip the source code Using package.json – node.js project.json – F#, C# Using package.json Event Source S3, DynamoDB Kinesis Streams SNS, SES Cognito Cloud Formation Cloud Watch Code Commit Scheduled Events Config Echo Alexa API Gateway Bindings/Triggers Scheduler Http(webhook) Azure Storage Events Hubs Queues, Tables DocumentDB(No-sql) Notification Hub Twilio HTTP functions : Http Triggers Webhooks (drive, gmail, calend ar) Background functions : Cloud Pub/Sub, Cloud Storage Pub/Sub : Cloud Logging Gmail, Twilio Architecture On top of Linux Memory allocated per function On top of Windows Memory allocated per app service Not Specified
  • 33. Cloud 비교(2) Category AWS Lambda Azure Functions Google Cloud Functions Persistent Storage No persistent storage Completely Stateless Env variables can be set in App services which can be used in functions. Not Specified HTTP Endpoint API Gateway HTTP Webhooks HTTP Trigger Maximum Execution Time per request 300 seconds 300 sec max runtime per func tion invocation No limit Deployment Zip upload to Lambda/s3, Server less Framework Git, dropbox, visual studio, One drive, Kudu Console Zip upload, Cloud Storage, Cloud Source repositories, Git Maximum no. of Functions No limit Not Specified 20 functions per project Concurrent executions 100 parallel executions per account per region but users can increase it No limit No limit Pricing Request Charges : $0.20 / 1M requests Compute Charges : $0.00001667 / GB-s Request Charges : $0.20 / 1M requests Compute Charges : $0. 000008 / GB-s Unknown until Open beta Concurrent Executions 100 parallel Executions, but Can be increased 10 instances which is several 100 executions Not Specified
  • 34. Reference • Serverless: The next step in cloud computing’s evolution • http://netformation.com/your-it-reality/serverless-the-next-step- in-cloud-computings-evolution • (번역) 서버리스 아키텍처 • http://blog.aliencube.org/ko/2016/06/23/serverless- architectures/ • Serverless by Young Yang (Slideshare) • https://www.slideshare.net/young.yang/serverless- 73008636Reduced packaging complexity • 기타 볼만한 … • Technical Introduction to AWS Lambda - Serverless Compute on AWS • https://www.youtube.com/watch?v=QzipnZzAQEk • 개발자들이 말하는 AWS 기반 ‘서버 없는 아키텍처’ • https://aws.amazon.com/ko/blogs/korea/serverless- architecture-by-korean-developers/