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
70
Necessary tooling and monitoring for performance critical applications - RootConf 2017
manan
0
360
Necessary tooling and monitoring for performance critical applications
manan
1
850
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
74
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
OCI 運用監視サービス 概要
oracle4engineer
PRO
0
4.8k
スクラムチームを立ち上げる〜チーム開発で得られたもの・得られなかったもの〜
ohnoeight
2
350
Lambda10周年!Lambdaは何をもたらしたか
smt7174
2
110
ISUCONに強くなるかもしれない日々の過ごしかた/Findy ISUCON 2024-11-14
fujiwara3
8
870
B2B SaaSから見た最近のC#/.NETの進化
sansantech
PRO
0
760
The Role of Developer Relations in AI Product Success.
giftojabu1
0
120
安心してください、日本語使えますよ―Ubuntu日本語Remix提供休止に寄せて― 2024-11-17
nobutomurata
1
990
[FOSS4G 2024 Japan LT] LLMを使ってGISデータ解析を自動化したい!
nssv
1
210
Evangelismo técnico: ¿qué, cómo y por qué?
trishagee
0
360
フルカイテン株式会社 採用資料
fullkaiten
0
40k
Why does continuous profiling matter to developers? #appdevelopercon
salaboy
0
190
TypeScript、上達の瞬間
sadnessojisan
46
13k
Featured
See All Featured
Designing the Hi-DPI Web
ddemaree
280
34k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
42
9.2k
Building Adaptive Systems
keathley
38
2.3k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
226
22k
Statistics for Hackers
jakevdp
796
220k
Git: the NoSQL Database
bkeepers
PRO
427
64k
A designer walks into a library…
pauljervisheath
204
24k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
47
5k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
6
410
Put a Button on it: Removing Barriers to Going Fast.
kastner
59
3.5k
No one is an island. Learnings from fostering a developers community.
thoeni
19
3k
The Straight Up "How To Draw Better" Workshop
denniskardys
232
140k
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