not just functions: 360 degree viewsignage.showprg.com/ghc19/e8e424fb-6584-49f0-bfb3-c5ff... ·...

24

Upload: others

Post on 26-Feb-2021

3 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Not Just Functions: 360 degree viewsignage.showprg.com/ghc19/e8e424fb-6584-49f0-bfb3-c5ff... · 2019. 10. 15. · Confidential –Oracle Internal/Restricted/Highly Restricted 8 IT
Page 2: Not Just Functions: 360 degree viewsignage.showprg.com/ghc19/e8e424fb-6584-49f0-bfb3-c5ff... · 2019. 10. 15. · Confidential –Oracle Internal/Restricted/Highly Restricted 8 IT

Not Just Functions: 360 degree view of Serverless and FaaS

#GHC19

Page 3: Not Just Functions: 360 degree viewsignage.showprg.com/ghc19/e8e424fb-6584-49f0-bfb3-c5ff... · 2019. 10. 15. · Confidential –Oracle Internal/Restricted/Highly Restricted 8 IT

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

Page 4: Not Just Functions: 360 degree viewsignage.showprg.com/ghc19/e8e424fb-6584-49f0-bfb3-c5ff... · 2019. 10. 15. · Confidential –Oracle Internal/Restricted/Highly Restricted 8 IT

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

Page 5: Not Just Functions: 360 degree viewsignage.showprg.com/ghc19/e8e424fb-6584-49f0-bfb3-c5ff... · 2019. 10. 15. · Confidential –Oracle Internal/Restricted/Highly Restricted 8 IT

Agenda

#GHC19

• Introduction

• Common Use-cases

• Sample Use-case

• Developer and Cloud Provider

• Major Challenge in Serverless

• Serverless @Oracle

• Challenges ahead

Page 6: Not Just Functions: 360 degree viewsignage.showprg.com/ghc19/e8e424fb-6584-49f0-bfb3-c5ff... · 2019. 10. 15. · Confidential –Oracle Internal/Restricted/Highly Restricted 8 IT

Introduction

#GHC19

Page 7: Not Just Functions: 360 degree viewsignage.showprg.com/ghc19/e8e424fb-6584-49f0-bfb3-c5ff... · 2019. 10. 15. · Confidential –Oracle Internal/Restricted/Highly Restricted 8 IT

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

Page 8: Not Just Functions: 360 degree viewsignage.showprg.com/ghc19/e8e424fb-6584-49f0-bfb3-c5ff... · 2019. 10. 15. · Confidential –Oracle Internal/Restricted/Highly Restricted 8 IT

#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

Page 9: Not Just Functions: 360 degree viewsignage.showprg.com/ghc19/e8e424fb-6584-49f0-bfb3-c5ff... · 2019. 10. 15. · Confidential –Oracle Internal/Restricted/Highly Restricted 8 IT

Usecases

#GHC19

Page 10: Not Just Functions: 360 degree viewsignage.showprg.com/ghc19/e8e424fb-6584-49f0-bfb3-c5ff... · 2019. 10. 15. · Confidential –Oracle Internal/Restricted/Highly Restricted 8 IT

COMMON USECASES

#GHC19

Web, Mobile, IoT Backends

Real-time File, Stream Processing

DevOps, Batch Processing

Glue Cloud Services Event-driven

Page 11: Not Just Functions: 360 degree viewsignage.showprg.com/ghc19/e8e424fb-6584-49f0-bfb3-c5ff... · 2019. 10. 15. · Confidential –Oracle Internal/Restricted/Highly Restricted 8 IT

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

Page 12: Not Just Functions: 360 degree viewsignage.showprg.com/ghc19/e8e424fb-6584-49f0-bfb3-c5ff... · 2019. 10. 15. · Confidential –Oracle Internal/Restricted/Highly Restricted 8 IT

Developer and

Cloud Provider

#GHC19

Page 13: Not Just Functions: 360 degree viewsignage.showprg.com/ghc19/e8e424fb-6584-49f0-bfb3-c5ff... · 2019. 10. 15. · Confidential –Oracle Internal/Restricted/Highly Restricted 8 IT

#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 ???

Page 14: Not Just Functions: 360 degree viewsignage.showprg.com/ghc19/e8e424fb-6584-49f0-bfb3-c5ff... · 2019. 10. 15. · Confidential –Oracle Internal/Restricted/Highly Restricted 8 IT

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

Page 15: Not Just Functions: 360 degree viewsignage.showprg.com/ghc19/e8e424fb-6584-49f0-bfb3-c5ff... · 2019. 10. 15. · Confidential –Oracle Internal/Restricted/Highly Restricted 8 IT

Serverless

Challenges

#GHC19

Page 16: Not Just Functions: 360 degree viewsignage.showprg.com/ghc19/e8e424fb-6584-49f0-bfb3-c5ff... · 2019. 10. 15. · Confidential –Oracle Internal/Restricted/Highly Restricted 8 IT

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

Page 17: Not Just Functions: 360 degree viewsignage.showprg.com/ghc19/e8e424fb-6584-49f0-bfb3-c5ff... · 2019. 10. 15. · Confidential –Oracle Internal/Restricted/Highly Restricted 8 IT

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

. . .

Page 18: Not Just Functions: 360 degree viewsignage.showprg.com/ghc19/e8e424fb-6584-49f0-bfb3-c5ff... · 2019. 10. 15. · Confidential –Oracle Internal/Restricted/Highly Restricted 8 IT

Serverless @Oracle

#GHC19

Page 19: Not Just Functions: 360 degree viewsignage.showprg.com/ghc19/e8e424fb-6584-49f0-bfb3-c5ff... · 2019. 10. 15. · Confidential –Oracle Internal/Restricted/Highly Restricted 8 IT

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

Page 20: Not Just Functions: 360 degree viewsignage.showprg.com/ghc19/e8e424fb-6584-49f0-bfb3-c5ff... · 2019. 10. 15. · Confidential –Oracle Internal/Restricted/Highly Restricted 8 IT

Oracle Functions - Usecases

• Glue for Oracle SaaS, PaaS and IaaS services

#GHC19

Page 21: Not Just Functions: 360 degree viewsignage.showprg.com/ghc19/e8e424fb-6584-49f0-bfb3-c5ff... · 2019. 10. 15. · Confidential –Oracle Internal/Restricted/Highly Restricted 8 IT

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

Page 22: Not Just Functions: 360 degree viewsignage.showprg.com/ghc19/e8e424fb-6584-49f0-bfb3-c5ff... · 2019. 10. 15. · Confidential –Oracle Internal/Restricted/Highly Restricted 8 IT

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

Page 23: Not Just Functions: 360 degree viewsignage.showprg.com/ghc19/e8e424fb-6584-49f0-bfb3-c5ff... · 2019. 10. 15. · Confidential –Oracle Internal/Restricted/Highly Restricted 8 IT

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.

Page 24: Not Just Functions: 360 degree viewsignage.showprg.com/ghc19/e8e424fb-6584-49f0-bfb3-c5ff... · 2019. 10. 15. · Confidential –Oracle Internal/Restricted/Highly Restricted 8 IT

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

Functions, Oracle F, OpenSource Fn

#GHC19