SlideShare uma empresa Scribd logo
1 de 87
1
LOW LATENCY DATA
PROCESSING IN THE ERA OF
SERVERLESS
Nazarii Cherkas | Hazelcast
nazarii@hazelcast.com
https://twitter.com/n_cherkas
2
Brief Agenda
3
Brief Agenda
• Serverless - Not Just The Lambda Functions?
• What do we call Serverless?
• Why industry goes Serverless
4
Brief Agenda
• Serverless - Not Just The Lambda Functions?
• What do we call Serverless?
• Why industry goes Serverless
• Low-Latency Data Processing in Serverless – Any Chance?
• Typical scenarios of Low-Latency Processing
• What brings the latency in Serverless
• Approaches to optimize Serverless Computing
5
Brief Agenda
• Serverless - Not Just The Lambda Functions?
• What do we call Serverless?
• Why industry goes Serverless
• Low-Latency Data Processing in Serverless – Any Chance?
• Typical scenarios of Low-Latency Processing
• What brings the latency in Serverless
• Approaches to optimize Serverless Computing
• Demo Time – The Serverless Fraud Detection
6
About me
7
About me
• 8 years of experience of on different
positions from Java Engineer to
Team Lead and Solutions Architect
8
About me
• 8 years of experience of on different
positions from Java Engineer to
Team Lead and Solutions Architect
• Cloud Developer at Hazelcast Inc.
9
About me
• 8 years of experience of on different
positions from Java Engineer to
Team Lead and Solutions Architect
• Cloud Developer at Hazelcast Inc.
• Moving you to the Cloud
10
Serverless - Not Just The Lambda
Functions
11
What do we call Serverless?
12
What do we call Serverless?
Next step in the Cloud Computing evolution
13
What do we call Serverless?
Next step in the Cloud Computing evolution
14
What do we call Serverless?
Next step in the Cloud Computing evolution
15
What do we call Serverless?
Next step in the Cloud Computing evolution
16
What do we call Serverless?
Next step in the Cloud Computing evolution
17
What do we call Serverless?
Significantly use cloud-managed services (BaaS) to manage server-
side logic and state
18
What do we call Serverless?
Significantly use cloud-managed services (BaaS) to manage server-
side logic and state
19
What do we call Serverless?
Significantly use cloud-managed services (BaaS) to manage server-
side logic and state
20
What do we call Serverless?
Significantly use cloud-managed services (BaaS) to manage server-
side logic and state
21
What do we call Serverless?
Significantly use cloud-managed services (BaaS) to manage server-
side logic and state
22
What do we call Serverless?
Run code in stateless compute containers (FaaS) that are event-
triggered and fully managed by Cloud Provider
23
What do we call Serverless?
Run code in stateless compute containers (FaaS) that are event-
triggered and fully managed by Cloud Provider
24
What do we call Serverless?
Run code in stateless compute containers (FaaS) that are event-
triggered and fully managed by Cloud Provider
25
What do we call Serverless?
Run code in stateless compute containers (FaaS) that are event-
triggered and fully managed by Cloud Provider
26
What do we call Serverless?
Run code in stateless compute containers (FaaS) that are event-
triggered and fully managed by Cloud Provider
27
What do we call Serverless?
Run code in stateless compute containers (FaaS) that are event-
triggered and fully managed by Cloud Provider
28
What do we call Serverless?
Allows to develop and run applications without thinking about the
underlying infrastructure*
29
Why industry goes Serverless?
30
Why industry goes Serverless?
• Lower costs
31
Why industry goes Serverless?
• Lower costs
• Cloud Native
32
Why industry goes Serverless?
• Lower costs
• Cloud Native
• Elastic Scalability
33
Why industry goes Serverless?
• Lower costs
• Cloud Native
• Elastic Scalability
• Significantly reduced time to market
34
Why industry goes Serverless?
• Lower costs
• Cloud Native
• Elastic Scalability
• Significantly reduced time to market
• Less complexity
35
Low-Latency Data Processing in
Serverless – Any chance?
36
Typical scenarios of Low-Latency Processing
37
Typical scenarios of Low-Latency Processing
• Algorithmic trading in Financial markets
38
Typical scenarios of Low-Latency Processing
• Algorithmic trading in Financial markets
• Real-time Bidding for Ads
39
Typical scenarios of Low-Latency Processing
• Algorithmic trading in Financial markets
• Real-time Bidding for Ads
• Fraud detection for the in-flight transactions
40
Typical scenarios of Low-Latency Processing
• Algorithmic trading in Financial markets
• Real-time Bidding for Ads
• Fraud detection for the in-flight transactions
• Personalized user experience in E-commerce
41
Typical scenarios of Low-Latency Processing
• Algorithmic trading in Financial markets
• Real-time Bidding for Ads
• Fraud detection for the in-flight transactions
• Personalized user experience in E-commerce
• Complex Event Processing
42
What brings the latency in Serverless
43
What brings the latency in Serverless
Lambda Function Lifecycle
44
What brings the latency in Serverless
Lambda Function Lifecycle
45
What brings the latency in Serverless
Lambda Function Lifecycle
46
What brings the latency in Serverless
Lambda Function Lifecycle
47
What brings the latency in Serverless
Lambda Function Lifecycle
48
What brings the latency in Serverless
Lambda Function Lifecycle
49
What brings the latency in Serverless
Lambda Function Lifecycle
50
What brings the latency in Serverless
Lambda Function Lifecycle
51
Approaches to optimize Serverless Computing
52
Approaches to optimize Serverless Computing
Making periodic requests to the Functions to keep them “Warm”
53
Approaches to optimize Serverless Computing
Making periodic requests to the Functions to keep them “Warm”
54
Approaches to optimize Serverless Computing
Pre-Allocating memory for CPU-bound tasks
55
Approaches to optimize Serverless Computing
Pre-Allocating memory for CPU-bound tasks
56
Approaches to optimize Serverless Computing
Using co-located services
57
Approaches to optimize Serverless Computing
Using co-located services
58
Approaches to optimize Serverless Computing
Using co-located services
59
Approaches to optimize Serverless Computing
Choosing external data store to cache “HOT” data
60
Approaches to optimize Serverless Computing
Choosing external data store to cache “HOT” data
61
Approaches to optimize Serverless Computing
Choosing external data store to cache “HOT” data
62
Approaches to optimize Serverless Computing
Choosing external data store to cache “HOT” data
63
Approaches to optimize Serverless Computing
Choosing external data store to cache “HOT” data
Read 1 MB sequentially
from disk
1 ms
Latency Numbers Every Programmer Should Know
https://people.eecs.berkeley.edu/~rcs/research/interactive_latency.html
64
Approaches to optimize Serverless Computing
Choosing external data store to cache “HOT” data
Read 1 MB sequentially
from disk
1 ms
Read 1 MB sequentially
from SSD
78 μs
Latency Numbers Every Programmer Should Know
https://people.eecs.berkeley.edu/~rcs/research/interactive_latency.html
65
Approaches to optimize Serverless Computing
Choosing external data store to cache “HOT” data
Read 1 MB sequentially
from disk
1 ms
Read 1 MB sequentially
from SSD
78 μs
Read 1 MB sequentially
from memory
5 μs
Latency Numbers Every Programmer Should Know
https://people.eecs.berkeley.edu/~rcs/research/interactive_latency.html
66
Approaches to optimize Serverless Computing
Choosing external data store to cache “HOT” data
67
Approaches to optimize Serverless Computing
Choosing external data store to cache “HOT” data
68
Approaches to optimize Serverless Computing
Choosing external data store to cache “HOT” data
69
Demo Time
The Serverless Fraud Detection
70
The Serverless Fraud Detection
The Fraud Detection Problem
71
The Serverless Fraud Detection
The Fraud Detection Problem
72
The Serverless Fraud Detection
The Fraud Detection Problem
73
The Serverless Fraud Detection
Serverless Solution Design
https://github.com/ncherkas/hazelcast-cloud-demo
74
The Serverless Fraud Detection
Why Hazelcast Cloud
75
The Serverless Fraud Detection
Why Hazelcast Cloud
• Managed Service for the Hazelcast IMDG – a full-featured In-
Memory Data Grid
76
The Serverless Fraud Detection
Why Hazelcast Cloud
• Managed Service for the Hazelcast IMDG – a full-featured In-
Memory Data Grid
• Co-located Hazelcast IMDG cluster can transform and ingest data
in microseconds (see https://hazelcast.com/resources-
type/?type=Benchmark)
77
The Serverless Fraud Detection
Why Hazelcast Cloud
• Managed Service for the Hazelcast IMDG – a full-featured In-
Memory Data Grid
• Co-located Hazelcast IMDG cluster can transform and ingest data
in microseconds (see https://hazelcast.com/resources-
type/?type=Benchmark)
• Comes with the Enterprise-grade Security
78
The Serverless Fraud Detection
Why Hazelcast Cloud
• Managed Service for the Hazelcast IMDG – a full-featured In-
Memory Data Grid
• Co-located Hazelcast IMDG cluster can transform and ingest data
in microseconds (see https://hazelcast.com/resources-
type/?type=Benchmark)
• Comes with the Enterprise-grade Security
• Simple to Deploy and Use
79
The Serverless Fraud Detection
Why Hazelcast Cloud
• Managed Service for the Hazelcast IMDG – a full-featured In-
Memory Data Grid
• Co-located Hazelcast IMDG cluster can transform and ingest data
in microseconds (see https://hazelcast.com/resources-
type/?type=Benchmark)
• Comes with the Enterprise-grade Security
• Simple to Deploy and Use
• AWS Lambda-ready
80
The Serverless Fraud Detection
DEMO
81
Summary
82
Summary
• Serverless is a perfect match when you want to move fast
83
Summary
• Serverless is a perfect match when you want to move fast
• You can do Low-Latency Processing in Serverless but be aware
of the common pitfalls
84
Summary
• Serverless is a perfect match when you want to move fast
• You can do Low-Latency Processing in Serverless but be aware
of the common pitfalls
• Think about latency and H/A when you choose the data storage
85
Summary
• Serverless is a perfect match when you want to move fast
• You can do Low-Latency Processing in Serverless but be aware
of the common pitfalls
• Think about latency and H/A when you choose the data storage
• In-Memory computing is a natural and logical choice when it
comes to the Low-Latency Processing
86
Summary
• Serverless is a perfect match when you want to move fast
• You can do Low-Latency Processing in Serverless but be aware
of the common pitfalls
• Think about latency and H/A when you choose the data storage
• In-Memory computing is a natural and logical choice when it
comes to the Low-Latency Processing
• KEEP CALM and apply for Beta at https://console.hazelcast.cloud
87
Questions?
https://jet.hazelcast.org/https://hazelcast.org/

