keys to continuous delivery success - mark warren, product director, perforce software

27
Keys to Continuous Delivery Success Mark Warren Product Director Perforce Software

Upload: perforce

Post on 19-May-2015

518 views

Category:

Technology


0 download

DESCRIPTION

Many well-known SaaS vendors use Continuous Delivery to update production sites at mind-bogglingly short intervals and non-SaaS organizations are increasingly looking to CD to increase customer satisfaction and be more competitive.This session will review case studies by Perforce customers, including NYSE, CCP Games, salesforce.com and others, to identify key success factors and provide recommendations for starting, or accelerating, the adoption of CD in your organization.

TRANSCRIPT

Page 1: Keys to Continuous  Delivery Success - Mark Warren, Product Director, Perforce Software

Keys to Continuous Delivery Success

Mark WarrenProduct Director

Perforce Software

Page 2: Keys to Continuous  Delivery Success - Mark Warren, Product Director, Perforce Software

• Enterprise Version Management• 10,500+ customers• Trusted with storing and versioning

the most valuable IP for the world's most innovative companies– From start-ups to Fortune 100– The leading cloud companies

• All types of content

Perforce Software

– Chip Designs

– Gaming

– Images

– Code

– Binaries

– Movies

Page 3: Keys to Continuous  Delivery Success - Mark Warren, Product Director, Perforce Software

Industry Perspective

3

Waterfall• Annual

releases • Mostly manual

Agile• Release more

than once a year

• Some automation

Continuous• Weekly/daily

updates• Massive

automation

“The days when a successful organization could release software once every 12 to 18 months are over.

“Continuous Delivery is Reshaping the Future of ALM,”

Kurt Bittner, Forrester, July 2013

Page 4: Keys to Continuous  Delivery Success - Mark Warren, Product Director, Perforce Software

Accelerated Delivery Means …

4

Nightly Hourly Every Check-in

Yearly Quarterly Monthly Daily

Code Content Binaries

Home Grown 3rd Party +Open Source

Small Big Distributed Global

B U I L D S

R E L E A S E S

A R T I F A C T S

C O D E

T E A M S

Page 5: Keys to Continuous  Delivery Success - Mark Warren, Product Director, Perforce Software

Growing Awareness

According to a 2013 survey of US and UK software professionals, conducted by Evans Data.

Not at all

Somewhat familiar

Very familiar

I live and breath it

Developers Managers Executives

How Familiar Are You with the Term “Continuous Delivery?”

Page 6: Keys to Continuous  Delivery Success - Mark Warren, Product Director, Perforce Software

What Does Continuous Delivery Mean to You?

6

“It’s a process to improve software performance on a continual basis, with the use of automatic triggers.” “It’s a process that

ensures continuous tweaks, additions and improvements to our software systems.”

“The ability to continually adapt software in line with user feedback and changes in business.”

“Releasing early and often so that the act of learning is accelerated, risk is identified and you can react quicker.”

[ Automation ]

[ Time ]

[ Continuity ]

[ Process ]

Source: Evans Data research 2013

Page 7: Keys to Continuous  Delivery Success - Mark Warren, Product Director, Perforce Software

Continuous Delivery – The New Normal

7

All Projects

At Least Some Projects

28% 65%65%of software developers, managersand executives report that theirOrganizations have started downthe path to Continuous Delivery

Source: Evans Data research 2013

Page 8: Keys to Continuous  Delivery Success - Mark Warren, Product Director, Perforce Software

It’s Not Just for SaaS Anymore

80%of SaaS companies are practicing Continuous Delivery

• 47% across ALL projects• 33% across some projects

All Projects

At Least Some Projects

18% 51%

Non-SaaS Companies

Source: Evans Data research 2013

Page 9: Keys to Continuous  Delivery Success - Mark Warren, Product Director, Perforce Software

Keeping up with the Joneses

DEV

BUILD

DEV

CUSTOMER

QA

V.P.

RELEASE

CompetitorsCompetitors

46%think their competitors have fully embracedContinuous Delivery

Source: Evans Data research 2013

Page 10: Keys to Continuous  Delivery Success - Mark Warren, Product Director, Perforce Software

Product Delivery Pipeline

10

Requirements Develop Build Test Integrate Deploy

Page 11: Keys to Continuous  Delivery Success - Mark Warren, Product Director, Perforce Software

Product Delivery Pipeline

11

BuildRequirements Develop IntegrateTest Deploy

Rqmts Doc Licenses/IP History

SocialCoding

BuildFarms

QAResults

Scripts “Hardware”(Virtual)

Code OpenSource

Binaries Release Binaries

Code OpenSource

Binaries Release Binaries

Page 12: Keys to Continuous  Delivery Success - Mark Warren, Product Director, Perforce Software

Product Delivery Pipeline

12

BuildRequirements Develop IntegrateTest Deploy

Rqmts Doc Licenses/IP History

SocialCoding

BuildFarms

QAResults

Scripts “Hardware”(Virtual)

Code OpenSource

Binaries Release Binaries

Team Collaboration (design, dev, release, devops…)

