SlideShare a Scribd company logo
Structure Data 2014: BIG DATA ANALYTICS RE-INVENTED, Ryan Waite
Structure Data 2014: BIG DATA ANALYTICS RE-INVENTED, Ryan Waite
© 2014 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified, or distributed in whole or in part without the express consent of Amazon.com, Inc.
Data Services at AWS or
Why We Built Amazon Kinesis
Ryan Waite, General Manager, AWS Data Services
•  Metering service
•  10s of millions records per second
•  Terabytes per hour
•  Hundreds of thousands of sources
•  Auditors guarantee 100% accuracy at month end
•  Data Warehouse
•  100s extract-transform-load (ETL) jobs every day
•  Hundreds of thousands of files per load cycle
•  Hundreds of daily users
•  Hundreds of queries per hour
•  Fraud
•  95% of new customers able to use AWS in minutes
•  Random forest model to detect fraudulent behavior
•  Tagging Service
•  Hundreds of millions of tags on 10s of millions of resources
•  99.9% of read/write operations handled in < 250ms
Some statistics about what AWS Data Services does
Metering service
Workload
•  10s of millions records/sec
•  Multiple TB per hour
•  100,000s of sources
Pain points
•  Doesn’t scale elastically
•  Customers want real-time
alerts
•  Expensive to operate
•  Relies on eventually
consistent storage
Internal AWS Metering Service
S3
Process
Submissions
Store
Batches
Process
Hourly w/
Hadoop
Clients
Submitting
Data
Data
Warehouse
Data Warehouse
Workload
•  Daily ingestion of hundreds of data
sources
•  > 3 hours to load and audit data
•  Hundreds of customers
•  Hundreds of queries per hour
Pain points
•  Data volumes keep growing
•  Missing our SLAs at month-end
•  ETL solution is operationally
expensive
•  24 hour old data isn’t fresh enough
Internal AWS Internal Data Warehouse
Hundreds of internal
data sources
Legacy ETL
solution
Data staged in
Amazon S3
Primary and secondary
data warehouses
Data
Warehouse
Data
Warehouse
Old requirements
•  Capture huge amounts of data and process it in hourly
or daily batches
New requirements
•  Make decisions faster, sometimes in real-time
•  Make it easy to “keep everything”
•  Multiple applications can process data in parallel
Our big data transition
Big data comes from the small
{!
"payerId": "Joe",!
"productCode": "AmazonS3",!
"clientProductCode": "AmazonS3",!
"usageType": "Bandwidth",!
"operation": "PUT",!
"value": "22490",!
"timestamp": "1216674828"!
}!
Metering Record
127.0.0.1 user-identifier frank [10/Oct/2000:13:55:36 -0700]
"GET /apache_pb.gif HTTP/1.0" 200 2326!
Common Log Entry
<165>1 2003-10-11T22:14:15.003Z
mymachine.example.com evntslog - ID47
[exampleSDID@32473 iut="3"
eventSource="Application" eventID="1011"]
[examplePriority@32473 class="high"]!
Syslog Entry
“SeattlePublicWater/Kinesis/123/
Realtime” – 412309129140!
MQTT Record
<R,AMZN ,T,G,R1>!
NASDAQ OMX Record
Kinesis
Movement or activity in response to a stimulus.
A fully managed service for real-time processing
of high-volume, streaming data. Kinesis can store
and process terabytes of data an hour from
hundreds of thousands of sources. Data is
replicated across multiple Availability Zones to
ensure high durability and availability.
Kinesis architecture
Amazon Web Services
AZ AZ AZ
Durable, highly consistent storage replicates data
across three data centers (availability zones)
Aggregate and
archive to S3
Millions of
sources producing
100s of terabytes
per hour
Front
End
Authentication
Authorization
Ordered stream
of events supports
multiple readers
Real-time
dashboards
and alarms
Machine learning
algorithms or
sliding window
analytics
Aggregate analysis
in Hadoop or a
data warehouse
Inexpensive: $0.028 per million puts
•  Simple Put interface to store data in Kinesis
•  Producers use a put call to store data in a Stream
•  A Partition Key is used to distribute the puts across Shards
•  A unique Sequence # is returned to the Producer upon a
successful put call
•  Streams are made of Shards
•  A Kinesis Stream is composed of multiple Shards
•  Each Shard ingests up to 1MB/sec of data and up to 1000 TPS
•  All data is stored for 24 hours
•  Scale Kinesis streams by adding or removing Shards
Producer
Shard 1
Shard 2
Shard 3
Shard n
Shard 4
Producer
Producer
Producer
Producer
Producer
Producer
Producer
Producer
Kinesis
Make it easy to “capture everything”
Shard 1
Shard 2
Shard 3
Shard n
Shard 4
KCL Worker 1
KCL Worker 2
EC2 Instance
KCL Worker 3
KCL Worker 4
EC2 Instance
KCL Worker n
EC2 Instance
Kinesis
Making it easier to process data in parallel
•  In order to keep up with the stream, an application must:
•  Be distributed, to handle multiple shards and scaling up/down
•  Be fault tolerant, to handle failures in hardware or software
•  Scale up and down as the number of shards increase or decrease
•  Kinesis Client Library (KCL) helps with distributed processing:
•  Abstracts code from knowing about individual shards
•  Automatically starts a Worker for each shard
•  Increases and decreases Workers as number of shards changes
•  Uses checkpoints to keep track of a Worker’s position in the stream
•  Restarts Workers if they fail
•  Also works with EC2 Auto Scaling
Sending & Reading data from Kinesis Streams
HTTP Post
AWS SDK
LOG4J
Flume
Fluentd
Get* APIs
Kinesis Client Library
+
Connector Library
Apache
Storm
Amazon Elastic
MapReduce
Sending Reading
New Internal Metering Service
Capture
Submissions
Process in
Realtime
Store in
Redshift
Clients
Submitting
Data
Workload
•  Tens of millions records/sec
•  Multiple TB per hour
•  100,000s of sources
New features
•  Scale with the business
•  Provide real-time alerting
•  Inexpensive
•  Improved auditing
Workload
•  Daily load of billions records from millions of files
from hundreds of sources
•  3 hour SLA to load and audit data
•  Hundreds of customers
•  Hundreds of queries per hour
New features
•  Our data is fresh, we ingest every 6 hours
•  Ingesting new data sets for the business
•  “Hammerstone” ETL solution
•  Built on AWS Data Pipeline
•  Build business specific marts
•  Build workload specific clusters
•  Now processing triple the volume in less than
25% of the time
•  Supports a variety of analytics tools: Tableau, R,
Toad, SQL Developer, etc.
New Internal AWS Data Warehouse
Over 200 internal
data sources
Data staged in
Amazon S3
"Hammerstone:"
Custom ETL
using AWS
Data Pipeline
Data processing
Redshift cluster
Batch reporting
Redshift cluster
Ad hoc query
Redshift cluster
•  “Our services and applications emit more than 1.5 million events per
second during peak hours, or around 80 billion events per day. The
events could be log messages, user activity records, system
operational data, or any arbitrary data that our systems need to collect
for business, product, and operational analysis.”
•  “As the number of clients that utilize targeted advertising grows, access
to on-demand compute and storage resources becomes a
requirement.”
•  Customers use Market Replay on the trade support desk to validate
client questions; compliance officers use it to validate execution
requirements and rate National Market System (NMS) compliance; and
traders and brokers use it to look at certain points in time to view
missed opportunities or, potentially, unforeseen events
Common use cases
Bizo: Digital Ad. Tech Metering with Amazon Kinesis
Continuous Ad
Metrics Extraction
Incremental Ad.
Statistics
Computation
Metering Record Archive
Ad Analytics Dashboard
Supercell: Gaming Analytics with Amazon Kinesis
Real-time Clickstream
Processing App
Aggregate
Statistics
Clickstream Archive
In-Game Engagement Trends
Dashboard
Thank You
Structure Data 2014: BIG DATA ANALYTICS RE-INVENTED, Ryan Waite