Mais conteúdo relacionado

Mais procurados

ServerlessConf: Serverless for the Enterprise - Rafal Gancarz
ServerlessConf: Serverless for the Enterprise - Rafal GancarzServerlessConf: Serverless for the Enterprise - Rafal Gancarz
ServerlessConf: Serverless for the Enterprise - Rafal GancarzOpenCredo
 
(slides) Polyglot persistence: utilizing open source databases as a Swiss poc...
(slides) Polyglot persistence: utilizing open source databases as a Swiss poc...(slides) Polyglot persistence: utilizing open source databases as a Swiss poc...
(slides) Polyglot persistence: utilizing open source databases as a Swiss poc...Severalnines
 
How To Tell if Your Business Needs NoSQL
How To Tell if Your Business Needs NoSQLHow To Tell if Your Business Needs NoSQL
How To Tell if Your Business Needs NoSQLDataStax
 
kafka simplicity and complexity
kafka simplicity and complexitykafka simplicity and complexity
kafka simplicity and complexityPaolo Platter
 
8 cloud design patterns you ought to know - Update Conference 2018
8 cloud design patterns you ought to know - Update Conference 20188 cloud design patterns you ought to know - Update Conference 2018
8 cloud design patterns you ought to know - Update Conference 2018Taswar Bhatti
 
