BUBUKU kafka supervisor Dmitry Sorokin Zalando SE What is - - PowerPoint PPT Presentation

bubuku kafka supervisor
SMART_READER_LITE
LIVE PREVIEW

BUBUKU kafka supervisor Dmitry Sorokin Zalando SE What is - - PowerPoint PPT Presentation

BUBUKU kafka supervisor Dmitry Sorokin Zalando SE What is supervisor From wikipedia: blablabla controls the execution of other routines and regulates work scheduling, input/output operations, error actions, and similar functions and


slide-1
SLIDE 1

Dmitry Sorokin Zalando SE

BUBUKU kafka supervisor

slide-2
SLIDE 2

2

What is supervisor

From wikipedia: blablabla… controls the execution of other routines and regulates work scheduling, input/output operations, error actions, and similar functions and regulates the flow of work in a data processing system.

slide-3
SLIDE 3

3

Do you need supervisor?

Yes:

  • software not stable
  • software is running in

frequently changed environment

  • different instances have to

synchronize their actions

No:

  • software is stable
  • there are no frequent

unpredictable restarts

  • software have auto-recovery

feature inside

slide-4
SLIDE 4

4

How to create supervisor

  • 1. Do not create supervisor, search for existing

2. Select technology to work with 3. Think about memory 4. Think about system integration 5. Think about the way of communication with supervisor 6. If you are providing any logs - think what and how you are logging 7. If case of command line tool - please, think about stdout, stderr, stdin

slide-5
SLIDE 5

5

Bubuku What can bubuku do?

  • start/restart kafkas in a sequence
  • restart kafka in case of malfunction
  • provide simple to use api for managing cluster
  • balance partitions distribution
  • provide estimates on disk usage
  • ptimize free space distribution across brokers
slide-6
SLIDE 6

6

Bubuku - balancing partitions

slide-7
SLIDE 7

7

Bubuku - balancing partitions

  • takes a lot of time
  • free space is not evenly distributed
  • verall cluster performance saturation during rebalance
slide-8
SLIDE 8

8

Bubuku - swap fat slim

  • codename: fatboy slim (Push The Tempo!)
  • analyzes partitions on all brokers, taking into account rack awareness
slide-9
SLIDE 9

9

Bubuku

https://github.com/zalando-nakadi/bubuku dmitriy.sorokin@zalando.de Questions?