More Related Content

What's hot (8)

PPTX
Big Data Pipeline and Analytics Platform
Sudhir Tonse
 
PPTX
Scaling Traffic from 0 to 139 Million Unique Visitors
Yelp Engineering
 
PPTX
Running Presto and Spark on the Netflix Big Data Platform
Eva Tse
 
PDF
The Netflix Way to deal with Big Data Problems
Monal Daxini
 
PPTX
Netflix incloudsmarch8 2011forwiki
Kevin McEntee
 
PPTX
Serverless Reality
Lynn Langit
 
PPTX
goto; London: Keeping your Cloud Footprint in Check
Coburn Watson
 
PPTX
Real time sentiment analysis using twitter stream api &amp; aws kinesis
Armando Padilla
 
Big Data Pipeline and Analytics Platform
Sudhir Tonse
 
Scaling Traffic from 0 to 139 Million Unique Visitors
Yelp Engineering
 
Running Presto and Spark on the Netflix Big Data Platform
Eva Tse
 
The Netflix Way to deal with Big Data Problems
Monal Daxini
 
Netflix incloudsmarch8 2011forwiki
Kevin McEntee
 
Serverless Reality
Lynn Langit
 
goto; London: Keeping your Cloud Footprint in Check
Coburn Watson
 
Real time sentiment analysis using twitter stream api &amp; aws kinesis
Armando Padilla
 