Battery Ventures: Simulating and Visualizing Large Scale Cassandra Deployments
Battery Ventures: Simulating and Visualizing Large Scale Cassandra DeploymentsBattery Ventures: Simulating and Visualizing Large Scale Cassandra Deployments
Battery Ventures: Simulating and Visualizing Large Scale Cassandra DeploymentsDataStax Academy
 
Cloud Design Patterns - Hong Kong Codeaholics
Cloud Design Patterns - Hong Kong CodeaholicsCloud Design Patterns - Hong Kong Codeaholics
Cloud Design Patterns - Hong Kong CodeaholicsTaswar Bhatti
 
APIs: Intelligent Routing, Security, & Management
APIs: Intelligent Routing, Security, & ManagementAPIs: Intelligent Routing, Security, & Management
APIs: Intelligent Routing, Security, & ManagementNGINX, Inc.
 
Webinar | Building Apps with the Cassandra Python Driver
Webinar | Building Apps with the Cassandra Python DriverWebinar | Building Apps with the Cassandra Python Driver
Webinar | Building Apps with the Cassandra Python DriverDataStax Academy
 
Software as a Service workshop / Unlocked: the Hybrid Cloud 12th May 2014
Software as a Service workshop / Unlocked: the Hybrid Cloud 12th May 2014Software as a Service workshop / Unlocked: the Hybrid Cloud 12th May 2014
Software as a Service workshop / Unlocked: the Hybrid Cloud 12th May 2014Rackspace Academy
 
Lessons From HPE: From Batch To Streaming For 20 Billion Sensors With Lightbe...
Lessons From HPE: From Batch To Streaming For 20 Billion Sensors With Lightbe...Lessons From HPE: From Batch To Streaming For 20 Billion Sensors With Lightbe...
Lessons From HPE: From Batch To Streaming For 20 Billion Sensors With Lightbe...Lightbend
 
Webinar Slides: Geo-Distributed MySQL Clustering Done Right!
Webinar Slides: Geo-Distributed MySQL Clustering Done Right!Webinar Slides: Geo-Distributed MySQL Clustering Done Right!
Webinar Slides: Geo-Distributed MySQL Clustering Done Right!Continuent
 
M|18 How Copart Switched to MariaDB and Reduced Costs During Growth
M|18 How Copart Switched to MariaDB and Reduced Costs During GrowthM|18 How Copart Switched to MariaDB and Reduced Costs During Growth
M|18 How Copart Switched to MariaDB and Reduced Costs During GrowthMariaDB plc
 
Building a Digital Bank
Building a Digital BankBuilding a Digital Bank
Building a Digital BankDataStax
 
How to build a winning solution for large scale VDI deployments
How to build a winning solution for large scale VDI deploymentsHow to build a winning solution for large scale VDI deployments
How to build a winning solution for large scale VDI deploymentsNetApp
 
Why Distributed Databases?
Why Distributed Databases?Why Distributed Databases?
Why Distributed Databases?Sargun Dhillon
 
Connecting Kafka Across Multiple AWS VPCs
Connecting Kafka Across Multiple AWS VPCs Connecting Kafka Across Multiple AWS VPCs
Connecting Kafka Across Multiple AWS VPCs confluent
 
[RightScale Webinar] Architecting Databases in the cloud: How RightScale Doe...
[RightScale Webinar] Architecting Databases in the cloud:  How RightScale Doe...[RightScale Webinar] Architecting Databases in the cloud:  How RightScale Doe...
[RightScale Webinar] Architecting Databases in the cloud: How RightScale Doe...RightScale
 
How We Fixed Our MongoDB Problems
How We Fixed Our MongoDB Problems How We Fixed Our MongoDB Problems
How We Fixed Our MongoDB Problems MongoDB
 

Mais procurados (20)

quasardb: right to data
quasardb: right to dataquasardb: right to data
quasardb: right to data
 
ServerlessConf: Serverless for the Enterprise - Rafal Gancarz
ServerlessConf: Serverless for the Enterprise - Rafal GancarzServerlessConf: Serverless for the Enterprise - Rafal Gancarz
ServerlessConf: Serverless for the Enterprise - Rafal Gancarz
 
(slides) Polyglot persistence: utilizing open source databases as a Swiss poc...
(slides) Polyglot persistence: utilizing open source databases as a Swiss poc...(slides) Polyglot persistence: utilizing open source databases as a Swiss poc...
(slides) Polyglot persistence: utilizing open source databases as a Swiss poc...
 
How To Tell if Your Business Needs NoSQL
How To Tell if Your Business Needs NoSQLHow To Tell if Your Business Needs NoSQL
How To Tell if Your Business Needs NoSQL
 
kafka simplicity and complexity
kafka simplicity and complexitykafka simplicity and complexity
kafka simplicity and complexity
 
