the power of real time dashboards in agile development: visualize & attacktarantino presentation

77
VISUALIZE AND ATTACK @mario_pareja

Upload: 360-incentives

Post on 29-Jun-2015

1.193 views

Category:

Software


0 download

DESCRIPTION

Mario Pareja's talk from Fall 2014 Node.js Meetup Mario talked about how 360 leveraged Docker to distribute their production application coupled with a customized metrics dashboard app. Mario will explain the importance of the dashboard view at development time and how simple it was for 360 to run a production-like world on a laptop by leveraging Docker. Mario's goal is for everyone to leave the talk with practical examples and the confidence to leverage Docker to create and tear-down their own production-like worlds. Capturing log entries and metrics is dead simple. It’s knowing what to capture that is difficult and we really don’t know if the data we’re capturing is going to be helpful until we visualize it. We get it wrong all the time, of course, but that’s the point here; what makes sense when you’re typing away in your editor often makes zero sense at the user level. Would you ship a new UI without ever looking at it? I want everyone to re-think how we look at this - make that production insight a first-class citizen right from the get go, day one of starting to write the code.

TRANSCRIPT

Page 1: The Power of Real Time Dashboards In Agile Development: Visualize & AttackTarantino presentation

VISUALIZE AND ATTACK

@mario_pareja

Page 2: The Power of Real Time Dashboards In Agile Development: Visualize & AttackTarantino presentation

LEARNING FROMGIANTS

Page 3: The Power of Real Time Dashboards In Agile Development: Visualize & AttackTarantino presentation

LEARNING FROMNETFLIX

Page 4: The Power of Real Time Dashboards In Agile Development: Visualize & AttackTarantino presentation

LEARNING FROMLINKEDIN

Page 5: The Power of Real Time Dashboards In Agile Development: Visualize & AttackTarantino presentation

LEARNING FROMETSY

Page 6: The Power of Real Time Dashboards In Agile Development: Visualize & AttackTarantino presentation

LEARNING FROMGILT

Page 7: The Power of Real Time Dashboards In Agile Development: Visualize & AttackTarantino presentation

LEARNING FROMINFOQ.COM

Page 8: The Power of Real Time Dashboards In Agile Development: Visualize & AttackTarantino presentation

WHERE’S THE METRICS, MAN?

Page 9: The Power of Real Time Dashboards In Agile Development: Visualize & AttackTarantino presentation
Page 10: The Power of Real Time Dashboards In Agile Development: Visualize & AttackTarantino presentation

@mario_pareja

Page 11: The Power of Real Time Dashboards In Agile Development: Visualize & AttackTarantino presentation
Page 12: The Power of Real Time Dashboards In Agile Development: Visualize & AttackTarantino presentation

DELOITTE’S FAST 50COMPANIES TO WATCH

Page 13: The Power of Real Time Dashboards In Agile Development: Visualize & AttackTarantino presentation

DELOITTE’S FAST 50FASTEST GROWING

Page 14: The Power of Real Time Dashboards In Agile Development: Visualize & AttackTarantino presentation

VISUALIZE AND ATTACK

Page 15: The Power of Real Time Dashboards In Agile Development: Visualize & AttackTarantino presentation

VISUALIZE IN PRODUCTION

Page 16: The Power of Real Time Dashboards In Agile Development: Visualize & AttackTarantino presentation

VISUALIZE IN DEVELOPMENT

Page 17: The Power of Real Time Dashboards In Agile Development: Visualize & AttackTarantino presentation

ATTACK

Page 18: The Power of Real Time Dashboards In Agile Development: Visualize & AttackTarantino presentation

STORY TIME

Page 19: The Power of Real Time Dashboards In Agile Development: Visualize & AttackTarantino presentation

TMWE’RE AGILESTORY TIME

Page 20: The Power of Real Time Dashboards In Agile Development: Visualize & AttackTarantino presentation

TM

UNIT TESTS

WE’RE AGILESTORY TIME

Page 21: The Power of Real Time Dashboards In Agile Development: Visualize & AttackTarantino presentation

TM

UNIT TESTSACCEPTANCE TESTS

WE’RE AGILESTORY TIME

Page 22: The Power of Real Time Dashboards In Agile Development: Visualize & AttackTarantino presentation

TM

UNIT TESTSACCEPTANCE TESTSDELIVERY PIPELINE