Similar to Structure Data 2014: BIG DATA ANALYTICS RE-INVENTED, Ryan Waite (20)

PDF
찾아가는 AWS 세미나(구로,가산,판교) - AWS 기반 빅데이터 활용 방법 (김일호 솔루션즈 아키텍트)
Amazon Web Services Korea
 
PDF
AWS를 활용한 첫 빅데이터 프로젝트 시작하기(김일호)- AWS 웨비나 시리즈 2015
Amazon Web Services Korea
 
PDF
Em tempo real: Ingestão, processamento e analise de dados
Amazon Web Services LATAM
 
PDF
20141021 AWS Cloud Taekwon - Big Data on AWS
Amazon Web Services Korea
 
PDF
Path to the future #4 - Ingestão, processamento e análise de dados em tempo real
Amazon Web Services LATAM
 
PDF
AWS Summit Seoul 2015 - AWS 클라우드를 활용한 빅데이터 및 실시간 스트리밍 분석
Amazon Web Services Korea
 
PDF
Get Value From Your Data
Danilo Poccia
 
PDF
Value of Data Beyond Analytics by Darin Briskman
Sameer Kenkare
 
PPTX
Aws centralized logs
Subramanyam Vemala
 
PDF
Need for Speed – Intro To Real-Time Data Streaming Analytics on AWS | AWS Sum...
AWS Summits
 
PDF
1.0 - AWS-DAS-Collection-Kinesis.pdf
SreeGe1
 
PDF
Big Data on AWS
Szilveszter Molnár
 
PDF
Big data on aws
Serkan Özal
 
PPTX
Introduction to AWS Kinesis
Steven Ensslen
 
PDF
Amazed by AWS Series #4
Amazon Web Services Korea
 
PDF
AWS data engineer online course | AWS data engineer training
Accentfuture
 
PDF
Data Analysis - Journey Through the Cloud
Ian Massingham
 
PDF
Architecting Data Lakes on AWS
Sajith Appukuttan
 
PDF
AWS Floor 28 - Building Data lake on AWS
Adir Sharabi
 
PDF
Big Data, Ingeniería de datos, y Data Lakes en AWS
javier ramirez
 
찾아가는 AWS 세미나(구로,가산,판교) - AWS 기반 빅데이터 활용 방법 (김일호 솔루션즈 아키텍트)
Amazon Web Services Korea
 
