SlideShare ist ein Scribd-Unternehmen logo
1 von 55
Stream-Based
Mobile and Web Event Tracking
An introduction into Alchemist
About me
• Sebastian Schleicher, Director of Engineering @Blinkist

https://about.me/sebastian.schleicher
2
A book’s key insights distilled into
bite-sized, 15-minute reads
15-minute book summaries
A library of 2,500+ bite-sized 

insights for reading and listening
Text and audio
Blinkist – Big Ideas in Small Packages
What’s in it for you?
• Innovative solutions for in-house web and mobile event tracking
• A stream-based approach to event tracking with AWS
• An Open Source framework that helps you wire all this together
4
What is Event Tracking?
• User behavior in your apps
• Click behavior / Page visits on your websites
• E-Mail openings / interactions
• Business events from your backend
• … many more
5
Typical setup
6
Google Analytics
Marketing
Analytics Provider
Product
Newsletter System
CRM
These are information silos
and dead ends.
Information Silos & Dead Ends
8
Google Analytics
Analytics Provider
Marketing
Product
Newsletter System
CRM
How many daily active users
do we have?
Information Silos & Dead Ends
10
Google Analytics
Analytics Provider
Marketing
Product
Newsletter System
CRM
2,000
7,000
1,000
Can’t all events reside in
a central place …
… so that reports are based on
the same data?
A Central Event Stream
13
Event Stream
Marketing
Product
CRM


Business
Intelligence
System
Could we also route events 

to other systems?
Event Routing
15
Event Stream
Marketing
Product
CRM


Business
Intelligence
System
External

System
External

System
A Reactive System (Fantasy)
16
Event Stream
Marketing
Product
CRM


Business
Intelligence
System
External

System
External

System
How can we realise 

this with AWS?
A Central Event Stream
18
Event Stream
Marketing
Product
CRM


Business
Intelligence
System
External

System
External

System
A Central Event Stream
19
Event Stream
Marketing
Product
CRM
External

System
External

System


Redshift
Streaming System on AWS
20
Collector
Kinesis
Stream
Kinesis

Firehose
Lambda
External

System


Redshift
What is this Kinesis?
AWS Kinesis
22
Record
Ordered by time of arrival
Retained up to 7 days
Consumer

Read records

and do 

something
Producer putRecords
Producer putRecords
Producer putRecords
AWS Kinesis Record
23
Base64 Encoded Binary

e.g. JSON String
* https://docs.aws.amazon.com/kinesis/latest/APIReference/API_Record.html
Streaming System on AWS
24
Collector
Kinesis
Stream
Kinesis

Firehose
Lambda
External

System


Redshift
AWS Kinesis Firehose
25
Producer putRecords


Redshift
Copy Records
Producer putRecords
Producer putRecords
Managed 

AWS

Consumer
• Managed Kinesis Application

• Copies records to Redshift 

(or other AWS data stores)

• putRecords ensures that only 

JSON inserted

• Object keys get mapped to 

columns in Redshift
Streaming System on AWS
26
Collector
Kinesis
Stream
Kinesis

Firehose
Lambda
External

System


Redshift
What is this Lambda?
AWS Lambda
28
Lambda
• “Serverless” Application

• Simple Function Executions

• JavaScript / Java / Python / Go
S3 Event
Kinesis Event
Many More Events
Streaming System on AWS
29
Kinesis
Stream
Kinesis

Firehose
Lambda
External

System


Redshift
Running on Lambda
CollectorAlchemist
Welcome Alchemist
• Lightweight E(xtract) T(ransform) L(oad) framework written in JS
• Ideal for the usage in an AWS Lambda environment
• Many built-in adapters to extract data from AWS resources (like S3)
• Easy to extend
30
Alchemist Pipeline
31
Input Transformations Output
Pipeline Data Pipeline Data
Pipeline Data
Faulty

Data
Sane

Data
AdapterAdapter
Alchemist use cases
32
Mobile Tracking

Alchemist
Web tracking
Alchemist
Email Tracking
Alchemist
Kinesis
Web Tracking
33
> trackEvent(“My Event”, “some-action”, 12);



> GET https://example.com/t?event=My%20Event&action=some-action&value=12
S3 Bucket CloudFront
Access Log
S3 Event
putRecords
Alchemist
Kinesis
*Now: https://matomo.org/
*
Alchemist Web Pipeline
34
S3 Input
Kinesis Output
Cloudfront Log
Transformation
Unzip
Transformation
Quality Control
Transformation
SQS Output
Pipeline
Data
Sane

Data
Faulty

Data
Check faulty data

and react quickly
S3 Bucket
Load the file 

from S3
Alchemist Use Cases
35
Log Files
Web tracking
Alchemist
Kinesis
Mobile Tracking

