agile in startups

96
Agile in StartUps

Post on 17-Oct-2014

2.799 views

Category:

Technology


3 download

DESCRIPTION

How can we make agile work on Startups

TRANSCRIPT

Page 1: Agile in startUps

Agile in StartUps

Page 2: Agile in startUps

Who am I

-> My Name: João Cerdeira-> Team Leader-> An Agile enthusiast: Scrum / Kanban / Lean-> A true believer in OpenSource

http://twitter.com/jacerdeira [email protected]

Page 3: Agile in startUps

Disclamer-> I understand your questions, but sometimes I don't have answers

-> I don't work at a Startup

-> But I usually talk with some Startup Founders

Page 4: Agile in startUps

Agenda

MainPrinciples

Scrum Kanban

DevOpsContinuous

Delivery Conclusion

Page 5: Agile in startUps
Page 6: Agile in startUps

Agile Manifesto

Individuals and interactions over processes and tools

Working software over comprehensive documentation

Customer collaboration over contract negotiation

Responding to change over following a plan

Page 7: Agile in startUps

Scrum Values

Commitment

Focus

Openness

Respect

Courage

Page 8: Agile in startUps

Lean Principles

Eliminate waste

Amplify learning

Decide as late as possible

Deliver as fast as possible

Empower the team

Build integrity in

See the whole

Page 9: Agile in startUps

Kanban Principles

Visualize the workflow

Limit WIP

Manage Flow

Make Process Policies Explicit

Improve Collaboratively

Page 10: Agile in startUps

Agenda

MainPrinciples

Scrum Kanban

DevOps ContinuousDelivery

 Conclusion

Page 11: Agile in startUps

Scrum

http://www.slideshare.net/rdelyon/scrum-poster

Page 12: Agile in startUps

What works in Scrum

http://www.slideshare.net/rwirdemann/user-stories-for-your-product-backlog

Backlog

Page 13: Agile in startUps

What works in Scrum

Retrospectives

Page 14: Agile in startUps

What works in Scrum

CrossFunctional

Teams

Page 15: Agile in startUps

What doesn't work in Scrum

Sprints

Page 16: Agile in startUps

What doesn't work in Scrum

http://huitale.blogspot.com/2010/12/single-product-owner-model-is-broken.htmlimage: http://agilesoftwaredevelopment.com/blog/jackmilunsky/top-10-activities-product-owner

SinglePO

Page 17: Agile in startUps

What doesn't work in Scrum

SingleProjectTeam

Page 18: Agile in startUps

Can we remove parts of Scrum and be Agile ?

Page 19: Agile in startUps

Can we remove parts of Scrum and be Agile ?

Page 20: Agile in startUps

Agenda

MainPrinciples

Scrum Kanban

DevOps ContinuousDelivery

 Conclusion

Page 21: Agile in startUps

KanbanIntroduction

Toyota Motor Company, Taichii Ohno and Shigeo Shingo began to incorporate Ford production and other techniques

into an approach called Toyota Production System or Just In Time

http://www.strategosinc.com/just_in_time.htmhttp://totalqualitymanagement.wordpress.com/2008/10/28/lean-production-system/

Page 22: Agile in startUps

The Power ofFlow

BackLog Analysis Development DoneDoing Done

US#1

Page 23: Agile in startUps

The Power ofFlow

BackLog Analysis Development DoneDoing Done

US#1

Page 24: Agile in startUps

The Power ofFlow

BackLog Analysis Development DoneDoing Done

US#1

Page 25: Agile in startUps

The Power ofFlow

BackLog Analysis Development DoneDoing Done

US#1

Page 26: Agile in startUps

The Power ofFlow

BackLog Analysis Development DoneDoing Done

US#1

Page 27: Agile in startUps

The Power ofFlow

BackLog Analysis Development DoneDoing Done

US#1

Page 28: Agile in startUps

The Power ofFlow

BackLog Analysis Development DoneDoing Done

US#1

Page 29: Agile in startUps

The Power ofFlow

BackLog Analysis Development DoneDoing Done

US#1

Page 30: Agile in startUps

The Power ofFlow

BackLog Analysis Development DoneDoing Done

US#1

Page 31: Agile in startUps

The Power ofFlow

-> Shows Value Stream - like a process

-> The importance isn't to follow a process but understands why you follow it

-> Brain is a pattern matching machine - kanban board has a lot of patterns all recognizable and all provable

-> Now, people see the impact of pulling task to other team members

Page 32: Agile in startUps

The Power ofFlow