AWS를 활용한 첫 빅데이터 프로젝트 시작하기(김일호)- AWS 웨비나 시리즈 2015
Amazon Web Services Korea
 
Em tempo real: Ingestão, processamento e analise de dados
Amazon Web Services LATAM
 
20141021 AWS Cloud Taekwon - Big Data on AWS
Amazon Web Services Korea
 
Path to the future #4 - Ingestão, processamento e análise de dados em tempo real
Amazon Web Services LATAM
 
AWS Summit Seoul 2015 - AWS 클라우드를 활용한 빅데이터 및 실시간 스트리밍 분석
Amazon Web Services Korea
 
Get Value From Your Data
Danilo Poccia
 
Value of Data Beyond Analytics by Darin Briskman
Sameer Kenkare
 
Aws centralized logs
Subramanyam Vemala
 
Need for Speed – Intro To Real-Time Data Streaming Analytics on AWS | AWS Sum...
AWS Summits
 
1.0 - AWS-DAS-Collection-Kinesis.pdf
SreeGe1
 
Big Data on AWS
Szilveszter Molnár
 
Big data on aws
Serkan Özal
 
Introduction to AWS Kinesis
Steven Ensslen
 
Amazed by AWS Series #4
Amazon Web Services Korea
 
AWS data engineer online course | AWS data engineer training
Accentfuture
 
Data Analysis - Journey Through the Cloud
Ian Massingham
 
Architecting Data Lakes on AWS
Sajith Appukuttan
 
AWS Floor 28 - Building Data lake on AWS
Adir Sharabi
 
Big Data, Ingeniería de datos, y Data Lakes en AWS
javier ramirez
 
Ad

More from Gigaom (20)

PPTX
Structure 2014 - The strategic value of the cloud - Joe Weinman
Gigaom
 
PPTX
Structure 2014 - The right and wrong way to scale - Rackspace
Gigaom
 
PPTX
Structure 2014 - The future of cloud computing survey results
Gigaom
 
PPTX
Structure 2014 - Launchpad Competition
Gigaom
 
PPTX
Structure 2014 - Disrupting the data center - Intel sponsor workshop
Gigaom
 
PPTX
Structure 2014 - Cloud trends - Battery
Gigaom
 
PDF
Structure Data 2014: HOW MICRODATA CAN SAY A LOT ABOUT MACROECONOMICS, David ...
Gigaom
 
PDF
Structure Data 2014: QLIK SPONSOR WORKSHOP: ANALYTICS THE WAY NATURE INTENDED...
Gigaom
 
PDF
Structure Data 2014: FIVE MYTHS ABOUT BIG DATA, Amit Bendov
Gigaom
 
PDF
Structure Data 2014: AMID BILLIONS OF METRICS, YOUR SOFTWARE IS TRYING TO TEL...
Gigaom
 
PDF
Structure Data 2014: SISENSE SPONSOR WORKSHOP: ON BEER, CHIPS AND DATA,
Gigaom
 
PDF
Structure Data 2014: INVERTING 80/20: BEYOND BESPOKE BIG DATA, Ari Gesher
Gigaom
 
PDF
Structure Data 2014: TRACKING A SOCCER GAME WITH BIG DATA, Chris Haddad
Gigaom
 
PDF
Structure Data 2014: TECH AGAINST HUMAN TRAFFICKING AND ILLICIT NETWORKS, Jus...
Gigaom
 
PDF
Structure Data 2014: DATA DRIVEN DESIGN AT FORMULA ONE SPEED, Geoff McGrath
Gigaom
 
PDF
Structure Data 2014: IS VIDEO BIG DATA?, Steve Russell
Gigaom
 
PDF
How Data is Remaking E-commerce - from Roadmap 2013
Gigaom
 
PDF
25 Favorite Experiences in Tech - from Roadmap 2013
Gigaom
 
PDF
How Moore’s Law is Influencing Design - from Roadmap 2013
Gigaom
 
