inspirationslunch: devops och mikroarkitekturer - marcus ahnve

44
Devops AND MICROApp architectureS More than a choice of Technology Marcus Ahnve @mahnve [email protected]

Upload: valtech-ab

Post on 01-Nov-2014

543 views

Category:

Business


0 download

DESCRIPTION

Sedan agila metoder slog igenom på bred front för dryga tio år sedan har många företag radikalt förändrat sitt arbetssätt. Idag ses lättrörliga processer som en självklarhet där teknikutveckling är en kärnprocess. Det har dock visat sig svårt att uppnå löftena om hyperproduktiva team som till exempel Scrum utlovar. En viktig orsak till detta är att man inte har en teknik som stödjer en lättrörlig process. I det här seminariumet förklarade Marcus Ahnve från Valtech översiktligt devops och mikroarkitekturer, två kärnprocesser för att åstadkomma en lättrörlig process, samt hur man kan skapa värde genom att använda dem.

TRANSCRIPT

Page 1: Inspirationslunch: DevOps och mikroarkitekturer - Marcus Ahnve

Devops AND MICROApp architectureS

More than a choice of Technology

Marcus Ahnve@mahnve

[email protected]

Page 2: Inspirationslunch: DevOps och mikroarkitekturer - Marcus Ahnve

About ME● Playing agile coach

● Professional developer since 1996

● Polyglot programmer a.k.a web developer

Page 3: Inspirationslunch: DevOps och mikroarkitekturer - Marcus Ahnve

Tldr;● Agile methodologies require supporting technology to

reach their full potential

Page 4: Inspirationslunch: DevOps och mikroarkitekturer - Marcus Ahnve

What is ...

Easy to implement

Applicable to all kinds of projects

Fully scalable

?

Page 5: Inspirationslunch: DevOps och mikroarkitekturer - Marcus Ahnve

The Promise of Agile

Page 6: Inspirationslunch: DevOps och mikroarkitekturer - Marcus Ahnve

What we forgot

Page 7: Inspirationslunch: DevOps och mikroarkitekturer - Marcus Ahnve

Three Levels of Agility

Technology

Scrum

Management

Page 8: Inspirationslunch: DevOps och mikroarkitekturer - Marcus Ahnve

TODAYS FOCUS

Technology

Scrum

Management

Page 9: Inspirationslunch: DevOps och mikroarkitekturer - Marcus Ahnve

LOST XP PracticesTDD

Simple Design

Refactoring

ContinuousIntegration

SmallReleases

Page 10: Inspirationslunch: DevOps och mikroarkitekturer - Marcus Ahnve

Lost Lean Ambitions

DEFER DECISIONS

Page 11: Inspirationslunch: DevOps och mikroarkitekturer - Marcus Ahnve

Platforms

Page 12: Inspirationslunch: DevOps och mikroarkitekturer - Marcus Ahnve

Platforms are oneway deadend streets

Page 13: Inspirationslunch: DevOps och mikroarkitekturer - Marcus Ahnve

Software lifecycleDoes not include Death

Who pays for a system that is hard to replace?

Page 14: Inspirationslunch: DevOps och mikroarkitekturer - Marcus Ahnve

ask “How will we replace it?”

Smaller parts

Implementation not that important

Communication however is

Page 15: Inspirationslunch: DevOps och mikroarkitekturer - Marcus Ahnve

Split into smaller part

LoginAdmin

Public

Follow the Stories and actors

Page 16: Inspirationslunch: DevOps och mikroarkitekturer - Marcus Ahnve

Example

A B

C D

Page 17: Inspirationslunch: DevOps och mikroarkitekturer - Marcus Ahnve

What Data To Send?

A B

C D

?

?

?

Page 18: Inspirationslunch: DevOps och mikroarkitekturer - Marcus Ahnve

SOAP

A B

C D

B

B A

Page 19: Inspirationslunch: DevOps och mikroarkitekturer - Marcus Ahnve

Self describing services

A B

What do you want?

X, Y and Z

Here you go

Page 20: Inspirationslunch: DevOps och mikroarkitekturer - Marcus Ahnve

XHTML

A B

GET

XHTML FORM

POST

Page 21: Inspirationslunch: DevOps och mikroarkitekturer - Marcus Ahnve

Hypermedia

Client Service

<service> <...> <link rel=”” href=”...” /></service>

Page 22: Inspirationslunch: DevOps och mikroarkitekturer - Marcus Ahnve

Fault tolerance

LoginAdmin

PublicPublicPublic

Page 23: Inspirationslunch: DevOps och mikroarkitekturer - Marcus Ahnve

Releasability

LoginAdmin

Public

Page 24: Inspirationslunch: DevOps och mikroarkitekturer - Marcus Ahnve

Scalability

LoginAdmin

PublicPublicPublic

Page 25: Inspirationslunch: DevOps och mikroarkitekturer - Marcus Ahnve

Splittability

Login AdminPublic

Login

Admin

Public

Page 26: Inspirationslunch: DevOps och mikroarkitekturer - Marcus Ahnve

Simple vs. EASY

Time

Functionality

Page 27: Inspirationslunch: DevOps och mikroarkitekturer - Marcus Ahnve

Simple vs. EASY

Time

Productivity

Page 28: Inspirationslunch: DevOps och mikroarkitekturer - Marcus Ahnve

The next problem

Page 29: Inspirationslunch: DevOps och mikroarkitekturer - Marcus Ahnve

MANUAL Deploys

Page 30: Inspirationslunch: DevOps och mikroarkitekturer - Marcus Ahnve

It can get worseIt can get worse

Page 31: Inspirationslunch: DevOps och mikroarkitekturer - Marcus Ahnve

The Tail is wagging the dog

Page 32: Inspirationslunch: DevOps och mikroarkitekturer - Marcus Ahnve

The cost of late releases

Page 33: Inspirationslunch: DevOps och mikroarkitekturer - Marcus Ahnve

DEVelopers who like operationsOperators who like development

DevOps

Page 34: Inspirationslunch: DevOps och mikroarkitekturer - Marcus Ahnve

Server provisioning should be repeatable

Page 35: Inspirationslunch: DevOps och mikroarkitekturer - Marcus Ahnve

Tooling

DevOps

DevOps

Page 36: Inspirationslunch: DevOps och mikroarkitekturer - Marcus Ahnve

Who is responsible?

Hardware

OS

Infrastructure

Application Logic

Page 37: Inspirationslunch: DevOps och mikroarkitekturer - Marcus Ahnve

How to do it

Page 38: Inspirationslunch: DevOps och mikroarkitekturer - Marcus Ahnve

How often can you deploy?

Weekly?

Daily?

HOURLY?

Page 39: Inspirationslunch: DevOps och mikroarkitekturer - Marcus Ahnve

Deploys should not be Scary

Page 40: Inspirationslunch: DevOps och mikroarkitekturer - Marcus Ahnve

How to change organizations

Page 41: Inspirationslunch: DevOps och mikroarkitekturer - Marcus Ahnve

Use Real States

What used to be “Done” is now inventory

Page 42: Inspirationslunch: DevOps och mikroarkitekturer - Marcus Ahnve

Agile should have been adaptive

Page 43: Inspirationslunch: DevOps och mikroarkitekturer - Marcus Ahnve

"Most people Will be on one hyperproductive team in their life"

Page 44: Inspirationslunch: DevOps och mikroarkitekturer - Marcus Ahnve

Thank you!

Marcus Ahnve@mahnve

[email protected]