Accelerate the Pipeline (code, artwork, scripts, binaries, etc.)

Page 13: Keys to Continuous  Delivery Success - Mark Warren, Product Director, Perforce Software

Version Everything – CCP Games

• Version absolutely *everything*

– Instant workstation configuration

• Branching – “where it makes sense”

• “Nobody is born a versioning hero”

• “Versioning everything requires an investment. It’s worth it.”

Versioning is the nerve center of the organization{ }

Page 14: Keys to Continuous  Delivery Success - Mark Warren, Product Director, Perforce Software

14

At Scale …

• First code check in: 1998• 7800 users (88% of employees)• 80,000,000 transactions/day• 198 instances (55 RW, 14 RO, 4 Brokers

and 125 scratch)• 556 Million files comprising 1.3 Billion

revisions• 327 TB of data

Page 15: Keys to Continuous  Delivery Success - Mark Warren, Product Director, Perforce Software

Mainline Release Branching Strategy

Release 1.1.x

Release 1.0.xRR R

R R

mergebugfix

mergebugfix

• Visibility

• Always deployable

• Continuous Integration, only create branches for releases

• Manage what gets into mainline• Continuous Integration• Code Review

Mainline

Page 16: Keys to Continuous  Delivery Success - Mark Warren, Product Director, Perforce Software

Mainline – Salesforce.com

• 150 teams, 5,000 testing VMs, 500,000 files.

• Up to 10 million Perforce transactions per day, heading towards 15 – 20 million

• Mainline code model

• Fast feedback is key

• Security, audit, compliance. Easy audit process

• “Perforce is boring” – For ops team, that’s a very good thing!

Mainline is critical to

collaboration{ }

Page 17: Keys to Continuous  Delivery Success - Mark Warren, Product Director, Perforce Software

Source CodeSource

CodeSource CodeSource

Code

Source CodeSource

CodeSource CodeSource

Code

Source CodeSource

CodeSource CodeSource

Code

Production serverProduction

serverProduction serverProduction

server

Production serverProduction

serverProduction serverProduction

server

Where is this code deployed?

What changes have been made?

What code has been reviewed?

What has been tested? Did it pass?

What work needs to be done? What’s running on

each of these servers?

Can I back changes out?

What was running last

night/week/month/year?

What needs to be deployed next?

How many places are needed to answer the questions?

How traceable?

Single Source of Truth

Chain of Custody

System of Record

Page 18: Keys to Continuous  Delivery Success - Mark Warren, Product Director, Perforce Software

Single Source of Truth

• How many processes to learn?• How many tool integrations to manage?• How many admins?• How to ensure availability?

18

SCM

SCM

SCMSCM

Page 19: Keys to Continuous  Delivery Success - Mark Warren, Product Director, Perforce Software

New challenges

• Are both needed?• How to ensure traceability?• How to provide audit trails?• How to manage access controls?• How many admins, processes, tools, …?

19

SCM

- Source Code- Build Scripts- Test scripts- …

Artifact Repository

- Built executables- Databases- …

Page 20: Keys to Continuous  Delivery Success - Mark Warren, Product Director, Perforce Software

System of Record – NYSE

• 14,000 servers, 6,600 production releases per year, 198+ active projects

• Build artifacts stored in Perforce

• Version management enforces security

• Deploy “bridge” into production & rollback

Single “source of truth”{ }

Page 21: Keys to Continuous  Delivery Success - Mark Warren, Product Director, Perforce Software

Perforce Overview

21

• Fastest, most scalable, Version management platform

• Commonly used for all types of content

– Code

– Binaries

– Movies

– Chip Designs

– Gaming

– Images

Page 22: Keys to Continuous  Delivery Success - Mark Warren, Product Director, Perforce Software

Perforce Software

22

13,000 20,000 users

9,500 users500+ terabytes

Complete Delivery Pipeline7,000+ releases/year

SaaS

Mobile IC’sEnterprise

Cloud

Finance

Electronics

AnimationGaming

22

11,000+ users10+ sites

5,000+ usersCoders & Designers

Everything

2,500 users10,000,000 Perforce xact/day 11,000+ users

Page 23: Keys to Continuous  Delivery Success - Mark Warren, Product Director, Perforce Software

Proven Platform for Continuous Delivery

23

Inte

gra

tio

ns

Page 24: Keys to Continuous  Delivery Success - Mark Warren, Product Director, Perforce Software

Best Habits for Success

1. Think beyond the code - Version *everything*

2. Automate, Automate, Automate

3. Make everything fully visible

4. Track every change

5. Put it all in one place

Page 25: Keys to Continuous  Delivery Success - Mark Warren, Product Director, Perforce Software

Prizes !!!

• Perforce Stand – Floor 3

• Win a GoPro Camera

25

Page 26: Keys to Continuous  Delivery Success - Mark Warren, Product Director, Perforce Software

For more information

For more use cases and information on the role of version management…

perforce.com

Page 27: Keys to Continuous  Delivery Success - Mark Warren, Product Director, Perforce Software

27