15
KAFKA in practice Caique Lima @ Easy Taxi

Kafka in practice

Embed Size (px)

Citation preview

Page 1: Kafka in practice

KAFKA in practiceCaique Lima @ Easy Taxi

Page 2: Kafka in practice

Apache Kafka

distributed, partitioned, replicated commit log service

Page 3: Kafka in practice

Apache Kafka

Page 4: Kafka in practice

Apache Kafka

Page 5: Kafka in practice

Apache Kafka

Page 6: Kafka in practice

Kafka at Easy Taxi

• +600 mi unique events/day

• Currently on 0.9.0

• 3 brokers

• 10 topics

• X consumers

Page 7: Kafka in practice

Architecture

Api Kafka

Consumer 1

Consumer 2

Consumer 3

S3

Redis

Consumer N

BQ

Api

Redash

Page 8: Kafka in practice

Do’s

• Rsyslog as a scalable simple producer

• Use BigQuery to allow SQL

• Start building the event based culture

• Right-time before real-time

Page 9: Kafka in practice

Dont’s

• Doesn't run stress tests

• Increase architecture’s complexity

• Produce useless data

• Go live with default configs

Page 10: Kafka in practice

Easy Explorer

Page 11: Kafka in practice

Easy Taxi Point

Page 12: Kafka in practice

Supply demand analysis

• Allow us to understand the area behaviour

• Generate a “health indicator” based on

predefined parameters

• Take actions without any human interaction

Page 14: Kafka in practice

THANKS!

Page 15: Kafka in practice

QUESTIONS