-> Brain likes collaborating - The most important thing in a project is a collaborative team - People get together to achieve common objectives (the dinossaurs had eaten us if we hadn't collaborated)

-> In a kanban, the importance is about the flow and not about individual people

-> DoD in a kanban system means get the user story to the next level and don't come back

Page 33: Agile in startUps

BackLog Analysis Development DoneDoing Done

US#1

US#2

US#3

US#4

US#5

WIP

Page 34: Agile in startUps

BackLog Analysis Development DoneDoing Done

WIP

US#1

US#2

US#3

US#4

US#5

Page 35: Agile in startUps

BackLog Analysis Development DoneDoing Done

WIP

US#1

US#2

US#3

US#4

US#5

Page 36: Agile in startUps

BackLog Analysis Development DoneDoing Done

WIP

US#1

US#2

US#3

US#4

US#5

Page 37: Agile in startUps

The Power ofFlow

BackLog Analysis Development DoneDoing Done

WIP

US#1

US#2

US#3

US#4

US#5

Page 38: Agile in startUps

BackLog Analysis Development Done

Doing Done

(5) (2) (3)

The Power ofFlowWIP

US#1

US#2

US#3

US#4

US#5

Page 39: Agile in startUps

US#1

US#2

BackLog Analysis Development Done

Doing Done

(5) (2) (3)

The Power ofFlowWIP

US#3

US#4

US#5

US#6

Page 40: Agile in startUps

US#2

US#1

BackLog Analysis Development Done

Doing Done

(5) (2) (3)

The Power ofFlowWIP

US#3

US#4

US#5

US#6

Page 41: Agile in startUps

US#1

BackLog Analysis Development Done

Doing Done

(5) (2) (3)

The Power ofFlowWIP

US#2

US#3

US#4

US#5

US#6

Page 42: Agile in startUps

US#2

BackLog Analysis Development Done

Doing Done

(5) (2) (3)

The Power ofFlowWIP

US#1US#3

US#4

US#5

US#6

Page 43: Agile in startUps

US#3

US#4

US#1

BackLog Analysis Development Done

Doing Done

(5) (2) (3)

The Power ofFlowWIP

US#2

US#5

US#6

Page 44: Agile in startUps

BackLog Analysis Development Done

Doing Done

(5) (2) (3)

The Power ofFlowWIP

US#5

US#6

US#3

US#4

US#1US#2

Page 45: Agile in startUps

The Power ofFlowUrgent Task

In Startups Urgent Tasks can't wait for the Sprint End

Page 46: Agile in startUps

The Power ofFlowUrgent Task

In Startups Urgent Tasks can't wait for the Sprint End

Urgent Task With a Red Card

Page 47: Agile in startUps

The Power ofFlowUrgent Task

In Startups Urgent Tasks can't wait for the Sprint End

Urgent Task With a Red Card

But Limit the number of Urgent TasksWIP It

Page 48: Agile in startUps

Measure

BackLog Analysis Development DoneDoing Done

12 Days to complete the flow

US#1 US#1 US#1 US#1

Page 49: Agile in startUps

Measure

Scrum XP way

Kanban way

LL

XLXL

MM SS

4SP5SP

3SP2SP

Tasks

-> Don't Estimate -> Just count them-> In Hours

Page 50: Agile in startUps

InformationRadiator

= Task Completed

= Task

= Defect

= Priority US = High Priority US

= User Story

= Task Blocked

= Task Assignee

Page 51: Agile in startUps

InformationRadiator

2011-04-30 (2011-05-30)

(Description)

L

Board AddedDate Dead Line

Priority

Size(complexity)

Who Requested the Feature

Page 52: Agile in startUps

RetrospectivesPlanning

Scrum way

Sprint #1 Sprint #2 Sprint #3 Sprint #4

= Planning= Retrospective

= Demo

= Shippable Software

2 Weeks 2 Weeks 2 Weeks 2 Weeks

Page 53: Agile in startUps

RetrospectivesPlanning

Kanban way

2 Weeks 2 Weeks 2 Weeks 2 Weeks

= Planning= Retrospective

= Demo

= Shippable Software

Page 54: Agile in startUps

Adapt theBoard (process)

BackLog Analysis Development Acceptance

Doing Done Doing Done

Prod

Page 55: Agile in startUps

Agenda

MainPrinciples

Scrum Kanban

DevOpsContinuous

Delivery Conclusion

Page 56: Agile in startUps

DevOps

What matters in Software Projects ?

Page 57: Agile in startUps

DevOps

What matters in Software Projects ?

Page 58: Agile in startUps

DevOps

What matters in Software Projects ?

Developed features aren't completed features

Page 59: Agile in startUps

DevOps

Agile is doing a great job withCross Functional Teams

Page 60: Agile in startUps

DevOps

Agile is doing a great job withCross Functional Teams

Page 61: Agile in startUps

DevOps

Agile is doing a great job withCross Functional Teams

But …....What about System Administrator

and Operations ?

Page 62: Agile in startUps

DevOps

Page 63: Agile in startUps

DevOps

ARCHITECTURE

DEVELOPMENT

QUALITY

OPERATIONS

Page 64: Agile in startUps

DevOps

DEVELOPMENT

QUALITY

OPERATIONS

Agile Cross Functional TeamsA

RCHITECTURE

Page 65: Agile in startUps

DevOps

http://dev2ops.org/blog/2010/2/22/what-is-devops.html

Page 66: Agile in startUps

DevOps

DEVELOPMENT

QUALITY

OPERATIONS

Agile Cross Functional Teams

DevOps

ARCHITECTURE

Page 67: Agile in startUps

DevOps

Business Dev Ops

Agile DevOps

Page 68: Agile in startUps

DevOps

DevOps =

Page 69: Agile in startUps

Agenda

MainPrinciples

Scrum Kanban

DevOps ContinuousDelivery

 Conclusion

Page 70: Agile in startUps

ContinuousDelivery

An usual sentence in startUps:

We can't make the client wait, we need to put this feature/bug correction As Soon As Possible in Production

Page 71: Agile in startUps

ContinuousDelivery

Why companys and Teams are afraid to push code to production ?

Page 72: Agile in startUps

ContinuousDelivery

Why companys and Teams are afraid to push code to production ?

Afraid that something went wrong and turn down the service causing

loss of revenue or credibility

Page 73: Agile in startUps

ContinuousDelivery

Why companys and Teams are afraid to push code to production ?

Afraid that something went wrong and turn down the service causing

loss of revenue or credibility

WHY ?

Page 74: Agile in startUps

ContinuousDelivery

Why companys and Teams are afraid to push code to production ?

Afraid that something went wrong and turn down the service causing

loss of revenue or credibility

WHY ?

Lack of test and Automated Builds

Page 75: Agile in startUps

ContinuousDelivery

Solution:

1 –> Tests Unit TestingFunctionalIntegration

Page 76: Agile in startUps

ContinuousDelivery

Solution:

1 –> Tests2 –> Automation Build Scritps

Tests

Page 77: Agile in startUps

ContinuousDelivery

Solution:

1 –> Tests2 –> Automation3 –> Version Control System SubVersion

MercurialGIT

Page 78: Agile in startUps

ContinuousDelivery

Solution:

1 –> Tests2 –> Automation3 –> Version Control System4 –> Continuous Integration

Builds Every CommitDedicated VCS Branch

Builds in a diferent machineTest at Every Build

Page 79: Agile in startUps

ContinuousDelivery

Solution:

1 –> Tests2 –> Automation3 –> Version Control System4 –> Continuous Integration5 –> Simple Deploy Scripts

One Command DeployPuppet / Chef

Page 80: Agile in startUps

ContinuousDelivery

Solution:

1 –> Tests2 –> Automation3 –> Version Control System4 –> Continuous Integration5 –> Simple Deploy Scripts6 –> Monitoring Monitoring Everything

Real Time WarningsNagios / etc

Page 81: Agile in startUps

ContinuousDelivery

Solution:

1 –> Tests2 –> Automation3 –> Version Control System4 –> Continuous Integration5 –> Simple Deploy Scripts6 –> Monitoring7 –> Continuous Improvement

Page 82: Agile in startUps

Examples

http://timothyfitz.wordpress.com/2009/02/10/continuous-deployment-at-imvu-doing-the-impossible-fifty-times-a-day/

http://blogs.atlassian.com/developer/2011/02/continuous_deployment_at_atlassian.html

http://www.slideshare.net/jallspaw/10-deploys-per-day-dev-and-ops-cooperation-at-flickr

Page 83: Agile in startUps

References

Page 84: Agile in startUps

Agenda

MainPrinciples

Scrum Kanban

DevOpsContinuous

Delivery Conclusion

Page 85: Agile in startUps

Agile Startup

MorePrescriptive

MoreAdaptative

Page 86: Agile in startUps

Agile Startup

MorePrescriptive

MoreAdaptative

Big Companies StartUps

Page 87: Agile in startUps

Agile Startup

RUP120+

MorePrescriptive

MoreAdaptative

Big Companies StartUps

Page 88: Agile in startUps

Agile Startup

RUP XP120+ 13

MorePrescriptive

MoreAdaptative

Big Companies StartUps

Page 89: Agile in startUps

Agile Startup

RUP XP Scrum120+ 13 9

MorePrescriptive

MoreAdaptative

Big Companies StartUps

Page 90: Agile in startUps

Agile Startup

RUP XP Scrum Kanban120+ 13 9 3

MorePrescriptive

MoreAdaptative

Big Companies StartUps

Page 91: Agile in startUps

Agile Startup

RUP XP Scrum Kanban Do Things120+ 13 9 3 0

MorePrescriptive

MoreAdaptative

Big Companies StartUps

Page 92: Agile in startUps

Conclusion

Is Kanban more suitable to StartUps because has less Rules ?

Page 93: Agile in startUps

Conclusion

Is Kanban more suitable to StartUps because has less Rules ?

Perhaps every company want to be as produtive as a Startup

Page 94: Agile in startUps

Conclusion

Google wants to be a StartUp again

“Mr. Page said in January that he wanted to allow more projects to operate like start-ups inside of

Google, similar to how YouTube and Android currently operate.”

http://online.wsj.com/article/SB10001424052748703784004576220902706041400.html

Page 95: Agile in startUps

Q&A

?

Page 96: Agile in startUps