8 cloud design patterns you ought to know - Update Conference 2018
8 cloud design patterns you ought to know - Update Conference 20188 cloud design patterns you ought to know - Update Conference 2018
8 cloud design patterns you ought to know - Update Conference 2018
 
Battery Ventures: Simulating and Visualizing Large Scale Cassandra Deployments
Battery Ventures: Simulating and Visualizing Large Scale Cassandra DeploymentsBattery Ventures: Simulating and Visualizing Large Scale Cassandra Deployments
Battery Ventures: Simulating and Visualizing Large Scale Cassandra Deployments
 
Cloud Design Patterns - Hong Kong Codeaholics
Cloud Design Patterns - Hong Kong CodeaholicsCloud Design Patterns - Hong Kong Codeaholics
Cloud Design Patterns - Hong Kong Codeaholics
 
APIs: Intelligent Routing, Security, & Management
APIs: Intelligent Routing, Security, & ManagementAPIs: Intelligent Routing, Security, & Management
APIs: Intelligent Routing, Security, & Management
 
Webinar | Building Apps with the Cassandra Python Driver
Webinar | Building Apps with the Cassandra Python DriverWebinar | Building Apps with the Cassandra Python Driver
Webinar | Building Apps with the Cassandra Python Driver
 
Software as a Service workshop / Unlocked: the Hybrid Cloud 12th May 2014
Software as a Service workshop / Unlocked: the Hybrid Cloud 12th May 2014Software as a Service workshop / Unlocked: the Hybrid Cloud 12th May 2014
Software as a Service workshop / Unlocked: the Hybrid Cloud 12th May 2014
 
Lessons From HPE: From Batch To Streaming For 20 Billion Sensors With Lightbe...
Lessons From HPE: From Batch To Streaming For 20 Billion Sensors With Lightbe...Lessons From HPE: From Batch To Streaming For 20 Billion Sensors With Lightbe...
Lessons From HPE: From Batch To Streaming For 20 Billion Sensors With Lightbe...
 
Webinar Slides: Geo-Distributed MySQL Clustering Done Right!
Webinar Slides: Geo-Distributed MySQL Clustering Done Right!Webinar Slides: Geo-Distributed MySQL Clustering Done Right!
Webinar Slides: Geo-Distributed MySQL Clustering Done Right!
 
M|18 How Copart Switched to MariaDB and Reduced Costs During Growth
M|18 How Copart Switched to MariaDB and Reduced Costs During GrowthM|18 How Copart Switched to MariaDB and Reduced Costs During Growth
M|18 How Copart Switched to MariaDB and Reduced Costs During Growth
 
Building a Digital Bank
Building a Digital BankBuilding a Digital Bank
Building a Digital Bank
 
How to build a winning solution for large scale VDI deployments
How to build a winning solution for large scale VDI deploymentsHow to build a winning solution for large scale VDI deployments
How to build a winning solution for large scale VDI deployments
 
Why Distributed Databases?
Why Distributed Databases?Why Distributed Databases?
Why Distributed Databases?
 
Connecting Kafka Across Multiple AWS VPCs
Connecting Kafka Across Multiple AWS VPCs Connecting Kafka Across Multiple AWS VPCs
Connecting Kafka Across Multiple AWS VPCs
 
[RightScale Webinar] Architecting Databases in the cloud: How RightScale Doe...
[RightScale Webinar] Architecting Databases in the cloud:  How RightScale Doe...[RightScale Webinar] Architecting Databases in the cloud:  How RightScale Doe...
[RightScale Webinar] Architecting Databases in the cloud: How RightScale Doe...
 
How We Fixed Our MongoDB Problems
How We Fixed Our MongoDB Problems How We Fixed Our MongoDB Problems
How We Fixed Our MongoDB Problems
 

Semelhante a Low-Latency Data Processing in the Era of Serverless @JavaDayLviv

Cignex mongodb-sharding-mongodbdays
Cignex mongodb-sharding-mongodbdaysCignex mongodb-sharding-mongodbdays
Cignex mongodb-sharding-mongodbdaysMongoDB APAC
 
VMworld 2015: Horizon View Storage - Let's Dive Deep!
VMworld 2015: Horizon View Storage - Let's Dive Deep!VMworld 2015: Horizon View Storage - Let's Dive Deep!
VMworld 2015: Horizon View Storage - Let's Dive Deep!VMworld
 
Cloud-native Data: Every Microservice Needs a Cache
Cloud-native Data: Every Microservice Needs a CacheCloud-native Data: Every Microservice Needs a Cache
Cloud-native Data: Every Microservice Needs a Cachecornelia davis
 
From Zero to Serverless
From Zero to ServerlessFrom Zero to Serverless
From Zero to ServerlessChad Green
 
From Zero to Serverless (CoderCruise 2018)
From Zero to Serverless (CoderCruise 2018)From Zero to Serverless (CoderCruise 2018)
From Zero to Serverless (CoderCruise 2018)Chad Green
 
Case Study: Realtime Analytics with Druid
Case Study: Realtime Analytics with DruidCase Study: Realtime Analytics with Druid
Case Study: Realtime Analytics with DruidSalil Kalia
 
Serverless Architecture
Serverless ArchitectureServerless Architecture
Serverless ArchitectureDirk Weibel
 
Updates to Apache CloudStack and LINBIT SDS
Updates to Apache CloudStack and LINBIT SDSUpdates to Apache CloudStack and LINBIT SDS
Updates to Apache CloudStack and LINBIT SDSShapeBlue
 
AWS FSI Symposium 2017 NYC - Moving at the Speed of Serverless ft Broadridge
AWS FSI Symposium 2017 NYC - Moving at the Speed of Serverless ft BroadridgeAWS FSI Symposium 2017 NYC - Moving at the Speed of Serverless ft Broadridge
AWS FSI Symposium 2017 NYC - Moving at the Speed of Serverless ft BroadridgeAmazon Web Services
 
