Not Just Functions: 360 degree viewsignage.showprg.com/ghc19/e8e424fb-6584-49f0-bfb3-c5ff... ·...

Preview:

Citation preview

Not Just Functions: 360 degree view of Serverless and FaaS

#GHC19

About Me

#GHC19

• Identity Cloud Services Architect at Oracle Corporation.

• Over 2 decades of experience in the computing Industry

• Has been awarded 4 patents and 2 more patents pending

• Ph. D from Indian Institute of Technology, Madras,

Vasuki Ashok

About Umit

#GHC19

• Visiting Professor , Computer Science Dept, Occidental College

• Over 2 decades of experience in the computing Industry

• Ph. D from Case Western Reserve University

Ümit Yalçinalp

Agenda

#GHC19

• Introduction

• Common Use-cases

• Sample Use-case

• Developer and Cloud Provider

• Major Challenge in Serverless

• Serverless @Oracle

• Challenges ahead

Introduction

#GHC19

Paradigm Shift in Computing

#GHC19

Focus on Business Logic

Stac

kA

bst

ract

ion

SERVER BASED

IN DATA CENTERIN THE CLOUD

PHYSICAL SERVERSVIRTUAL

MACHINES

APPLICATIONS

FUNCTIONS

•Physical machines•Deploy in Months•Live for years

•Virtual Machines•Deploy in Weeks•Live for

weeks/months

•Containerized apps •Deploy in seconds•Live for hours or days

•Serverless•Deploy in milliseconds•Live for minutes/Hours

#GHC19Confidential – Oracle Internal/Restricted/Highly Restricted

8

WH

AT

IT IS

WH

AT IT ISN

’TApplication Architecture style that allows focusing on business logic

No management of Server hosts or server processes.

Cloud provider managed auto scaling and auto provisioning

Drives Usage based billing

Configuration driven SLA.

Implicit High Availability Support

NOT PaaS that can integrate with other services

Start time NOT > 20 milliseconds and execution time NOT > 10 mins

NOT Containers with autoscaling. Event Driven only

Usecases

#GHC19

COMMON USECASES

#GHC19

Web, Mobile, IoT Backends

Real-time File, Stream Processing

DevOps, Batch Processing

Glue Cloud Services Event-driven

SAMPLE USECASE – ANALYTICS REPORT FROM MOBILE

. . . . . . . . . . . . . . . Event request

Request processing function Events

AnalyticsReportGen Fn

Reports

Report GenerationRequest

Glue Cloud Services – Event Driven Functions

#GHC19

User name, Operation

User Context, Report Context

Developer and

Cloud Provider

#GHC19

#GHC19

COMPLIMENTS

CHALLENGES

No Framework & Library constraints

No administrativeResponsibility

related to availability

No resource constraints for

scaling the service

Faster development because the

functions are small

DEVELOPER’S VIEW

Latency

Runtime LimitState mgmt.And Logging

Lack of End-to-end perspective

Security ???

CLOUD PROVIDER CHALLENGES

#GHC19DEV

ELO

PER

TO

OLS

Troubleshoot

Cold Start

Deploy

Develop

RESO

UR

CE M

ON

ITOR

ING

& M

GM

T

IDE Support

Routing

Dependencies

Authentication

ProgrammingLanguages

OperatingSystems

$$$Financial Viability

Serverless

Challenges

#GHC19

COLD START

. . .

WARM START

What is coldstart? Time taken to instantiate the code on a platform

Specialize the server . . . Function

runtime reset . . . Functions ready in memory

. . . Running code

COLD START – in Server

. . . . . . . . . . . . Running code

#GHC19

Cold Start– Sample Usecase

. . . . . . . . . . . . Request Event

Request Processing Function Events

Report GenerationFunction

Reports

Report GenerationRequest

#GHC19

• Identify the server node• Initialize with context info• Reset the memory• Load the ReqProcFn• Start processing messages

• Identify the server node• Initialize db connection• Reset the memory• Load the RepGenFn• Start processing messages

. . .

Serverless @Oracle

#GHC19

Oracle Functions

AutonomousPlatform auto-scales functions

No servers to provision, manage

Pay Per UsePay for execution, not for idle time

No Lock-inBuilt on open-source FnProject and Docker

Oracle Functions

Functions-as-a-Service

Oracle Cloud Integrated

Container Native

Multi-tenant

Secure

Open Source Engine

Generally Available

#GHC19

Oracle Functions - Usecases

• Glue for Oracle SaaS, PaaS and IaaS services

#GHC19

HOW DOES IT WORK?

Push Functions container to

registry

Configure function trigger

Code runs only when triggered

Pay for code execution time

only

21

#GHC19

SUMMARY

#GHC19

• Introduction

• Common Use-cases

• Sample Use-case

• Developer and Cloud Provider

• Major Challenge in Serverless

• Serverless @Oracle

SourcesIcons: mainframe by Deemak Daksina from the Noun Project

THANK YOUhttps://www.oxy.edu/sites/default/files/assets/

Computer_Science/faas.pdf

YOU CAN FOLLOW US @

https://www.linkedin.com/in/Vasuki.ashokhttps://www.linkedin.com/in/Umit.Yalcinalp

#GHC19

Please remember to complete the session survey in the mobile

app.

CHALLENGES AHEAD• Competitors and Opensource AWS Lambda, Azure Functions, Google Cloud

Functions, Oracle F, OpenSource Fn

#GHC19

Recommended