WE’RE AGILESTORY TIME

Page 23: The Power of Real Time Dashboards In Agile Development: Visualize & AttackTarantino presentation

TM

UNIT TESTSACCEPTANCE TESTSDELIVERY PIPELINEPROD WEEKLY-ISH

WE’RE AGILESTORY TIME

Page 24: The Power of Real Time Dashboards In Agile Development: Visualize & AttackTarantino presentation

INBOX( )1

Page 25: The Power of Real Time Dashboards In Agile Development: Visualize & AttackTarantino presentation

INBOX( )12

Page 26: The Power of Real Time Dashboards In Agile Development: Visualize & AttackTarantino presentation

INBOX( )666

Page 27: The Power of Real Time Dashboards In Agile Development: Visualize & AttackTarantino presentation

WHAT THE HELL HAPPENEDTO MY ACTING CAREER?!

Page 28: The Power of Real Time Dashboards In Agile Development: Visualize & AttackTarantino presentation

WHAT THE HELL HAPPENEDTO MY APP?!

Page 29: The Power of Real Time Dashboards In Agile Development: Visualize & AttackTarantino presentation

METRICS

Page 30: The Power of Real Time Dashboards In Agile Development: Visualize & AttackTarantino presentation

TOOLS STATSD => GRAPHITE =>

GRAFANA

Page 31: The Power of Real Time Dashboards In Agile Development: Visualize & AttackTarantino presentation

TOOLS STATSD => GRAPHITE =>

GRAFANA

Page 32: The Power of Real Time Dashboards In Agile Development: Visualize & AttackTarantino presentation

TOOLS STATSD => GRAPHITE =>

GRAFANA

Page 33: The Power of Real Time Dashboards In Agile Development: Visualize & AttackTarantino presentation

TOOLS STATSD => GRAPHITE =>

GRAFANA

Page 34: The Power of Real Time Dashboards In Agile Development: Visualize & AttackTarantino presentation

GRAFANA ROCKS

Page 35: The Power of Real Time Dashboards In Agile Development: Visualize & AttackTarantino presentation

GRAFANA ROCKS

PRO-TIP: CONTROL RESOLUTION

Page 36: The Power of Real Time Dashboards In Agile Development: Visualize & AttackTarantino presentation

DASHBOARDSARE CODE

Page 37: The Power of Real Time Dashboards In Agile Development: Visualize & AttackTarantino presentation

VISUALIZE IN PRODUCTION

RECAP

Page 38: The Power of Real Time Dashboards In Agile Development: Visualize & AttackTarantino presentation

VISUALIZE IN DEVELOPMENT

Page 39: The Power of Real Time Dashboards In Agile Development: Visualize & AttackTarantino presentation

CAPTURE IS

EASY

Page 40: The Power of Real Time Dashboards In Agile Development: Visualize & AttackTarantino presentation

WHAT TOCAPTURE IS

HARD

Page 41: The Power of Real Time Dashboards In Agile Development: Visualize & AttackTarantino presentation

FEEDBACKCYCLE

Page 42: The Power of Real Time Dashboards In Agile Development: Visualize & AttackTarantino presentation

RETHINK

Page 43: The Power of Real Time Dashboards In Agile Development: Visualize & AttackTarantino presentation

VISUALIZE IN DEVELOPMENT

RECAP

Page 44: The Power of Real Time Dashboards In Agile Development: Visualize & AttackTarantino presentation

ATTACK

Page 45: The Power of Real Time Dashboards In Agile Development: Visualize & AttackTarantino presentation
Page 46: The Power of Real Time Dashboards In Agile Development: Visualize & AttackTarantino presentation

IMAGE

VIRTUAL HARDDRIVE SNAPSHOT

Page 47: The Power of Real Time Dashboards In Agile Development: Visualize & AttackTarantino presentation

CONTAINER

VIRTUAL MACHINEEXCEPT FASTER

Page 48: The Power of Real Time Dashboards In Agile Development: Visualize & AttackTarantino presentation

REPOSITORY

RELATED SETOF IMAGES

Page 49: The Power of Real Time Dashboards In Agile Development: Visualize & AttackTarantino presentation

REGISTRY

A PLACE TOSTORE IMAGES

Page 50: The Power of Real Time Dashboards In Agile Development: Visualize & AttackTarantino presentation