Alchemist
Email Tracking
Alchemist
Mobile Tracking
36
> trackEvent(“My Mobile Event”, { “some”: “parameter” });
putRecords
Kinesis Event
putRecords
Alchemist
Kinesis
Amazon
Pinpoint
Kinesis
Pinpoint SDK
Alchemist Mobile Pipeline
37
Kinesis Input
Kinesis Output
Map Fields

Transformation
Quality Control
Transformation
SQS Output
Pipeline
Data
Sane

Data
Faulty

Data
Check faulty data

and react quickly
Decode64

Parse JSON
Kinesis
Alchemist use cases
38
Kinesis
Log Files
Web tracking
Alchemist
Kinesis
Mobile Tracking

Alchemist
Email Tracking
Alchemist
E-Mail Tracking
39
Webhooks for User opens an email  User clicks a button in an email
HTTP Event
putRecords
Alchemist
Kinesis
Newsletter
Provider
API Gateway
Alchemist E-Mail Pipeline
40
HTTP Input
Kinesis Output
Parse Body

Transformation
Quality Control
Transformation
SQS Output
Pipeline
Data
Sane

Data
Faulty

Data
Check faulty data

and react quickly
API Gateway
Alchemist use cases
41
Kinesis
Log Files
Web tracking
Alchemist
Kinesis
Mobile Tracking

Alchemist
Email Tracking
Alchemist
API Gateway
Streaming System on AWS
42
Kinesis
Stream
Kinesis

Firehose
Lambda
External

System


Redshift
Alchemist
Alchemist
Alchemist
BI System Routing
43
Kinesis Event
Mobile
Alchemist
Kinesis


Redshift
Web
Web Events Table
Mobile Events Table
E-Mail
E-Mail Events Table
Alchemist BI Pipeline
44
Kinesis Input
Firehose 

Routed Output
Map Fields

Transformation
Set Route

Transformation
SQS Output
Pipeline
Data
Sane

Data
Faulty

Data
Check faulty data

and react quickly
Decode64

Parse JSON
Kinesis
Whitelist Events

Transformation
Streaming System on AWS
45
Kinesis
Stream
Kinesis

Firehose
Lambda
External

System


Redshift
Alchemist
Alchemist
Alchemist
Alchemist
External System Routing
46
Kinesis Event
POST https://external.system/events
Alchemist
Kinesis
External

System
Alchemist External Pipeline
47
Kinesis Input
HTTP Output
Prepare Body

Transformation
SQS Output
Pipeline
Data
Sane

Data
Faulty

Data
Check faulty data

and react quickly
Decode64

Parse JSON
Kinesis
Whitelist Events

Transformation
Streaming System on AWS
48
Kinesis
Stream
External

System


Redshift
Alchemist
Alchemist
Alchemist
Alchemist
Alchemist
We use Alchemist to 

route our data streams
anywhere we need them.
is Open Source
https://github.com/blinkist/alchemist
Currently only available in JavaScript
Licensed under MIT
Let’s talk about the costs…
Pricing
• We pay currently 150$ for 200 million events per month* 🤫
• Everything is fully managed and scaled by AWS 🤗
• Simple to maintain and operate as a developer 🤓
• No expensive pre-build solution required ✌
52 *Redshift not included (around 0.25$/hour per node)
Key takeaways
Key takeaways
• In-house event tracking can be scalable & affordable 💸
• A central data stream containing all relevant events is awesome 🚀
• Having a simple streaming architecture rocks🤘
• Embrace the vendor lock-in – it helps you more than it hurts 🤠
54
Don’t be afraid and in-house your event tracking!
Thank you for your attention.
https://about.me/sebastian.schleicher

Weitere ähnliche Inhalte

Was ist angesagt?

AWS에서 빅데이터 프로젝트 시작하기 - 이종화 솔루션즈 아키텍트, AWS
AWS에서 빅데이터 프로젝트 시작하기 - 이종화 솔루션즈 아키텍트, AWSAWS에서 빅데이터 프로젝트 시작하기 - 이종화 솔루션즈 아키텍트, AWS
AWS에서 빅데이터 프로젝트 시작하기 - 이종화 솔루션즈 아키텍트, AWSAmazon Web Services Korea
 
AWS Techical Due Diligence to post transaction execution for M&A
AWS Techical Due Diligence to post transaction execution for M&A AWS Techical Due Diligence to post transaction execution for M&A
AWS Techical Due Diligence to post transaction execution for M&A Tom Laszewski
 
Microservices, Node, Dapr and more - Part One (Fontys Hogeschool, Spring 2022)
Microservices, Node, Dapr and more - Part One (Fontys Hogeschool, Spring 2022)Microservices, Node, Dapr and more - Part One (Fontys Hogeschool, Spring 2022)
Microservices, Node, Dapr and more - Part One (Fontys Hogeschool, Spring 2022)Lucas Jellema
 