PDF
Building the Visual Language of the Web - from Roadmap 2013
Gigaom
 
Structure 2014 - The strategic value of the cloud - Joe Weinman
Gigaom
 
Structure 2014 - The right and wrong way to scale - Rackspace
Gigaom
 
Structure 2014 - The future of cloud computing survey results
Gigaom
 
Structure 2014 - Launchpad Competition
Gigaom
 
Structure 2014 - Disrupting the data center - Intel sponsor workshop
Gigaom
 
Structure 2014 - Cloud trends - Battery
Gigaom
 
Structure Data 2014: HOW MICRODATA CAN SAY A LOT ABOUT MACROECONOMICS, David ...
Gigaom
 
Structure Data 2014: QLIK SPONSOR WORKSHOP: ANALYTICS THE WAY NATURE INTENDED...
Gigaom
 
Structure Data 2014: FIVE MYTHS ABOUT BIG DATA, Amit Bendov
Gigaom
 
Structure Data 2014: AMID BILLIONS OF METRICS, YOUR SOFTWARE IS TRYING TO TEL...
Gigaom
 
Structure Data 2014: SISENSE SPONSOR WORKSHOP: ON BEER, CHIPS AND DATA,
Gigaom
 
Structure Data 2014: INVERTING 80/20: BEYOND BESPOKE BIG DATA, Ari Gesher
Gigaom
 
Structure Data 2014: TRACKING A SOCCER GAME WITH BIG DATA, Chris Haddad
Gigaom
 
Structure Data 2014: TECH AGAINST HUMAN TRAFFICKING AND ILLICIT NETWORKS, Jus...
Gigaom
 
Structure Data 2014: DATA DRIVEN DESIGN AT FORMULA ONE SPEED, Geoff McGrath
Gigaom
 
Structure Data 2014: IS VIDEO BIG DATA?, Steve Russell
Gigaom
 
How Data is Remaking E-commerce - from Roadmap 2013
Gigaom
 
25 Favorite Experiences in Tech - from Roadmap 2013
Gigaom
 
How Moore’s Law is Influencing Design - from Roadmap 2013
Gigaom
 
Building the Visual Language of the Web - from Roadmap 2013
Gigaom
 
Ad

Recently uploaded (20)

PDF
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
PPTX
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
PPTX
UiPath Academic Alliance Educator Panels: Session 2 - Business Analyst Content
DianaGray10
 
PDF
The Builder’s Playbook - 2025 State of AI Report.pdf
jeroen339954
 
PDF
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
PDF
Blockchain Transactions Explained For Everyone
CIFDAQ
 
PPTX
"Autonomy of LLM Agents: Current State and Future Prospects", Oles` Petriv
Fwdays
 
PDF
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
PDF
NewMind AI - Journal 100 Insights After The 100th Issue
NewMind AI
 
PDF
New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
PDF
July Patch Tuesday
Ivanti
 
PDF
Timothy Rottach - Ramp up on AI Use Cases, from Vector Search to AI Agents wi...
AWS Chicago
 
PDF
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
PPTX
OpenID AuthZEN - Analyst Briefing July 2025
David Brossard
 
PDF
Achieving Consistent and Reliable AI Code Generation - Medusa AI
medusaaico
 
PDF
Presentation - Vibe Coding The Future of Tech
yanuarsinggih1
 
PPTX
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
PDF
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
PDF
Python basic programing language for automation
DanialHabibi2
 
PPTX
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
UiPath Academic Alliance Educator Panels: Session 2 - Business Analyst Content
DianaGray10
 
The Builder’s Playbook - 2025 State of AI Report.pdf
jeroen339954
 
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
Blockchain Transactions Explained For Everyone
CIFDAQ
 
"Autonomy of LLM Agents: Current State and Future Prospects", Oles` Petriv
Fwdays
 
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
NewMind AI - Journal 100 Insights After The 100th Issue
NewMind AI
 
