Mantis in Action
Neeraj Joshi and Justin Becker 6/12/2015
Mantis in Action Neeraj Joshi and Justin Becker 6/12/2015 Managing - - PowerPoint PPT Presentation
Mantis in Action Neeraj Joshi and Justin Becker 6/12/2015 Managing a complex operational environment is hard Developing an understanding of what is going on Knowing what works Developing an understanding of what is going on Identify what
Neeraj Joshi and Justin Becker 6/12/2015
Knowing what works
Identify what doesn’t work
Determining impact when doesn’t work
specifically, we need…
…to help comprehend what is going on in our
Make the case a relationship exists, between complexity and comprehension
So, in order to manage complex environments, need to rethink insights, shift the curve
Sequence of Events time
1 2 3 4
Transformations applied to a Stream to create a new stream
time
1 4 9 16 map (x=>sqrt(x))
time
1 2 3 4
S O U R C E
Stream IN
S I N K Result OUT Stage 1 Stage 2 Stage n
A sequence of functions applied to a stream
map window reduce merge
S O U R C E
Stream IN
S I N K Result OUT Stage 1 Stage 2 Stage n
Text
aa Job Name Job Version
Parameter Parameter Parameter
Min/Max Instances of the job Min/Max runtime Perpetual or Transient
Device Logs Source Job TopN Job Server Logs Source Job Anomaly Detector Job Metrics Aggregator Job Alert Service
Sensitive
Scaling Config CPU Strategy Network Strategy
Source Job
Consumer Job
Data Producers
by Brendan Gregg @brendangregg
https://docs.google.com/presentation/d/18i-d72m7tD4wKlzm-1PCR8g62l66_9Btbg5-fuFRqf0/edit#slide=id.g761289dab_0_77
consumes less CPU / request
migration
allocation rate
CPU consumed reduces as load increases
lower latency under high load
contentions
migrations
Latency knee for Tomcat ~ 400 Latency knee for Netty ~700
Non-blocking I/O Async Processing
http://signsofpolitics.blogspot.com/2009/03/around-and-about-resilience.html
inevitable
monitored with heartbeats
replaced
can fail
constantly monitored and corrected
Amazon SQS
f1 f2 f3 f4
Cold Source
1024 1024 1024 1024 100 100 100 100
f1 f2 f3 f4
Cold Source
Max Max Max Max 100 100 100 100
f1 f2 f3 f4
Cold Source
1 1 1 1 1 1 1 1
f2 f3 f4
Hot Source
10 10 10 100 10 10 10
Strategy Function
90
Drop Buffer Scale-up