AWS Managed Services and SaaS Partner Programs
AWS Managed Services and SaaS Partner ProgramsAWS Managed Services and SaaS Partner Programs
AWS Managed Services and SaaS Partner ProgramsAmazon Web Services
 
ABD203_Real-Time Streaming Applications on AWS
ABD203_Real-Time Streaming Applications on AWSABD203_Real-Time Streaming Applications on AWS
ABD203_Real-Time Streaming Applications on AWSAmazon Web Services
 
[AKIBA.AWS] NLBとPrivateLinkの仕様に立ち向かう
[AKIBA.AWS] NLBとPrivateLinkの仕様に立ち向かう[AKIBA.AWS] NLBとPrivateLinkの仕様に立ち向かう
[AKIBA.AWS] NLBとPrivateLinkの仕様に立ち向かうShuji Kikuchi
 
Getting Started with Serverless Architectures
Getting Started with Serverless ArchitecturesGetting Started with Serverless Architectures
Getting Started with Serverless ArchitecturesAmazon Web Services
 
AWS Black Belt Tech シリーズ 2015 - Amazon Kinesis
AWS Black Belt Tech シリーズ 2015 - Amazon KinesisAWS Black Belt Tech シリーズ 2015 - Amazon Kinesis
AWS Black Belt Tech シリーズ 2015 - Amazon KinesisAmazon Web Services Japan
 
20211203 AWS Black Belt Online Seminar AWS re:Invent 2021アップデート速報
20211203 AWS Black Belt Online Seminar AWS re:Invent 2021アップデート速報20211203 AWS Black Belt Online Seminar AWS re:Invent 2021アップデート速報
20211203 AWS Black Belt Online Seminar AWS re:Invent 2021アップデート速報Amazon Web Services Japan
 
Getting Started with Serverless Architectures
Getting Started with Serverless ArchitecturesGetting Started with Serverless Architectures
Getting Started with Serverless ArchitecturesAmazon Web Services
 
RMG203 Cloud Infrastructure and Application Monitoring with Amazon CloudWatch...
RMG203 Cloud Infrastructure and Application Monitoring with Amazon CloudWatch...RMG203 Cloud Infrastructure and Application Monitoring with Amazon CloudWatch...
RMG203 Cloud Infrastructure and Application Monitoring with Amazon CloudWatch...Amazon Web Services
 
Best Practices for Building Partner-Managed Services on AWS
Best Practices for Building Partner-Managed Services on AWSBest Practices for Building Partner-Managed Services on AWS
Best Practices for Building Partner-Managed Services on AWSAmazon Web Services
 
Elastic APM: Amping up your logs and metrics for the full picture
Elastic APM: Amping up your logs and metrics for the full pictureElastic APM: Amping up your logs and metrics for the full picture
Elastic APM: Amping up your logs and metrics for the full pictureElasticsearch
 
ABD317_Building Your First Big Data Application on AWS - ABD317
ABD317_Building Your First Big Data Application on AWS - ABD317ABD317_Building Your First Big Data Application on AWS - ABD317
ABD317_Building Your First Big Data Application on AWS - ABD317Amazon Web Services
 
Behind the Scenes: Exploring the AWS Global Network (NET305) - AWS re:Invent ...
Behind the Scenes: Exploring the AWS Global Network (NET305) - AWS re:Invent ...Behind the Scenes: Exploring the AWS Global Network (NET305) - AWS re:Invent ...
Behind the Scenes: Exploring the AWS Global Network (NET305) - AWS re:Invent ...Amazon Web Services
 
Visualizing Big Data Insights with Amazon QuickSight
Visualizing Big Data Insights with Amazon QuickSightVisualizing Big Data Insights with Amazon QuickSight
Visualizing Big Data Insights with Amazon QuickSightAmazon Web Services
 

Was ist angesagt? (20)

AWS에서 빅데이터 프로젝트 시작하기 - 이종화 솔루션즈 아키텍트, AWS
AWS에서 빅데이터 프로젝트 시작하기 - 이종화 솔루션즈 아키텍트, AWSAWS에서 빅데이터 프로젝트 시작하기 - 이종화 솔루션즈 아키텍트, AWS
AWS에서 빅데이터 프로젝트 시작하기 - 이종화 솔루션즈 아키텍트, AWS
 
AWS Techical Due Diligence to post transaction execution for M&A
AWS Techical Due Diligence to post transaction execution for M&A AWS Techical Due Diligence to post transaction execution for M&A
AWS Techical Due Diligence to post transaction execution for M&A
 
Deep Dive into AWS SAM
Deep Dive into AWS SAMDeep Dive into AWS SAM
Deep Dive into AWS SAM
 
DevOps on AWS
DevOps on AWSDevOps on AWS
DevOps on AWS
 
