SlideShare a Scribd company logo
AWS KINESIS
SCRATCHING THE SURFACE OF
QUESTION TIME
QUESTION
What (Kafka?) cluster do you need

to ingest:
- 10,000 record/sec
- record size 512Bytes
KINESIS
AWS KINESIS
WHAT IS KINESIS?
▸ Platform for streaming data on AWS
▸ "sometimes TBs per hour"
AWS KINESIS
MOTIVATION
▸ Highly Scalable
▸ Durable
▸ Elastic
▸ Replay-able reads
AWS KINESIS
KINESIS COMPONENTS
Firehose AnalyticsStreams
KINESIS STREAMS
AWS KINESIS STREAMS
AWS KINESIS STREAMS
TERMINOLOGY
▸ Streams - ordered sequence of data records
▸ Data record - Sequence Number, Partition Key, Data Blob
▸ 1MB max
▸ Retention period - 24h - 7d
▸ Producers, Consumers
▸ Shards
AWS KINESIS STREAMS
KINESIS STREAMS - SHARDS
▸ Fixed unit of capacity
▸ Read
▸ 5 transaction / sec
▸ 2MB / sec
▸ Write
▸ 1000 records / sec
▸ 1MB / sec
QUESTION
What cluster do you need to ingest
- 10,000 records/sec
- record size 512Bytes
AWS KINESIS STREAMS
KINESIS STREAMS - SHARD CALCULATION
Requirement
Kinesis Stream Write
Capacity
10,000 records/sec 1,000 Record/sec
512 Bytes/rec 

(5MB/sec)
1MB/sec
AWS KINESIS STREAMS
KINESIS STREAMS - SHARD CALCULATION
▸ 10 Shards
▸ 10,000 records / sec
▸ 10MB / sec
DEMO
AWS KINESIS STREAMS
DEMO
▸ Create a stream with 1 shard
▸ Put 10 records / sec
▸ Read in batches every sec
{ RecordId: 11, KeyPressCount: 22, UserId: 33 }
KINESIS
FIREHOSE
AWS KINESIS FIREHOSE
AWS KINESIS FIREHOSE
TERMINOLOGY
▸ Firehose delivery stream
▸ record - 1MB max
▸ data producer
▸ buffer size, buffer interval
AWS KINESIS FIREHOSE
DATA DELIVERY
▸ KINESIS STREAM
▸ S3
▸ Redshift
▸ Elasticsearch
DEMO
KINESIS
ANALYTICS
AWS KINESIS ANALYTICS
AWS KINESIS ANALYTICS
AWS KINESIS ANALYTICS
TERMINOLOGY
▸ Input
▸ Application Code
▸ In-App-Streams
▸ Pumps
▸ Streaming SQL
▸ Output
AWS KINESIS ANALYTICS
STREAMING SQL
▸ Tumbling Window
[...] GROUP BY

FLOOR((“SOURCE_SQL_STREAM_001”.ROWTIME – TIMESTAMP
‘1970-01-01 00:00:00’) SECOND / 10 TO SECOND)
▸ Sliding Window
SELECT AVG(change) OVER W1 as avg_change

FROM "SOURCE_SQL_STREAM_001"

WINDOW W1 AS (PARTITION BY ticker_symbol RANGE INTERVAL
'10' SECOND PRECEDING)
AWS KINESIS ANALYTICS
STREAMING SQL - TUMBLING WINDOW
DEMO
AWS KINESIS ANALYTICS
DEMO
▸ Check BDMeetup Application in AWS Console
▸ Producer / Consumer
PRODUCER

APP
BDMEETUP STREAM
ANALYTICS
APP
BDMEETUP-OUTPUT
STREAM
CONSUMER

APP
THANK YOU

More Related Content

PDF
Big Data on AWS
PDF
AWS Kinesis Streams
PPTX
Real time sentiment analysis using twitter stream api & aws kinesis
PPT
Building a data warehouse with AWS Redshift, Matillion and Yellowfin
PPTX
Real Time Big Data Processing on AWS
PDF
1.0 - AWS-DAS-Collection-Kinesis.pdf
PPTX
Rocking mongo db on the cloud
PDF
2017 AWS DB Day | AWS 데이터베이스 개요 - 나의 업무에 적합한 데이터베이스는?
Big Data on AWS
AWS Kinesis Streams
Real time sentiment analysis using twitter stream api & aws kinesis
Building a data warehouse with AWS Redshift, Matillion and Yellowfin
Real Time Big Data Processing on AWS
1.0 - AWS-DAS-Collection-Kinesis.pdf
Rocking mongo db on the cloud
2017 AWS DB Day | AWS 데이터베이스 개요 - 나의 업무에 적합한 데이터베이스는?

More from Szilveszter Molnár (7)

PDF
AWS VPC, ELB, Route53 and CloudFront
PDF
Introduction 2 to aws and storage options
PDF
Introduction to AWS
PDF
Lambda architecture
PDF
Introduction to Regression Analysis
PDF
2015 Mar 12 - IoT Conference, Moscow - Beyond Fitness Trackers: Discovering H...
PDF
MongoDB + Node.JS + EPAM ROAD
AWS VPC, ELB, Route53 and CloudFront
Introduction 2 to aws and storage options
Introduction to AWS
Lambda architecture
Introduction to Regression Analysis
2015 Mar 12 - IoT Conference, Moscow - Beyond Fitness Trackers: Discovering H...
MongoDB + Node.JS + EPAM ROAD
Ad

Recently uploaded (20)

PDF
Design an Analysis of Algorithms I-SECS-1021-03
PDF
AI in Product Development-omnex systems
PPTX
Online Work Permit System for Fast Permit Processing
PDF
Wondershare Filmora 15 Crack With Activation Key [2025
PDF
Upgrade and Innovation Strategies for SAP ERP Customers
PDF
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
PDF
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
PDF
Odoo Companies in India – Driving Business Transformation.pdf
PPTX
Operating system designcfffgfgggggggvggggggggg
PPTX
ManageIQ - Sprint 268 Review - Slide Deck
PDF
2025 Textile ERP Trends: SAP, Odoo & Oracle
PPTX
Introduction to Artificial Intelligence
PDF
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
PPTX
Transform Your Business with a Software ERP System
PDF
How to Choose the Right IT Partner for Your Business in Malaysia
PDF
Digital Strategies for Manufacturing Companies
PDF
Nekopoi APK 2025 free lastest update
PDF
Design an Analysis of Algorithms II-SECS-1021-03
PPTX
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
PDF
Softaken Excel to vCard Converter Software.pdf
Design an Analysis of Algorithms I-SECS-1021-03
AI in Product Development-omnex systems
Online Work Permit System for Fast Permit Processing
Wondershare Filmora 15 Crack With Activation Key [2025
Upgrade and Innovation Strategies for SAP ERP Customers
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
Odoo Companies in India – Driving Business Transformation.pdf
Operating system designcfffgfgggggggvggggggggg
ManageIQ - Sprint 268 Review - Slide Deck
2025 Textile ERP Trends: SAP, Odoo & Oracle
Introduction to Artificial Intelligence
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
Transform Your Business with a Software ERP System
How to Choose the Right IT Partner for Your Business in Malaysia
Digital Strategies for Manufacturing Companies
Nekopoi APK 2025 free lastest update
Design an Analysis of Algorithms II-SECS-1021-03
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
Softaken Excel to vCard Converter Software.pdf
Ad

Aws Kinesis