ScaleDB Technical Presentation
ScaleDB Technical PresentationScaleDB Technical Presentation
ScaleDB Technical PresentationIvan Zoratti
 
Data flow in the data center
Data flow in the data centerData flow in the data center
Data flow in the data centerAdam Cataldo
 
MySQL Enterprise Edition Overview
MySQL Enterprise Edition OverviewMySQL Enterprise Edition Overview
MySQL Enterprise Edition OverviewMario Beck
 
MySQL Day Paris 2018 - MySQL InnoDB Cluster; A complete High Availability sol...
MySQL Day Paris 2018 - MySQL InnoDB Cluster; A complete High Availability sol...MySQL Day Paris 2018 - MySQL InnoDB Cluster; A complete High Availability sol...
MySQL Day Paris 2018 - MySQL InnoDB Cluster; A complete High Availability sol...Olivier DASINI
 
Understanding serverless architecture
Understanding serverless architectureUnderstanding serverless architecture
Understanding serverless architectureSeokchan Yoon
 
SAP SDM Hacking
SAP SDM HackingSAP SDM Hacking
SAP SDM HackingERPScan
 
MySQL Enterprise Monitor
MySQL Enterprise MonitorMySQL Enterprise Monitor
MySQL Enterprise MonitorMario Beck
 
High Performance Object Pascal Code on Servers (at EKON 22)
High Performance Object Pascal Code on Servers (at EKON 22)High Performance Object Pascal Code on Servers (at EKON 22)
High Performance Object Pascal Code on Servers (at EKON 22)Arnaud Bouchez
 
MySQL Enterprise Edition - Complete Guide (2019)
MySQL Enterprise Edition - Complete Guide (2019)MySQL Enterprise Edition - Complete Guide (2019)
MySQL Enterprise Edition - Complete Guide (2019)Keith Hollman
 

Semelhante a Low-Latency Data Processing in the Era of Serverless @JavaDayLviv (20)

Cignex mongodb-sharding-mongodbdays
Cignex mongodb-sharding-mongodbdaysCignex mongodb-sharding-mongodbdays
Cignex mongodb-sharding-mongodbdays
 
VMworld 2015: Horizon View Storage - Let's Dive Deep!
VMworld 2015: Horizon View Storage - Let's Dive Deep!VMworld 2015: Horizon View Storage - Let's Dive Deep!
VMworld 2015: Horizon View Storage - Let's Dive Deep!
 
Cloud-native Data: Every Microservice Needs a Cache
Cloud-native Data: Every Microservice Needs a CacheCloud-native Data: Every Microservice Needs a Cache
Cloud-native Data: Every Microservice Needs a Cache
 
From Zero to Serverless
From Zero to ServerlessFrom Zero to Serverless
From Zero to Serverless
 
From Zero to Serverless (CoderCruise 2018)
From Zero to Serverless (CoderCruise 2018)From Zero to Serverless (CoderCruise 2018)
From Zero to Serverless (CoderCruise 2018)
 
Case Study: Realtime Analytics with Druid
Case Study: Realtime Analytics with DruidCase Study: Realtime Analytics with Druid
Case Study: Realtime Analytics with Druid
 
Serverless Architecture
Serverless ArchitectureServerless Architecture
Serverless Architecture
 
Updates to Apache CloudStack and LINBIT SDS
Updates to Apache CloudStack and LINBIT SDSUpdates to Apache CloudStack and LINBIT SDS
Updates to Apache CloudStack and LINBIT SDS
 
AWS FSI Symposium 2017 NYC - Moving at the Speed of Serverless ft Broadridge
AWS FSI Symposium 2017 NYC - Moving at the Speed of Serverless ft BroadridgeAWS FSI Symposium 2017 NYC - Moving at the Speed of Serverless ft Broadridge
AWS FSI Symposium 2017 NYC - Moving at the Speed of Serverless ft Broadridge
 
ScaleDB Technical Presentation
ScaleDB Technical PresentationScaleDB Technical Presentation
ScaleDB Technical Presentation
 
Data flow in the data center
Data flow in the data centerData flow in the data center
Data flow in the data center
 
MySQL Enterprise Edition Overview
MySQL Enterprise Edition OverviewMySQL Enterprise Edition Overview
MySQL Enterprise Edition Overview
 
Microservices
MicroservicesMicroservices
Microservices
 
MySQL Day Paris 2018 - MySQL InnoDB Cluster; A complete High Availability sol...
MySQL Day Paris 2018 - MySQL InnoDB Cluster; A complete High Availability sol...MySQL Day Paris 2018 - MySQL InnoDB Cluster; A complete High Availability sol...
MySQL Day Paris 2018 - MySQL InnoDB Cluster; A complete High Availability sol...
 
MySQL@king
MySQL@kingMySQL@king
MySQL@king
 
Understanding serverless architecture
Understanding serverless architectureUnderstanding serverless architecture
Understanding serverless architecture
 
SAP SDM Hacking
SAP SDM HackingSAP SDM Hacking
SAP SDM Hacking
 
MySQL Enterprise Monitor
MySQL Enterprise MonitorMySQL Enterprise Monitor
MySQL Enterprise Monitor
 
High Performance Object Pascal Code on Servers (at EKON 22)
High Performance Object Pascal Code on Servers (at EKON 22)High Performance Object Pascal Code on Servers (at EKON 22)
High Performance Object Pascal Code on Servers (at EKON 22)
 