Microservices, Node, Dapr and more - Part One (Fontys Hogeschool, Spring 2022)
Microservices, Node, Dapr and more - Part One (Fontys Hogeschool, Spring 2022)Microservices, Node, Dapr and more - Part One (Fontys Hogeschool, Spring 2022)
Microservices, Node, Dapr and more - Part One (Fontys Hogeschool, Spring 2022)
 
AWS Managed Services and SaaS Partner Programs
AWS Managed Services and SaaS Partner ProgramsAWS Managed Services and SaaS Partner Programs
AWS Managed Services and SaaS Partner Programs
 
ABD203_Real-Time Streaming Applications on AWS
ABD203_Real-Time Streaming Applications on AWSABD203_Real-Time Streaming Applications on AWS
ABD203_Real-Time Streaming Applications on AWS
 
[AKIBA.AWS] NLBとPrivateLinkの仕様に立ち向かう
[AKIBA.AWS] NLBとPrivateLinkの仕様に立ち向かう[AKIBA.AWS] NLBとPrivateLinkの仕様に立ち向かう
[AKIBA.AWS] NLBとPrivateLinkの仕様に立ち向かう
 
Getting Started with Serverless Architectures
Getting Started with Serverless ArchitecturesGetting Started with Serverless Architectures
Getting Started with Serverless Architectures
 
AWS Black Belt Tech シリーズ 2015 - Amazon Kinesis
AWS Black Belt Tech シリーズ 2015 - Amazon KinesisAWS Black Belt Tech シリーズ 2015 - Amazon Kinesis
AWS Black Belt Tech シリーズ 2015 - Amazon Kinesis
 
20211203 AWS Black Belt Online Seminar AWS re:Invent 2021アップデート速報
20211203 AWS Black Belt Online Seminar AWS re:Invent 2021アップデート速報20211203 AWS Black Belt Online Seminar AWS re:Invent 2021アップデート速報
20211203 AWS Black Belt Online Seminar AWS re:Invent 2021アップデート速報
 
Getting Started with Serverless Architectures
Getting Started with Serverless ArchitecturesGetting Started with Serverless Architectures
Getting Started with Serverless Architectures
 
RMG203 Cloud Infrastructure and Application Monitoring with Amazon CloudWatch...
RMG203 Cloud Infrastructure and Application Monitoring with Amazon CloudWatch...RMG203 Cloud Infrastructure and Application Monitoring with Amazon CloudWatch...
RMG203 Cloud Infrastructure and Application Monitoring with Amazon CloudWatch...
 
Best Practices for Building Partner-Managed Services on AWS
Best Practices for Building Partner-Managed Services on AWSBest Practices for Building Partner-Managed Services on AWS
Best Practices for Building Partner-Managed Services on AWS
 
Elastic APM: Amping up your logs and metrics for the full picture
Elastic APM: Amping up your logs and metrics for the full pictureElastic APM: Amping up your logs and metrics for the full picture
Elastic APM: Amping up your logs and metrics for the full picture
 
API Management
API ManagementAPI Management
API Management
 
ABD317_Building Your First Big Data Application on AWS - ABD317
ABD317_Building Your First Big Data Application on AWS - ABD317ABD317_Building Your First Big Data Application on AWS - ABD317
ABD317_Building Your First Big Data Application on AWS - ABD317
 
Behind the Scenes: Exploring the AWS Global Network (NET305) - AWS re:Invent ...
Behind the Scenes: Exploring the AWS Global Network (NET305) - AWS re:Invent ...Behind the Scenes: Exploring the AWS Global Network (NET305) - AWS re:Invent ...
Behind the Scenes: Exploring the AWS Global Network (NET305) - AWS re:Invent ...
 
API strategy with IBM API connect
API strategy with IBM API connectAPI strategy with IBM API connect
API strategy with IBM API connect
 
Visualizing Big Data Insights with Amazon QuickSight
Visualizing Big Data Insights with Amazon QuickSightVisualizing Big Data Insights with Amazon QuickSight
Visualizing Big Data Insights with Amazon QuickSight
 

Ähnlich wie Stream based mobile and web event tracking backed by aws kinesis

Building a Real Time Dashboard with Amazon Kinesis, Amazon Lambda and Amazon ...
Building a Real Time Dashboard with Amazon Kinesis, Amazon Lambda and Amazon ...Building a Real Time Dashboard with Amazon Kinesis, Amazon Lambda and Amazon ...
Building a Real Time Dashboard with Amazon Kinesis, Amazon Lambda and Amazon ...Amazon Web Services
 
Getting Started with Amazon Kinesis
Getting Started with Amazon KinesisGetting Started with Amazon Kinesis
Getting Started with Amazon KinesisAmazon Web Services
 
Code first in the cloud: going serverless with Azure
Code first in the cloud: going serverless with AzureCode first in the cloud: going serverless with Azure
Code first in the cloud: going serverless with AzureJeremy Likness
 
