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
110
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
73
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
150
Optimizing JS Apps to increase performance
manan
0
170
JavaScript DevOPS - Automating everything JS
manan
1
1.4k
Offline website testing
manan
0
77
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
AWSの生成AIサービス Amazon Bedrock入門!(2025年1月版)
minorun365
PRO
7
470
[IBM TechXchange Dojo]Watson Discoveryとwatsonx.aiでRAGを実現!事例のご紹介+座学②
siyuanzh09
0
110
AWS re:Invent 2024 recap in 20min / JAWSUG 千葉 2025.1.14
shimy
1
100
Amazon Q Developerで.NET Frameworkプロジェクトをモダナイズしてみた
kenichirokimura
1
200
商品レコメンドでのexplicit negative feedbackの活用
alpicola
2
370
RubyでKubernetesプログラミング
sat
PRO
4
160
メンバーがオーナーシップを発揮しやすいチームづくり
ham0215
2
140
AIアプリケーション開発でAzure AI Searchを使いこなすためには
isidaitc
1
120
機械学習を「社会実装」するということ 2025年版 / Social Implementation of Machine Learning 2025 Version
moepy_stats
5
1.2k
30分でわかる「リスクから学ぶKubernetesコンテナセキュリティ」/30min-k8s-container-sec
mochizuki875
3
450
Alignment and Autonomy in Cybozu - 300人の開発組織でアラインメントと自律性を両立させるアジャイルな組織運営 / RSGT2025
ama_ch
1
2.4k
0→1事業こそPMは営業すべし / pmconf #落選お披露目 / PM should do sales in zero to one
roki_n_
PRO
1
1.5k
Featured
See All Featured
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
226
22k
Producing Creativity
orderedlist
PRO
343
39k
Build The Right Thing And Hit Your Dates
maggiecrowley
33
2.5k
It's Worth the Effort
3n
183
28k
A Modern Web Designer's Workflow
chriscoyier
693
190k
Optimising Largest Contentful Paint
csswizardry
33
3k
Making Projects Easy
brettharned
116
6k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
45
2.3k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
10
870
Statistics for Hackers
jakevdp
797
220k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
330
21k
Adopting Sorbet at Scale
ufuk
74
9.2k
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