New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
July Patch Tuesday
Ivanti
 
Timothy Rottach - Ramp up on AI Use Cases, from Vector Search to AI Agents wi...
AWS Chicago
 
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
OpenID AuthZEN - Analyst Briefing July 2025
David Brossard
 
Achieving Consistent and Reliable AI Code Generation - Medusa AI
medusaaico
 
Presentation - Vibe Coding The Future of Tech
yanuarsinggih1
 
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
Python basic programing language for automation
DanialHabibi2
 
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 

Structure Data 2014: BIG DATA ANALYTICS RE-INVENTED, Ryan Waite

  • 3. © 2014 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified, or distributed in whole or in part without the express consent of Amazon.com, Inc. Data Services at AWS or Why We Built Amazon Kinesis Ryan Waite, General Manager, AWS Data Services
  • 4. •  Metering service •  10s of millions records per second •  Terabytes per hour •  Hundreds of thousands of sources •  Auditors guarantee 100% accuracy at month end •  Data Warehouse •  100s extract-transform-load (ETL) jobs every day •  Hundreds of thousands of files per load cycle •  Hundreds of daily users •  Hundreds of queries per hour •  Fraud •  95% of new customers able to use AWS in minutes •  Random forest model to detect fraudulent behavior •  Tagging Service •  Hundreds of millions of tags on 10s of millions of resources •  99.9% of read/write operations handled in < 250ms Some statistics about what AWS Data Services does
  • 6. Workload •  10s of millions records/sec •  Multiple TB per hour •  100,000s of sources Pain points •  Doesn’t scale elastically •  Customers want real-time alerts •  Expensive to operate •  Relies on eventually consistent storage Internal AWS Metering Service S3 Process Submissions Store Batches Process Hourly w/ Hadoop Clients Submitting Data Data Warehouse
  • 8. Workload •  Daily ingestion of hundreds of data sources •  > 3 hours to load and audit data •  Hundreds of customers •  Hundreds of queries per hour Pain points •  Data volumes keep growing •  Missing our SLAs at month-end •  ETL solution is operationally expensive •  24 hour old data isn’t fresh enough Internal AWS Internal Data Warehouse Hundreds of internal data sources Legacy ETL solution Data staged in Amazon S3 Primary and secondary data warehouses Data Warehouse Data Warehouse
  • 9. Old requirements •  Capture huge amounts of data and process it in hourly or daily batches New requirements •  Make decisions faster, sometimes in real-time •  Make it easy to “keep everything” •  Multiple applications can process data in parallel Our big data transition
  • 10. Big data comes from the small {! "payerId": "Joe",! "productCode": "AmazonS3",! "clientProductCode": "AmazonS3",! "usageType": "Bandwidth",! "operation": "PUT",! "value": "22490",! "timestamp": "1216674828"! }! Metering Record 127.0.0.1 user-identifier frank [10/Oct/2000:13:55:36 -0700] "GET /apache_pb.gif HTTP/1.0" 200 2326! Common Log Entry <165>1 2003-10-11T22:14:15.003Z mymachine.example.com evntslog - ID47 [exampleSDID@32473 iut="3" eventSource="Application" eventID="1011"] [examplePriority@32473 class="high"]! Syslog Entry “SeattlePublicWater/Kinesis/123/ Realtime” – 412309129140! MQTT Record <R,AMZN ,T,G,R1>! NASDAQ OMX Record
  • 11. Kinesis Movement or activity in response to a stimulus. A fully managed service for real-time processing of high-volume, streaming data. Kinesis can store and process terabytes of data an hour from hundreds of thousands of sources. Data is replicated across multiple Availability Zones to ensure high durability and availability.
  • 12. Kinesis architecture Amazon Web Services AZ AZ AZ Durable, highly consistent storage replicates data across three data centers (availability zones) Aggregate and archive to S3 Millions of sources producing 100s of terabytes per hour Front End Authentication Authorization Ordered stream of events supports multiple readers Real-time dashboards and alarms Machine learning algorithms or sliding window analytics Aggregate analysis in Hadoop or a data warehouse Inexpensive: $0.028 per million puts
  • 13. •  Simple Put interface to store data in Kinesis •  Producers use a put call to store data in a Stream •  A Partition Key is used to distribute the puts across Shards •  A unique Sequence # is returned to the Producer upon a successful put call •  Streams are made of Shards •  A Kinesis Stream is composed of multiple Shards •  Each Shard ingests up to 1MB/sec of data and up to 1000 TPS •  All data is stored for 24 hours •  Scale Kinesis streams by adding or removing Shards Producer Shard 1 Shard 2 Shard 3 Shard n Shard 4 Producer Producer Producer Producer Producer Producer Producer Producer Kinesis Make it easy to “capture everything”
  • 14. Shard 1 Shard 2 Shard 3 Shard n Shard 4 KCL Worker 1 KCL Worker 2 EC2 Instance KCL Worker 3 KCL Worker 4 EC2 Instance KCL Worker n EC2 Instance Kinesis Making it easier to process data in parallel •  In order to keep up with the stream, an application must: •  Be distributed, to handle multiple shards and scaling up/down •  Be fault tolerant, to handle failures in hardware or software •  Scale up and down as the number of shards increase or decrease •  Kinesis Client Library (KCL) helps with distributed processing: •  Abstracts code from knowing about individual shards •  Automatically starts a Worker for each shard •  Increases and decreases Workers as number of shards changes •  Uses checkpoints to keep track of a Worker’s position in the stream •  Restarts Workers if they fail •  Also works with EC2 Auto Scaling
  • 15. Sending & Reading data from Kinesis Streams HTTP Post AWS SDK LOG4J Flume Fluentd Get* APIs Kinesis Client Library + Connector Library Apache Storm Amazon Elastic MapReduce Sending Reading
  • 16. New Internal Metering Service Capture Submissions Process in Realtime Store in Redshift Clients Submitting Data Workload •  Tens of millions records/sec •  Multiple TB per hour •  100,000s of sources New features •  Scale with the business •  Provide real-time alerting •  Inexpensive •  Improved auditing
  • 17. Workload •  Daily load of billions records from millions of files from hundreds of sources •  3 hour SLA to load and audit data •  Hundreds of customers •  Hundreds of queries per hour New features •  Our data is fresh, we ingest every 6 hours •  Ingesting new data sets for the business •  “Hammerstone” ETL solution •  Built on AWS Data Pipeline •  Build business specific marts •  Build workload specific clusters •  Now processing triple the volume in less than 25% of the time •  Supports a variety of analytics tools: Tableau, R, Toad, SQL Developer, etc. New Internal AWS Data Warehouse Over 200 internal data sources Data staged in Amazon S3 "Hammerstone:" Custom ETL using AWS Data Pipeline Data processing Redshift cluster Batch reporting Redshift cluster Ad hoc query Redshift cluster
  • 18. •  “Our services and applications emit more than 1.5 million events per second during peak hours, or around 80 billion events per day. The events could be log messages, user activity records, system operational data, or any arbitrary data that our systems need to collect for business, product, and operational analysis.” •  “As the number of clients that utilize targeted advertising grows, access to on-demand compute and storage resources becomes a requirement.” •  Customers use Market Replay on the trade support desk to validate client questions; compliance officers use it to validate execution requirements and rate National Market System (NMS) compliance; and traders and brokers use it to look at certain points in time to view missed opportunities or, potentially, unforeseen events Common use cases
  • 19. Bizo: Digital Ad. Tech Metering with Amazon Kinesis Continuous Ad Metrics Extraction Incremental Ad. Statistics Computation Metering Record Archive Ad Analytics Dashboard
  • 20. Supercell: Gaming Analytics with Amazon Kinesis Real-time Clickstream Processing App Aggregate Statistics Clickstream Archive In-Game Engagement Trends Dashboard