(BDT306) Mission-Critical Stream Processing with Amazon EMR and Amazon Kinesi...
(BDT306) Mission-Critical Stream Processing with Amazon EMR and Amazon Kinesi...(BDT306) Mission-Critical Stream Processing with Amazon EMR and Amazon Kinesi...
(BDT306) Mission-Critical Stream Processing with Amazon EMR and Amazon Kinesi...Amazon Web Services
 
Operating Microservices at Hyperscale — Tech in Asia PDC 2019
Operating Microservices at Hyperscale — Tech in Asia PDC 2019Operating Microservices at Hyperscale — Tech in Asia PDC 2019
Operating Microservices at Hyperscale — Tech in Asia PDC 2019Donnie Prakoso
 
2016-06 - Design your api management strategy - AWS - Microservices on AWS
2016-06 - Design your api management strategy - AWS - Microservices on AWS2016-06 - Design your api management strategy - AWS - Microservices on AWS
2016-06 - Design your api management strategy - AWS - Microservices on AWSSmartWave
 
Design Microservice Architectures the Right Way
Design Microservice Architectures the Right WayDesign Microservice Architectures the Right Way
Design Microservice Architectures the Right WayC4Media
 
Processamento em tempo real usando AWS - padrões e casos de uso
Processamento em tempo real usando AWS - padrões e casos de usoProcessamento em tempo real usando AWS - padrões e casos de uso
Processamento em tempo real usando AWS - padrões e casos de usoAmazon Web Services LATAM
 
Microservices with Kafka Ecosystem
Microservices with Kafka EcosystemMicroservices with Kafka Ecosystem
Microservices with Kafka EcosystemGuido Schmutz
 
Apache Flink, AWS Kinesis, Analytics
Apache Flink, AWS Kinesis, Analytics Apache Flink, AWS Kinesis, Analytics
Apache Flink, AWS Kinesis, Analytics Araf Karsh Hamid
 
Vancouver keynote - AWS Innovate - Sam Elmalak
Vancouver keynote - AWS Innovate - Sam ElmalakVancouver keynote - AWS Innovate - Sam Elmalak
Vancouver keynote - AWS Innovate - Sam ElmalakAmazon Web Services
 
Primeros pasos en desarrollo serverless
Primeros pasos en desarrollo serverlessPrimeros pasos en desarrollo serverless
Primeros pasos en desarrollo serverlessjavier ramirez
 
Blueprint Series: Architecture Patterns for Implementing Serverless Microserv...
Blueprint Series: Architecture Patterns for Implementing Serverless Microserv...Blueprint Series: Architecture Patterns for Implementing Serverless Microserv...
Blueprint Series: Architecture Patterns for Implementing Serverless Microserv...Matt Stubbs
 
Accelerate your Cloud Success with Platform Services
Accelerate your Cloud Success with Platform ServicesAccelerate your Cloud Success with Platform Services
Accelerate your Cloud Success with Platform ServicesAmazon Web Services
 
Deep dive and best practices on real time streaming applications nyc-loft_oct...
Deep dive and best practices on real time streaming applications nyc-loft_oct...Deep dive and best practices on real time streaming applications nyc-loft_oct...
Deep dive and best practices on real time streaming applications nyc-loft_oct...Amazon Web Services
 
AWS re:Invent 2016: Serverless IoT Back Ends (IOT401)
AWS re:Invent 2016: Serverless IoT Back Ends (IOT401)AWS re:Invent 2016: Serverless IoT Back Ends (IOT401)
AWS re:Invent 2016: Serverless IoT Back Ends (IOT401)Amazon Web Services
 
The State of Serverless Computing | AWS Public Sector Summit 2017
The State of Serverless Computing | AWS Public Sector Summit 2017The State of Serverless Computing | AWS Public Sector Summit 2017
The State of Serverless Computing | AWS Public Sector Summit 2017Amazon Web Services
 
BDA307 Real-time Streaming Applications on AWS, Patterns and Use Cases
BDA307 Real-time Streaming Applications on AWS, Patterns and Use CasesBDA307 Real-time Streaming Applications on AWS, Patterns and Use Cases
BDA307 Real-time Streaming Applications on AWS, Patterns and Use CasesAmazon Web Services
 
Getting Started with Amazon Kinesis | AWS Public Sector Summit 2016
Getting Started with Amazon Kinesis | AWS Public Sector Summit 2016Getting Started with Amazon Kinesis | AWS Public Sector Summit 2016
Getting Started with Amazon Kinesis | AWS Public Sector Summit 2016Amazon Web Services
 
Deep Dive and Best Practices for Real Time Streaming Applications
Deep Dive and Best Practices for Real Time Streaming ApplicationsDeep Dive and Best Practices for Real Time Streaming Applications
Deep Dive and Best Practices for Real Time Streaming ApplicationsAmazon Web Services
 

