spit, gather, churn - mining infrastructure data for ops intelligence

24
Spit , Gather, Churn Mining Infrastructure Data for Ops Intelligence Ranjib Dey Twitter: @RanjibDey IRC/Github :@ranjibd

Upload: ranjib-dey

Post on 28-Jan-2015

4.726 views

Category:

Technology


0 download

DESCRIPTION

Presentation on how to design infrastructure services for meaningful ops intelligence, and how to integrate ops intelligence as feedback for software development

TRANSCRIPT

Page 1: Spit, Gather, Churn - Mining Infrastructure Data for Ops Intelligence

Spit , Gather, ChurnMining Infrastructure Data for Ops Intelligence

Ranjib DeyTwitter: @RanjibDey

IRC/Github :@ranjibd

Page 2: Spit, Gather, Churn - Mining Infrastructure Data for Ops Intelligence

About Me

• Senior software engineer in the CD practice group @ThoughtWorks India

• Was system administrator before @ThoughtWorks India

• Worked on life science related algorithms @Persistent Systems before that.

• Masters in Bio-Informatics (thesis on HPC, Machine Learning)

• Life Science graduate

Page 3: Spit, Gather, Churn - Mining Infrastructure Data for Ops Intelligence

Agenda

• What is Ops intelligence?• Why its needed? Implications of Ops

Intelligence.• Why it is important now?• Designing intelligent infrastructure services • How the future looks like?• Q & A

Page 4: Spit, Gather, Churn - Mining Infrastructure Data for Ops Intelligence

What is Ops Intelligence?

• Suitable for fast , meaningful ops feedback to business

• Abstracts infrastructure details• Tech-Stack neutral• Allows forecasting• Pre-emptive in nature

Page 5: Spit, Gather, Churn - Mining Infrastructure Data for Ops Intelligence

What is intelligence? Data Mining

Data

Information

Knowledge

Page 6: Spit, Gather, Churn - Mining Infrastructure Data for Ops Intelligence

Why its needed? Implications

• Self serving • Lean• Elasticity• Adaptive

Page 7: Spit, Gather, Churn - Mining Infrastructure Data for Ops Intelligence

Why its important now?

• Market volatility increased• Its not the development, but the deployment ,

release and maintenance that’s introducing delay.

• Cloud is here• Infrastructure tooling is matured • Continuous Delivery and DevOps movement is

on

Page 8: Spit, Gather, Churn - Mining Infrastructure Data for Ops Intelligence

Designing intelligent infrastructure services

• End user driven services• Adhere to core unix philosophies• Remember the ‘|’ , don’t create dead ends• Feedback driven , iterative improvement• Think of horizontal scalability• Infrastructure as a code

Page 9: Spit, Gather, Churn - Mining Infrastructure Data for Ops Intelligence

Spitting out ops information

• State and Metrics• Logs

Page 10: Spit, Gather, Churn - Mining Infrastructure Data for Ops Intelligence

Metrics

• An unit test for a method and a monitoring service for each infrastructure service

• A single monitoring service can have multiple metrics

• Metrics can have relationships • These features should be configurable

Page 11: Spit, Gather, Churn - Mining Infrastructure Data for Ops Intelligence

Metrics driven infrastructure development

Service Metric

Page 12: Spit, Gather, Churn - Mining Infrastructure Data for Ops Intelligence

Logging

• Decouple logging framework from the core services

• Have configurable logging levels• Enforce appropriate logging and levels• Enforce logging patterns• Logs and logging patterns can be modeled as

metric too.

Page 13: Spit, Gather, Churn - Mining Infrastructure Data for Ops Intelligence

Metrics on Log

Log Metric on log pattern

Page 14: Spit, Gather, Churn - Mining Infrastructure Data for Ops Intelligence

Gathering Ops Information

• Information aggregation• Consider how you will use it• Metrics and Logs• Centralized logging

Page 15: Spit, Gather, Churn - Mining Infrastructure Data for Ops Intelligence

Gathering Ops information

• Two main patterns:– Time series data – OLAP Cubes

• Storage engine considerations– Flat files– RRDs– NoSQLs and other distributed storage systems

Page 16: Spit, Gather, Churn - Mining Infrastructure Data for Ops Intelligence

Churning Ops Information

• Visualizations– Charting – Trending– Customized Visualizations

• Dashboards– Customized views for stake holders– Information Radiators

Page 17: Spit, Gather, Churn - Mining Infrastructure Data for Ops Intelligence

Churning Ops Information

• Logs– Search– Index– Alerts and notification on top of aggregated logs

Page 18: Spit, Gather, Churn - Mining Infrastructure Data for Ops Intelligence

Validation 1: Continuous Delivery

Page 19: Spit, Gather, Churn - Mining Infrastructure Data for Ops Intelligence

Validation 1: Continuous Delivery

Page 20: Spit, Gather, Churn - Mining Infrastructure Data for Ops Intelligence

Validation 2: Performance Enhancements

Page 21: Spit, Gather, Churn - Mining Infrastructure Data for Ops Intelligence

Validation 3: Holistic information

Page 22: Spit, Gather, Churn - Mining Infrastructure Data for Ops Intelligence

Validation 4: Meaningful information

• Meaningful alerts:– Nodable http://www.nodeable.com/

• Log analytics:– Loggly http://loggly.com/– SplunkStorm https://www.splunkstorm.com/– Graylog2/Logstash

• Dashboards for Metrics– Graphite (+graphiti)

Page 23: Spit, Gather, Churn - Mining Infrastructure Data for Ops Intelligence

How the future looks like?

• IaaS• Ops is not the bottleneck • Context aware infrastructure• Test driven infrastructure• SSH is not a must

• “ The machines are alive” – Jon Crosby…… and they are emerging

Page 24: Spit, Gather, Churn - Mining Infrastructure Data for Ops Intelligence

Thank You