MySQL Enterprise Edition - Complete Guide (2019)
MySQL Enterprise Edition - Complete Guide (2019)MySQL Enterprise Edition - Complete Guide (2019)
MySQL Enterprise Edition - Complete Guide (2019)
 

Último

%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in soweto%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in sowetomasabamasaba
 
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024VictoriaMetrics
 
Architecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastArchitecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastPapp Krisztián
 
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...Shane Coughlan
 
WSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go PlatformlessWSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go PlatformlessWSO2
 
WSO2CON 2024 Slides - Open Source to SaaS
WSO2CON 2024 Slides - Open Source to SaaSWSO2CON 2024 Slides - Open Source to SaaS
WSO2CON 2024 Slides - Open Source to SaaSWSO2
 
WSO2Con204 - Hard Rock Presentation - Keynote
WSO2Con204 - Hard Rock Presentation - KeynoteWSO2Con204 - Hard Rock Presentation - Keynote
WSO2Con204 - Hard Rock Presentation - KeynoteWSO2
 
%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrandmasabamasaba
 
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...Bert Jan Schrijver
 
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open Source
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open SourceWSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open Source
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open SourceWSO2
 
Artyushina_Guest lecture_YorkU CS May 2024.pptx
Artyushina_Guest lecture_YorkU CS May 2024.pptxArtyushina_Guest lecture_YorkU CS May 2024.pptx
Artyushina_Guest lecture_YorkU CS May 2024.pptxAnnaArtyushina1
 
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...masabamasaba
 
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfonteinmasabamasaba
 
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...masabamasaba
 
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...WSO2
 
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrainmasabamasaba
 
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...masabamasaba
 
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital TransformationWSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital TransformationWSO2
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnAmarnathKambale
 
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...masabamasaba
 

Último (20)

%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in soweto%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in soweto
 
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
 
Architecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastArchitecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the past
 
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
 
WSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go PlatformlessWSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go Platformless
 
WSO2CON 2024 Slides - Open Source to SaaS
WSO2CON 2024 Slides - Open Source to SaaSWSO2CON 2024 Slides - Open Source to SaaS
WSO2CON 2024 Slides - Open Source to SaaS
 
WSO2Con204 - Hard Rock Presentation - Keynote
WSO2Con204 - Hard Rock Presentation - KeynoteWSO2Con204 - Hard Rock Presentation - Keynote
WSO2Con204 - Hard Rock Presentation - Keynote
 
%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand
 
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
 
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open Source
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open SourceWSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open Source
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open Source
 
Artyushina_Guest lecture_YorkU CS May 2024.pptx
Artyushina_Guest lecture_YorkU CS May 2024.pptxArtyushina_Guest lecture_YorkU CS May 2024.pptx
Artyushina_Guest lecture_YorkU CS May 2024.pptx
 
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
 
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
 
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
 
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
 
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
 
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
 
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital TransformationWSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learn
 
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
 