Ähnlich wie Stream based mobile and web event tracking backed by aws kinesis (20)

Building a Real Time Dashboard with Amazon Kinesis, Amazon Lambda and Amazon ...
Building a Real Time Dashboard with Amazon Kinesis, Amazon Lambda and Amazon ...Building a Real Time Dashboard with Amazon Kinesis, Amazon Lambda and Amazon ...
Building a Real Time Dashboard with Amazon Kinesis, Amazon Lambda and Amazon ...
 
Getting Started with Amazon Kinesis
Getting Started with Amazon KinesisGetting Started with Amazon Kinesis
Getting Started with Amazon Kinesis
 
Code first in the cloud: going serverless with Azure
Code first in the cloud: going serverless with AzureCode first in the cloud: going serverless with Azure
Code first in the cloud: going serverless with Azure
 
(BDT306) Mission-Critical Stream Processing with Amazon EMR and Amazon Kinesi...
(BDT306) Mission-Critical Stream Processing with Amazon EMR and Amazon Kinesi...(BDT306) Mission-Critical Stream Processing with Amazon EMR and Amazon Kinesi...
(BDT306) Mission-Critical Stream Processing with Amazon EMR and Amazon Kinesi...
 
Operating Microservices at Hyperscale — Tech in Asia PDC 2019
Operating Microservices at Hyperscale — Tech in Asia PDC 2019Operating Microservices at Hyperscale — Tech in Asia PDC 2019
Operating Microservices at Hyperscale — Tech in Asia PDC 2019
 
2016-06 - Design your api management strategy - AWS - Microservices on AWS
2016-06 - Design your api management strategy - AWS - Microservices on AWS2016-06 - Design your api management strategy - AWS - Microservices on AWS
2016-06 - Design your api management strategy - AWS - Microservices on AWS
 
Design Microservice Architectures the Right Way
Design Microservice Architectures the Right WayDesign Microservice Architectures the Right Way
Design Microservice Architectures the Right Way
 
Processamento em tempo real usando AWS - padrões e casos de uso
Processamento em tempo real usando AWS - padrões e casos de usoProcessamento em tempo real usando AWS - padrões e casos de uso
Processamento em tempo real usando AWS - padrões e casos de uso
 
Microservices with Kafka Ecosystem
Microservices with Kafka EcosystemMicroservices with Kafka Ecosystem
Microservices with Kafka Ecosystem
 
Apache Flink, AWS Kinesis, Analytics
Apache Flink, AWS Kinesis, Analytics Apache Flink, AWS Kinesis, Analytics
Apache Flink, AWS Kinesis, Analytics
 
Vancouver keynote - AWS Innovate - Sam Elmalak
Vancouver keynote - AWS Innovate - Sam ElmalakVancouver keynote - AWS Innovate - Sam Elmalak
Vancouver keynote - AWS Innovate - Sam Elmalak
 
Primeros pasos en desarrollo serverless
Primeros pasos en desarrollo serverlessPrimeros pasos en desarrollo serverless
Primeros pasos en desarrollo serverless
 
Blueprint Series: Architecture Patterns for Implementing Serverless Microserv...
Blueprint Series: Architecture Patterns for Implementing Serverless Microserv...Blueprint Series: Architecture Patterns for Implementing Serverless Microserv...
Blueprint Series: Architecture Patterns for Implementing Serverless Microserv...
 
Accelerate your Cloud Success with Platform Services
Accelerate your Cloud Success with Platform ServicesAccelerate your Cloud Success with Platform Services
Accelerate your Cloud Success with Platform Services
 
Deep dive and best practices on real time streaming applications nyc-loft_oct...
Deep dive and best practices on real time streaming applications nyc-loft_oct...Deep dive and best practices on real time streaming applications nyc-loft_oct...
Deep dive and best practices on real time streaming applications nyc-loft_oct...
 
AWS re:Invent 2016: Serverless IoT Back Ends (IOT401)
AWS re:Invent 2016: Serverless IoT Back Ends (IOT401)AWS re:Invent 2016: Serverless IoT Back Ends (IOT401)
AWS re:Invent 2016: Serverless IoT Back Ends (IOT401)
 
The State of Serverless Computing | AWS Public Sector Summit 2017
The State of Serverless Computing | AWS Public Sector Summit 2017The State of Serverless Computing | AWS Public Sector Summit 2017
The State of Serverless Computing | AWS Public Sector Summit 2017
 
BDA307 Real-time Streaming Applications on AWS, Patterns and Use Cases
BDA307 Real-time Streaming Applications on AWS, Patterns and Use CasesBDA307 Real-time Streaming Applications on AWS, Patterns and Use Cases
BDA307 Real-time Streaming Applications on AWS, Patterns and Use Cases
 
