Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Realtime, Fault Tolerant Systems with kafka
Search
Manan
August 28, 2016
Technology
0
100
Realtime, Fault Tolerant Systems with kafka
Presented at ThoughtWorks XConf '16 Bangalore, Gurgaon.
Manan
August 28, 2016
Tweet
Share
More Decks by Manan
See All by Manan
Accelerated growth through incentive-less referrals
manan
0
72
Necessary tooling and monitoring for performance critical applications - RootConf 2017
manan
0
370
Necessary tooling and monitoring for performance critical applications
manan
1
860
Needle in a haystack - Advanced DevTools usage
manan
0
140
Optimizing JS Apps to increase performance
manan
0
170
JavaScript DevOPS - Automating everything JS
manan
1
1.4k
Offline website testing
manan
0
75
Memory optimizations for your JS app to increase performance
manan
0
210
Offline in the browser with IndexedDB, AppCache and LocalStorage
manan
0
1.3k
Other Decks in Technology
See All in Technology
複雑性の高いオブジェクト編集に向き合う: プラガブルなReactフォーム設計
righttouch
PRO
0
110
OpenAIの蒸留機能(Model Distillation)を使用して運用中のLLMのコストを削減する取り組み
pharma_x_tech
4
550
Snowflake女子会#3 Snowpipeの良さを5分で語るよ
lana2548
0
230
日本版とグローバル版のモバイルアプリ統合の開発の裏側と今後の展望
miichan
1
130
フロントエンド設計にモブ設計を導入してみた / 20241212_cloudsign_TechFrontMeetup
bengo4com
0
1.9k
Snykで始めるセキュリティ担当者とSREと開発者が楽になる脆弱性対応 / Getting started with Snyk Vulnerability Response
yamaguchitk333
2
180
統計データで2024年の クラウド・インフラ動向を眺める
ysknsid25
2
840
AIのコンプラは何故しんどい?
shujisado
1
190
レンジャーシステムズ | 会社紹介(採用ピッチ)
rssytems
0
150
生成AIをより賢く エンジニアのための RAG入門 - Oracle AI Jam Session #20
kutsushitaneko
4
220
AWS re:Invent 2024 ふりかえり
kongmingstrap
0
130
祝!Iceberg祭開幕!re:Invent 2024データレイク関連アップデート10分総ざらい
kniino
2
260
Featured
See All Featured
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.3k
Fashionably flexible responsive web design (full day workshop)
malarkey
405
66k
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
8
1.2k
Building Adaptive Systems
keathley
38
2.3k
What’s in a name? Adding method to the madness
productmarketing
PRO
22
3.2k
How GitHub (no longer) Works
holman
311
140k
Product Roadmaps are Hard
iamctodd
PRO
49
11k
Building an army of robots
kneath
302
44k
A designer walks into a library…
pauljervisheath
204
24k
Imperfection Machines: The Place of Print at Facebook
scottboms
266
13k
Embracing the Ebb and Flow
colly
84
4.5k
Transcript
Manan Bharara Abhishek Khare Throughput REALTIME, FAULT TOLERANT SYSTEMS WITH
KAFKA
Manan Bharara Abhishek Khare Throughput REALTIME, FAULT TOLERANT SYSTEMS WITH
KAFKA
MONOLITH tail / grep / more / less RATIONALE
RATIONALE
RATIONALE MICROSERVICE MICROSERVICE MICROSERVICE MICROSERVICE MICROSERVICE MICROSERVICE MICROSERVICE MICROSERVICE
RATIONALE MICROSERVICE MICROSERVICE MICROSERVICE MICROSERVICE MICROSERVICE MICROSERVICE MICROSERVICE MICROSERVICE
RATIONALE MICROSERVICE MICROSERVICE MICROSERVICE MICROSERVICE MICROSERVICE MICROSERVICE MICROSERVICE MICROSERVICE AGGREGATE
RATIONALE MICROSERVICE MICROSERVICE MICROSERVICE MICROSERVICE MICROSERVICE MICROSERVICE MICROSERVICE HDFS MICROSERVICE
AGGREGATE
RATIONALE MICROSERVICE MICROSERVICE MICROSERVICE MICROSERVICE MICROSERVICE MICROSERVICE MICROSERVICE HDFS ACTIVITY
LOGS Clicks Page views MICROSERVICE AGGREGATE
RATIONALE MICROSERVICE MICROSERVICE MICROSERVICE MICROSERVICE MICROSERVICE MICROSERVICE MICROSERVICE HDFS ACTIVITY
LOGS Clicks Page views MICROSERVICE AGGREGATE
RATIONALE MICROSERVICE MICROSERVICE MICROSERVICE MICROSERVICE MICROSERVICE MICROSERVICE MICROSERVICE HBASE HDFS
ACTIVITY LOGS Clicks Page views MICROSERVICE AGGREGATE AGGREGATE
RATIONALE MICROSERVICE MICROSERVICE MICROSERVICE MICROSERVICE MICROSERVICE MICROSERVICE MICROSERVICE HBASE HDFS
ACTIVITY LOGS Clicks Page views MICROSERVICE AGGREGATE AGGREGATE AGGREGATE FILTER
RATIONALE MICROSERVICE MICROSERVICE MICROSERVICE MICROSERVICE MICROSERVICE MICROSERVICE MICROSERVICE HBASE HDFS
ACTIVITY LOGS Clicks Page views MICROSERVICE AGGREGATE AGGREGATE AGGREGATE FILTER
RATIONALE MICROSERVICE MICROSERVICE MICROSERVICE MICROSERVICE MICROSERVICE MICROSERVICE MICROSERVICE HBASE HDFS
ACTIVITY LOGS Clicks Page views MICROSERVICE AGGREGATE AGGREGATE AGGREGATE FILTER
RATIONALE MICROSERVICE MICROSERVICE MICROSERVICE MICROSERVICE MICROSERVICE MICROSERVICE MICROSERVICE HBASE HDFS
ACTIVITY LOGS Clicks Page views MICROSERVICE AGGREGATE AGGREGATE AGGREGATE FILTER
RATIONALE MICROSERVICE MICROSERVICE MICROSERVICE MICROSERVICE MICROSERVICE MICROSERVICE MICROSERVICE HBASE HDFS
ACTIVITY LOGS Clicks Page views MICROSERVICE DB K A F K A
POPULAR USE CASES • Data ingestion • Log aggregation •
User activity tracking • Message Queue
ARCHITECTURE PRODUCER PRODUCER PRODUCER PRODUCER PRODUCER BROKER BROKER BROKER ZOOKEEPER
CONSUMER CONSUMER BROKER T1 P1 T2 P1 T1 P2 T1 P1 T1 P2 T2 P1
• Replication • One leader. Multiple followers. • Leader ->
Followers • Leader election FAULT TOLERANCE
FAULT TOLERANCE DEMO
SCALABILITY
• Horizontal Scalability SCALABILITY
• Horizontal Scalability • Partition Reassignment SCALABILITY
EXAMPLE APPLICATION Clicks Page Views Custom events {visitorId: “10239”, productId:
“prd-18789”, …} SPARK STREAMING APPLICATION K A F K A Product - Products Visitor Recommendations USER FACING APPLICATION
None
None
None
None
None