Low-Latency Data Processing in the Era of Serverless @JavaDayLviv

  • 1. 1 LOW LATENCY DATA PROCESSING IN THE ERA OF SERVERLESS Nazarii Cherkas | Hazelcast nazarii@hazelcast.com https://twitter.com/n_cherkas
  • 3. 3 Brief Agenda • Serverless - Not Just The Lambda Functions? • What do we call Serverless? • Why industry goes Serverless
  • 4. 4 Brief Agenda • Serverless - Not Just The Lambda Functions? • What do we call Serverless? • Why industry goes Serverless • Low-Latency Data Processing in Serverless – Any Chance? • Typical scenarios of Low-Latency Processing • What brings the latency in Serverless • Approaches to optimize Serverless Computing
  • 5. 5 Brief Agenda • Serverless - Not Just The Lambda Functions? • What do we call Serverless? • Why industry goes Serverless • Low-Latency Data Processing in Serverless – Any Chance? • Typical scenarios of Low-Latency Processing • What brings the latency in Serverless • Approaches to optimize Serverless Computing • Demo Time – The Serverless Fraud Detection
  • 7. 7 About me • 8 years of experience of on different positions from Java Engineer to Team Lead and Solutions Architect
  • 8. 8 About me • 8 years of experience of on different positions from Java Engineer to Team Lead and Solutions Architect • Cloud Developer at Hazelcast Inc.
  • 9. 9 About me • 8 years of experience of on different positions from Java Engineer to Team Lead and Solutions Architect • Cloud Developer at Hazelcast Inc. • Moving you to the Cloud
  • 10. 10 Serverless - Not Just The Lambda Functions
  • 11. 11 What do we call Serverless?
  • 12. 12 What do we call Serverless? Next step in the Cloud Computing evolution
  • 13. 13 What do we call Serverless? Next step in the Cloud Computing evolution
  • 14. 14 What do we call Serverless? Next step in the Cloud Computing evolution
  • 15. 15 What do we call Serverless? Next step in the Cloud Computing evolution
  • 16. 16 What do we call Serverless? Next step in the Cloud Computing evolution
  • 17. 17 What do we call Serverless? Significantly use cloud-managed services (BaaS) to manage server- side logic and state
  • 18. 18 What do we call Serverless? Significantly use cloud-managed services (BaaS) to manage server- side logic and state
  • 19. 19 What do we call Serverless? Significantly use cloud-managed services (BaaS) to manage server- side logic and state
  • 20. 20 What do we call Serverless? Significantly use cloud-managed services (BaaS) to manage server- side logic and state
  • 21. 21 What do we call Serverless? Significantly use cloud-managed services (BaaS) to manage server- side logic and state
  • 22. 22 What do we call Serverless? Run code in stateless compute containers (FaaS) that are event- triggered and fully managed by Cloud Provider
  • 23. 23 What do we call Serverless? Run code in stateless compute containers (FaaS) that are event- triggered and fully managed by Cloud Provider
  • 24. 24 What do we call Serverless? Run code in stateless compute containers (FaaS) that are event- triggered and fully managed by Cloud Provider
  • 25. 25 What do we call Serverless? Run code in stateless compute containers (FaaS) that are event- triggered and fully managed by Cloud Provider
  • 26. 26 What do we call Serverless? Run code in stateless compute containers (FaaS) that are event- triggered and fully managed by Cloud Provider
  • 27. 27 What do we call Serverless? Run code in stateless compute containers (FaaS) that are event- triggered and fully managed by Cloud Provider
  • 28. 28 What do we call Serverless? Allows to develop and run applications without thinking about the underlying infrastructure*
  • 29. 29 Why industry goes Serverless?
  • 30. 30 Why industry goes Serverless? • Lower costs
  • 31. 31 Why industry goes Serverless? • Lower costs • Cloud Native
  • 32. 32 Why industry goes Serverless? • Lower costs • Cloud Native • Elastic Scalability
  • 33. 33 Why industry goes Serverless? • Lower costs • Cloud Native • Elastic Scalability • Significantly reduced time to market
  • 34. 34 Why industry goes Serverless? • Lower costs • Cloud Native • Elastic Scalability • Significantly reduced time to market • Less complexity
  • 35. 35 Low-Latency Data Processing in Serverless – Any chance?
  • 36. 36 Typical scenarios of Low-Latency Processing
  • 37. 37 Typical scenarios of Low-Latency Processing • Algorithmic trading in Financial markets
  • 38. 38 Typical scenarios of Low-Latency Processing • Algorithmic trading in Financial markets • Real-time Bidding for Ads
  • 39. 39 Typical scenarios of Low-Latency Processing • Algorithmic trading in Financial markets • Real-time Bidding for Ads • Fraud detection for the in-flight transactions
  • 40. 40 Typical scenarios of Low-Latency Processing • Algorithmic trading in Financial markets • Real-time Bidding for Ads • Fraud detection for the in-flight transactions • Personalized user experience in E-commerce
  • 41. 41 Typical scenarios of Low-Latency Processing • Algorithmic trading in Financial markets • Real-time Bidding for Ads • Fraud detection for the in-flight transactions • Personalized user experience in E-commerce • Complex Event Processing
  • 42. 42 What brings the latency in Serverless
  • 43. 43 What brings the latency in Serverless Lambda Function Lifecycle
  • 44. 44 What brings the latency in Serverless Lambda Function Lifecycle
  • 45. 45 What brings the latency in Serverless Lambda Function Lifecycle
  • 46. 46 What brings the latency in Serverless Lambda Function Lifecycle
  • 47. 47 What brings the latency in Serverless Lambda Function Lifecycle
  • 48. 48 What brings the latency in Serverless Lambda Function Lifecycle
  • 49. 49 What brings the latency in Serverless Lambda Function Lifecycle
  • 50. 50 What brings the latency in Serverless Lambda Function Lifecycle
  • 51. 51 Approaches to optimize Serverless Computing
  • 52. 52 Approaches to optimize Serverless Computing Making periodic requests to the Functions to keep them “Warm”
  • 53. 53 Approaches to optimize Serverless Computing Making periodic requests to the Functions to keep them “Warm”
  • 54. 54 Approaches to optimize Serverless Computing Pre-Allocating memory for CPU-bound tasks
  • 55. 55 Approaches to optimize Serverless Computing Pre-Allocating memory for CPU-bound tasks
  • 56. 56 Approaches to optimize Serverless Computing Using co-located services
  • 57. 57 Approaches to optimize Serverless Computing Using co-located services
  • 58. 58 Approaches to optimize Serverless Computing Using co-located services
  • 59. 59 Approaches to optimize Serverless Computing Choosing external data store to cache “HOT” data
  • 60. 60 Approaches to optimize Serverless Computing Choosing external data store to cache “HOT” data
  • 61. 61 Approaches to optimize Serverless Computing Choosing external data store to cache “HOT” data
  • 62. 62 Approaches to optimize Serverless Computing Choosing external data store to cache “HOT” data
  • 63. 63 Approaches to optimize Serverless Computing Choosing external data store to cache “HOT” data Read 1 MB sequentially from disk 1 ms Latency Numbers Every Programmer Should Know https://people.eecs.berkeley.edu/~rcs/research/interactive_latency.html
  • 64. 64 Approaches to optimize Serverless Computing Choosing external data store to cache “HOT” data Read 1 MB sequentially from disk 1 ms Read 1 MB sequentially from SSD 78 μs Latency Numbers Every Programmer Should Know https://people.eecs.berkeley.edu/~rcs/research/interactive_latency.html
  • 65. 65 Approaches to optimize Serverless Computing Choosing external data store to cache “HOT” data Read 1 MB sequentially from disk 1 ms Read 1 MB sequentially from SSD 78 μs Read 1 MB sequentially from memory 5 μs Latency Numbers Every Programmer Should Know https://people.eecs.berkeley.edu/~rcs/research/interactive_latency.html
  • 66. 66 Approaches to optimize Serverless Computing Choosing external data store to cache “HOT” data
  • 67. 67 Approaches to optimize Serverless Computing Choosing external data store to cache “HOT” data
  • 68. 68 Approaches to optimize Serverless Computing Choosing external data store to cache “HOT” data
  • 69. 69 Demo Time The Serverless Fraud Detection
  • 70. 70 The Serverless Fraud Detection The Fraud Detection Problem
  • 71. 71 The Serverless Fraud Detection The Fraud Detection Problem
  • 72. 72 The Serverless Fraud Detection The Fraud Detection Problem
  • 73. 73 The Serverless Fraud Detection Serverless Solution Design https://github.com/ncherkas/hazelcast-cloud-demo
  • 74. 74 The Serverless Fraud Detection Why Hazelcast Cloud
  • 75. 75 The Serverless Fraud Detection Why Hazelcast Cloud • Managed Service for the Hazelcast IMDG – a full-featured In- Memory Data Grid
  • 76. 76 The Serverless Fraud Detection Why Hazelcast Cloud • Managed Service for the Hazelcast IMDG – a full-featured In- Memory Data Grid • Co-located Hazelcast IMDG cluster can transform and ingest data in microseconds (see https://hazelcast.com/resources- type/?type=Benchmark)
  • 77. 77 The Serverless Fraud Detection Why Hazelcast Cloud • Managed Service for the Hazelcast IMDG – a full-featured In- Memory Data Grid • Co-located Hazelcast IMDG cluster can transform and ingest data in microseconds (see https://hazelcast.com/resources- type/?type=Benchmark) • Comes with the Enterprise-grade Security
  • 78. 78 The Serverless Fraud Detection Why Hazelcast Cloud • Managed Service for the Hazelcast IMDG – a full-featured In- Memory Data Grid • Co-located Hazelcast IMDG cluster can transform and ingest data in microseconds (see https://hazelcast.com/resources- type/?type=Benchmark) • Comes with the Enterprise-grade Security • Simple to Deploy and Use
  • 79. 79 The Serverless Fraud Detection Why Hazelcast Cloud • Managed Service for the Hazelcast IMDG – a full-featured In- Memory Data Grid • Co-located Hazelcast IMDG cluster can transform and ingest data in microseconds (see https://hazelcast.com/resources- type/?type=Benchmark) • Comes with the Enterprise-grade Security • Simple to Deploy and Use • AWS Lambda-ready
  • 80. 80 The Serverless Fraud Detection DEMO
  • 82. 82 Summary • Serverless is a perfect match when you want to move fast
  • 83. 83 Summary • Serverless is a perfect match when you want to move fast • You can do Low-Latency Processing in Serverless but be aware of the common pitfalls
  • 84. 84 Summary • Serverless is a perfect match when you want to move fast • You can do Low-Latency Processing in Serverless but be aware of the common pitfalls • Think about latency and H/A when you choose the data storage
  • 85. 85 Summary • Serverless is a perfect match when you want to move fast • You can do Low-Latency Processing in Serverless but be aware of the common pitfalls • Think about latency and H/A when you choose the data storage • In-Memory computing is a natural and logical choice when it comes to the Low-Latency Processing
  • 86. 86 Summary • Serverless is a perfect match when you want to move fast • You can do Low-Latency Processing in Serverless but be aware of the common pitfalls • Think about latency and H/A when you choose the data storage • In-Memory computing is a natural and logical choice when it comes to the Low-Latency Processing • KEEP CALM and apply for Beta at https://console.hazelcast.cloud

Notas do Editor

  1. TODO: Serverless Intro
  2. TODO: Serverless Intro
  3. TODO: Serverless Intro
  4. 1st this term was introduces with the launch of Amazon Functions and hence is oftent associated with it but let’s try to lern more about what it is.
  5. New model of Cloud Computing
  6. AWS Lambda is a compute service that lets you run code without provisioning or managing servers. AWS Lambda executes your code only when needed and scales automatically, from a few requests per day to thousands per second. You pay only for the compute time you consume - there is no charge when your code is not running. 
  7. So, the Serverless is good for this, for that… but what if we want to solve some really specific problems, e.g. Low-Latency Processing?
  8. Where the latency comes from in the Serverless?
  9. TODO: limitations, tell about Hazelcast during demo
  10. TODO: limitations, tell about Hazelcast during demo
  11. TODO: limitations, tell about Hazelcast during demo
  12. TODO: limitations, tell about Hazelcast during demo
  13. TODO: limitations, tell about Hazelcast during demo
  14. TODO: limitations, tell about Hazelcast during demo
  15. Background threads – no possibility to do asynchronous processing
  16. What are the ways to solve these problems?
  17. How to deal with the Cold Start latencies?
  18. TODO: review & refactor all this
  19. Other case when we can have problems with the performance are the CPU-bound tasks
  20. Better graph?
  21. Another aspect which impacts the performance is the way we deploy our Serverless system How to deploy the system if we want to minimise a latency?
  22. Better graph?
  23. Better graph?
  24. At the end, naturally, even if we keep our Function WARM, the data we want to access quickly, we want to cache may simply not fit into Function F/S or memory.
  25. TODO: review & refactor all this
  26. TODO: review & refactor all this
  27. TODO: review & refactor all this
  28. TODO: review & refactor all this
  29. TODO: review & refactor all this
  30. TODO: review & refactor all this
  31. TODO: review & refactor all this
  32. Less latency – less money
  33. TODO: review & refactor all this
  34. Now, let’s try to use all this in practice and try to solve one of the common low-latency problems – the Fraud Detection Problem
  35. Better graph?
  36. Better graph?
  37. Better graph?
  38. TODO: add scheduled lambda
  39. Better graph?
  40. Introduction about why we decided to do this. Mention that it will be public-available soon?
  41. Mention that it will be public-available soon?
  42. Mention that it will be public-available soon?
  43. Mention that it will be public-available soon?
  44. Mention that it will be public-available soon?
  45. Better graph?
  46. Better graph?
  47. Better graph?
  48. Better graph?
  49. Better graph?
  50. Better graph?
  51. Better graph?
  52. Amazon FireCracker and Apache OpenWhisk