Getting Started with Amazon Kinesis | AWS Public Sector Summit 2016
Getting Started with Amazon Kinesis | AWS Public Sector Summit 2016Getting Started with Amazon Kinesis | AWS Public Sector Summit 2016
Getting Started with Amazon Kinesis | AWS Public Sector Summit 2016
 
Deep Dive and Best Practices for Real Time Streaming Applications
Deep Dive and Best Practices for Real Time Streaming ApplicationsDeep Dive and Best Practices for Real Time Streaming Applications
Deep Dive and Best Practices for Real Time Streaming Applications
 

Kürzlich hochgeladen

Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxpranjaldaimarysona
 
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSISrknatarajan
 
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptxthe ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptxhumanexperienceaaa
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxupamatechverse
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...ranjana rawat
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)Suman Mia
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...Call Girls in Nagpur High Profile
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escortsranjana rawat
 
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...RajaP95
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Dr.Costas Sachpazis
 
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )Tsuyoshi Horigome
 
(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...
(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...
(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...ranjana rawat
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝soniya singh
 

Kürzlich hochgeladen (20)

Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptx
 
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSIS
 
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptxthe ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptx
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
 
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
 
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
 
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINEDJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )
 
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCRCall Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
 
(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...
(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...
(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
 

Stream based mobile and web event tracking backed by aws kinesis

  • 1. Stream-Based Mobile and Web Event Tracking An introduction into Alchemist
  • 2. About me • Sebastian Schleicher, Director of Engineering @Blinkist
 https://about.me/sebastian.schleicher 2
  • 3. A book’s key insights distilled into bite-sized, 15-minute reads 15-minute book summaries A library of 2,500+ bite-sized 
 insights for reading and listening Text and audio Blinkist – Big Ideas in Small Packages
  • 4. What’s in it for you? • Innovative solutions for in-house web and mobile event tracking • A stream-based approach to event tracking with AWS • An Open Source framework that helps you wire all this together 4
  • 5. What is Event Tracking? • User behavior in your apps • Click behavior / Page visits on your websites • E-Mail openings / interactions • Business events from your backend • … many more 5
  • 6. Typical setup 6 Google Analytics Marketing Analytics Provider Product Newsletter System CRM
  • 7. These are information silos and dead ends.
  • 8. Information Silos & Dead Ends 8 Google Analytics Analytics Provider Marketing Product Newsletter System CRM
  • 9. How many daily active users do we have?
  • 10. Information Silos & Dead Ends 10 Google Analytics Analytics Provider Marketing Product Newsletter System CRM 2,000 7,000 1,000
  • 11. Can’t all events reside in a central place …
  • 12. … so that reports are based on the same data?
  • 13. A Central Event Stream 13 Event Stream Marketing Product CRM 
 Business Intelligence System
  • 14. Could we also route events 
 to other systems?
  • 16. A Reactive System (Fantasy) 16 Event Stream Marketing Product CRM 
 Business Intelligence System External
 System External
 System
  • 17. How can we realise 
 this with AWS?
  • 18. A Central Event Stream 18 Event Stream Marketing Product CRM 
 Business Intelligence System External
 System External
 System
  • 19. A Central Event Stream 19 Event Stream Marketing Product CRM External
 System External
 System 
 Redshift
  • 20. Streaming System on AWS 20 Collector Kinesis Stream Kinesis
 Firehose Lambda External
 System 
 Redshift
  • 21. What is this Kinesis?
  • 22. AWS Kinesis 22 Record Ordered by time of arrival Retained up to 7 days Consumer
 Read records
 and do 
 something Producer putRecords Producer putRecords Producer putRecords
  • 23. AWS Kinesis Record 23 Base64 Encoded Binary
 e.g. JSON String * https://docs.aws.amazon.com/kinesis/latest/APIReference/API_Record.html
  • 24. Streaming System on AWS 24 Collector Kinesis Stream Kinesis
 Firehose Lambda External
 System 
 Redshift
  • 25. AWS Kinesis Firehose 25 Producer putRecords 
 Redshift Copy Records Producer putRecords Producer putRecords Managed 
 AWS
 Consumer • Managed Kinesis Application • Copies records to Redshift 
 (or other AWS data stores)
 • putRecords ensures that only 
 JSON inserted • Object keys get mapped to 
 columns in Redshift
  • 26. Streaming System on AWS 26 Collector Kinesis Stream Kinesis
 Firehose Lambda External
 System 
 Redshift
  • 27. What is this Lambda?
  • 28. AWS Lambda 28 Lambda • “Serverless” Application • Simple Function Executions • JavaScript / Java / Python / Go S3 Event Kinesis Event Many More Events
  • 29. Streaming System on AWS 29 Kinesis Stream Kinesis
 Firehose Lambda External
 System 
 Redshift Running on Lambda CollectorAlchemist
  • 30. Welcome Alchemist • Lightweight E(xtract) T(ransform) L(oad) framework written in JS • Ideal for the usage in an AWS Lambda environment • Many built-in adapters to extract data from AWS resources (like S3) • Easy to extend 30
  • 31. Alchemist Pipeline 31 Input Transformations Output Pipeline Data Pipeline Data Pipeline Data Faulty
 Data Sane
 Data AdapterAdapter
  • 32. Alchemist use cases 32 Mobile Tracking
 Alchemist Web tracking Alchemist Email Tracking Alchemist Kinesis
  • 33. Web Tracking 33 > trackEvent(“My Event”, “some-action”, 12);
 
 > GET https://example.com/t?event=My%20Event&action=some-action&value=12 S3 Bucket CloudFront Access Log S3 Event putRecords Alchemist Kinesis *Now: https://matomo.org/ *
  • 34. Alchemist Web Pipeline 34 S3 Input Kinesis Output Cloudfront Log Transformation Unzip Transformation Quality Control Transformation SQS Output Pipeline Data Sane
 Data Faulty
 Data Check faulty data
 and react quickly S3 Bucket Load the file 
 from S3
  • 35. Alchemist Use Cases 35 Log Files Web tracking Alchemist Kinesis Mobile Tracking
 Alchemist Email Tracking Alchemist
  • 36. Mobile Tracking 36 > trackEvent(“My Mobile Event”, { “some”: “parameter” }); putRecords Kinesis Event putRecords Alchemist Kinesis Amazon Pinpoint Kinesis Pinpoint SDK
  • 37. Alchemist Mobile Pipeline 37 Kinesis Input Kinesis Output Map Fields
 Transformation Quality Control Transformation SQS Output Pipeline Data Sane
 Data Faulty
 Data Check faulty data
 and react quickly Decode64
 Parse JSON Kinesis
  • 38. Alchemist use cases 38 Kinesis Log Files Web tracking Alchemist Kinesis Mobile Tracking
 Alchemist Email Tracking Alchemist
  • 39. E-Mail Tracking 39 Webhooks for User opens an email User clicks a button in an email HTTP Event putRecords Alchemist Kinesis Newsletter Provider API Gateway
  • 40. Alchemist E-Mail Pipeline 40 HTTP Input Kinesis Output Parse Body
 Transformation Quality Control Transformation SQS Output Pipeline Data Sane
 Data Faulty
 Data Check faulty data
 and react quickly API Gateway
  • 41. Alchemist use cases 41 Kinesis Log Files Web tracking Alchemist Kinesis Mobile Tracking
 Alchemist Email Tracking Alchemist API Gateway
  • 42. Streaming System on AWS 42 Kinesis Stream Kinesis
 Firehose Lambda External
 System 
 Redshift Alchemist Alchemist Alchemist
  • 43. BI System Routing 43 Kinesis Event Mobile Alchemist Kinesis 
 Redshift Web Web Events Table Mobile Events Table E-Mail E-Mail Events Table
  • 44. Alchemist BI Pipeline 44 Kinesis Input Firehose 
 Routed Output Map Fields
 Transformation Set Route
 Transformation SQS Output Pipeline Data Sane
 Data Faulty
 Data Check faulty data
 and react quickly Decode64
 Parse JSON Kinesis Whitelist Events
 Transformation
  • 45. Streaming System on AWS 45 Kinesis Stream Kinesis
 Firehose Lambda External
 System 
 Redshift Alchemist Alchemist Alchemist Alchemist
  • 46. External System Routing 46 Kinesis Event POST https://external.system/events Alchemist Kinesis External
 System
  • 47. Alchemist External Pipeline 47 Kinesis Input HTTP Output Prepare Body
 Transformation SQS Output Pipeline Data Sane
 Data Faulty
 Data Check faulty data
 and react quickly Decode64
 Parse JSON Kinesis Whitelist Events
 Transformation
  • 48. Streaming System on AWS 48 Kinesis Stream External
 System 
 Redshift Alchemist Alchemist Alchemist Alchemist Alchemist
  • 49. We use Alchemist to 
 route our data streams anywhere we need them.
  • 50. is Open Source https://github.com/blinkist/alchemist Currently only available in JavaScript Licensed under MIT
  • 51. Let’s talk about the costs…
  • 52. Pricing • We pay currently 150$ for 200 million events per month* 🤫 • Everything is fully managed and scaled by AWS 🤗 • Simple to maintain and operate as a developer 🤓 • No expensive pre-build solution required ✌ 52 *Redshift not included (around 0.25$/hour per node)
  • 54. Key takeaways • In-house event tracking can be scalable & affordable 💸 • A central data stream containing all relevant events is awesome 🚀 • Having a simple streaming architecture rocks🤘 • Embrace the vendor lock-in – it helps you more than it hurts 🤠 54 Don’t be afraid and in-house your event tracking!
  • 55. Thank you for your attention. https://about.me/sebastian.schleicher