SHARE VOLUMES

MOUNT FILESYSTEMINSIDE CONTAINER

Page 51: The Power of Real Time Dashboards In Agile Development: Visualize & AttackTarantino presentation

LINKS

CONNECTCONTAINERS

Page 52: The Power of Real Time Dashboards In Agile Development: Visualize & AttackTarantino presentation

Dockerfile

CREATEIMAGES

Page 53: The Power of Real Time Dashboards In Agile Development: Visualize & AttackTarantino presentation

USINGDOCKER

Page 54: The Power of Real Time Dashboards In Agile Development: Visualize & AttackTarantino presentation

FIND IMAGE

Page 55: The Power of Real Time Dashboards In Agile Development: Visualize & AttackTarantino presentation

FIND IMAGE

COMMUNITY BUILTHUB.DOCKER.COM

Page 56: The Power of Real Time Dashboards In Agile Development: Visualize & AttackTarantino presentation

RUN CONTAINER

docker run -d --name myredis redis

Page 57: The Power of Real Time Dashboards In Agile Development: Visualize & AttackTarantino presentation

RUN CONTAINER

docker run -d --name myredis redis

Page 58: The Power of Real Time Dashboards In Agile Development: Visualize & AttackTarantino presentation

RUN CONTAINER

docker run -d --name myredis redis

Page 59: The Power of Real Time Dashboards In Agile Development: Visualize & AttackTarantino presentation

RUN CONTAINER

docker run -d --name myredis redis

Page 60: The Power of Real Time Dashboards In Agile Development: Visualize & AttackTarantino presentation

RM CONTAINER

docker rm -v -f myredis

Page 61: The Power of Real Time Dashboards In Agile Development: Visualize & AttackTarantino presentation

RM CONTAINER

docker rm -v -f myredis

Page 62: The Power of Real Time Dashboards In Agile Development: Visualize & AttackTarantino presentation

RM CONTAINER

docker rm -v -f myredis

Page 63: The Power of Real Time Dashboards In Agile Development: Visualize & AttackTarantino presentation

CONTAINER IP

docker inspect --format '{{.NetworkSettings.IPAddress}}' myredis

Page 64: The Power of Real Time Dashboards In Agile Development: Visualize & AttackTarantino presentation

CUSTOM IMAGES

CREATE DOCKERFILEBUILD IMAGE

TAG IMAGEPUSH IMAGE

Page 65: The Power of Real Time Dashboards In Agile Development: Visualize & AttackTarantino presentation

ATTACK

Page 66: The Power of Real Time Dashboards In Agile Development: Visualize & AttackTarantino presentation

directory of our little world

MEETTARANTINO

Page 67: The Power of Real Time Dashboards In Agile Development: Visualize & AttackTarantino presentation

tt clone

Page 68: The Power of Real Time Dashboards In Agile Development: Visualize & AttackTarantino presentation

tt clone

just hard-code it tm

Page 69: The Power of Real Time Dashboards In Agile Development: Visualize & AttackTarantino presentation

tt create

Page 70: The Power of Real Time Dashboards In Agile Development: Visualize & AttackTarantino presentation

tt destroy

Page 71: The Power of Real Time Dashboards In Agile Development: Visualize & AttackTarantino presentation

tt data

Page 72: The Power of Real Time Dashboards In Agile Development: Visualize & AttackTarantino presentation

Aldo Ray

Page 73: The Power of Real Time Dashboards In Agile Development: Visualize & AttackTarantino presentation

tt upgrade

Page 74: The Power of Real Time Dashboards In Agile Development: Visualize & AttackTarantino presentation

FEEDBACKCYCLE

• mount /app -> ~/projects/buck• auto restart on changes using

forever

Page 75: The Power of Real Time Dashboards In Agile Development: Visualize & AttackTarantino presentation

RECAPATTACK

Page 76: The Power of Real Time Dashboards In Agile Development: Visualize & AttackTarantino presentation

VISUALIZE AND ATTACK

@mario_parejagithub.com/mpareja

github.com/[email protected]

Page 77: The Power of Real Time Dashboards In Agile Development: Visualize & AttackTarantino presentation

VISUALIZE AND ATTACK

BTW, WE’RE HIRING@mario_pareja

github.com/mparejagithub.com/meet-tarantino

[email protected]