Presented By:
Piyush Rana
AVP Engineering
Serverless Architecture
Lack of etiquette and manners is a huge turn off.
KnolX Etiquettes
Punctuality
Join the session 5 minutes priorto
the session start time. We start on
time andconclude on time!
Feedback
Makesure to submita constructive
feedback for all sessions as it is
very helpful for the presenter.
Silent Mode
Keep yourmobiledevices in silent
mode, feel free to moveout of
session in case you need to attend
an urgent call.
Avoid Disturbance
Avoidunwantedchitchat during
the session.
Our Agenda
01
04:00 PM What is Serverless
02
04:10 AM Benefits
03
04:25 AM Problem & Solutions
04
04:35 PM The Future
05
04:45 PM Q&A
What is Serverless
No on-servers' components!!!
Infrastructure As A Service –
e.g Azure Files, Storage Accounts,
Compute Storage
PlatformAs a Service – e.g Azure SQL DB,
Amazon RDS, GCP Big Query
Software As a Service – Email, Trello,
Office 365
Iaas Vs Paas Vs Saas
Back-End As a Service - fully incorporate
third-party, cloud-hosted applications and
services, to manage server-side logic and
state.
Functions As a Service
logic written by a developer, and it run's in
stateless compute containers that are
event-triggered, or may only last for one
invocation, and fully managed by a third
party
Baas And Faas
The term “Serverless” is confusing as it
contains both -
server hardware and server processes
But
running somewhere and are taken care
by someone else other than the
organization building the serverless
application.
Serverless
Timeline
2012 2014 2015 2016 2017 2021
Talks, Blogs
https://readwrite.com/why-
the-future-of-software-and-
apps-is-serverless/
AWS Lambda
event-driven compute
service, Run code without
provisioning or managing
infrastructure.
API Gateways
A beautiful way to trigger
Lambda's via http Apis
Google Brings
Serverless
https://www.forbes.com/site
s/janakirammsv/2016/02/09/
google-brings-serverless-
computing-to-its-cloud-
platform/?sh=72cd3fe61186
9.02 Billions
Revenue
Serverless in itself is a big
market
Serverless
Talks,
Conference,
Microsoft
Examples
From Traditional or Microservice Architecture to Serverless Architecture
Client ( Browser) Backend Microservice
DB
Backend Server
Backend Microservice
Backend Microservice
Client ( Browser)
AUTH - A third party
Baas (auth0)
API Gateway
Function1
Function2
DB 2
e.g Baas – google
firebase
DB 1
Ad Server Ad Server
Message Broker
Backend Server
Consumer DB
Message Broker
DB
Backend
Consumer
Backend
Consumer
Backend
Consumer
Streaming or Message Driven
Application
A 3 tier Application
Key Points to Consider
Faas
Design
No language Barrier
Deploy
upload the code to provider
Optimize
Horizontal Scaling !! No worries
Monitor
Fully Manged Services
Model
No Server Management
Key Points to Consider
Faas functions
State - Less
a FaaS function that is
required to be persistent
needs to be externalized
outside of the FaaS
function instance.
Duration
Timeouts, eg For AWS
Lambda – 5 min
Start-Up Time
Cold Start or Hot Start
Open Source
Open source project
supporting Serverless Faas,
https://github.com/serverles
s/serverless
Claudia and Zappa.
And Apex
01 02 03 04
Benefits
Reduced
Operational +
Development Cost Scaling Cost
01
02 04
Easier Management
03
Healthier
Environment
05
Faster Deployments
Draw-Backs
Problem and their solutions
External Analysis
Internal Analysis
Dos
Debugging
Durations
Testing
Security Concerns
No server side protection, IAM
polices, vendor specifc security
measure
No In Server State
No In mem or cache
Multitenancy
problems
One Machine- Multi Tenants
Vendor control
Mass Vendors in the market
The Future
Where and How
Mitigating the
drawbacks
Globally distributed
architectures
Beyond "FaaSification"
Community
Testing
Thank You !
Get in touch with us:
https://www.knoldus.com/contact-us/
Info@knoldus.com

Serverless Architecture

  • 1.
    Presented By: Piyush Rana AVPEngineering Serverless Architecture
  • 2.
    Lack of etiquetteand manners is a huge turn off. KnolX Etiquettes Punctuality Join the session 5 minutes priorto the session start time. We start on time andconclude on time! Feedback Makesure to submita constructive feedback for all sessions as it is very helpful for the presenter. Silent Mode Keep yourmobiledevices in silent mode, feel free to moveout of session in case you need to attend an urgent call. Avoid Disturbance Avoidunwantedchitchat during the session.
  • 3.
    Our Agenda 01 04:00 PMWhat is Serverless 02 04:10 AM Benefits 03 04:25 AM Problem & Solutions 04 04:35 PM The Future 05 04:45 PM Q&A
  • 4.
    What is Serverless Noon-servers' components!!! Infrastructure As A Service – e.g Azure Files, Storage Accounts, Compute Storage PlatformAs a Service – e.g Azure SQL DB, Amazon RDS, GCP Big Query Software As a Service – Email, Trello, Office 365 Iaas Vs Paas Vs Saas Back-End As a Service - fully incorporate third-party, cloud-hosted applications and services, to manage server-side logic and state. Functions As a Service logic written by a developer, and it run's in stateless compute containers that are event-triggered, or may only last for one invocation, and fully managed by a third party Baas And Faas The term “Serverless” is confusing as it contains both - server hardware and server processes But running somewhere and are taken care by someone else other than the organization building the serverless application. Serverless
  • 5.
    Timeline 2012 2014 20152016 2017 2021 Talks, Blogs https://readwrite.com/why- the-future-of-software-and- apps-is-serverless/ AWS Lambda event-driven compute service, Run code without provisioning or managing infrastructure. API Gateways A beautiful way to trigger Lambda's via http Apis Google Brings Serverless https://www.forbes.com/site s/janakirammsv/2016/02/09/ google-brings-serverless- computing-to-its-cloud- platform/?sh=72cd3fe61186 9.02 Billions Revenue Serverless in itself is a big market Serverless Talks, Conference, Microsoft
  • 6.
    Examples From Traditional orMicroservice Architecture to Serverless Architecture Client ( Browser) Backend Microservice DB Backend Server Backend Microservice Backend Microservice Client ( Browser) AUTH - A third party Baas (auth0) API Gateway Function1 Function2 DB 2 e.g Baas – google firebase DB 1 Ad Server Ad Server Message Broker Backend Server Consumer DB Message Broker DB Backend Consumer Backend Consumer Backend Consumer Streaming or Message Driven Application A 3 tier Application
  • 7.
    Key Points toConsider Faas Design No language Barrier Deploy upload the code to provider Optimize Horizontal Scaling !! No worries Monitor Fully Manged Services Model No Server Management
  • 8.
    Key Points toConsider Faas functions State - Less a FaaS function that is required to be persistent needs to be externalized outside of the FaaS function instance. Duration Timeouts, eg For AWS Lambda – 5 min Start-Up Time Cold Start or Hot Start Open Source Open source project supporting Serverless Faas, https://github.com/serverles s/serverless Claudia and Zappa. And Apex 01 02 03 04
  • 9.
    Benefits Reduced Operational + Development CostScaling Cost 01 02 04 Easier Management 03 Healthier Environment 05 Faster Deployments
  • 10.
    Draw-Backs Problem and theirsolutions External Analysis Internal Analysis Dos Debugging Durations Testing Security Concerns No server side protection, IAM polices, vendor specifc security measure No In Server State No In mem or cache Multitenancy problems One Machine- Multi Tenants Vendor control Mass Vendors in the market
  • 11.
    The Future Where andHow Mitigating the drawbacks Globally distributed architectures Beyond "FaaSification" Community Testing
  • 12.
    Thank You ! Getin touch with us: https://www.knoldus.com/contact-us/ Info@knoldus.com