reshaping enterrprise software

90
avanscoperta Reshaping Enterprise Software @ziobrando

Upload: alberto-brandolini

Post on 13-Jan-2017

400 views

Category:

Software


1 download

TRANSCRIPT

Page 1: Reshaping enterrprise software

avanscoperta

Reshaping Enterprise Software@ziobrando

Page 2: Reshaping enterrprise software

About me

Faccio un lavoro che mia madre non capisce

running www.avanscoperta.it

In grado di modellare qualsiasi cosa con post-it, pennarelli e rotolone.

Chiamo questa “cosa”

Page 3: Reshaping enterrprise software

Il piano

Un bel problema a monte

Un altro meta-problema a monte

Un po’ di buone idee

Una … di conseguenze

Page 4: Reshaping enterrprise software

1) Quick recap of Theory of

Constraints

Le “Basi” e poco piu'

Page 5: Reshaping enterrprise software

Bottleneck

Vincolo principale per il throughput del sistema

Page 6: Reshaping enterrprise software

Bottleneck:

Il vincolo principale limita le prestazioni dell’intero sistema.

(non e’ che la freccia si allarga, e’ che mi e’ venuta storta)

Page 7: Reshaping enterrprise software

Strategie per il bottleneck

Focus >>> Tutto il resto è subordinato

Miglioramento continuo

anche piccoli miglioramenti contano

… mentre ci occupiamo dei GROSSI miglioramenti.

Page 8: Reshaping enterrprise software
Page 9: Reshaping enterrprise software

Non riesco a trovare il cuore…

Page 10: Reshaping enterrprise software

Non riesco a trovare il cuore…

… potremmo concentrarci sulle unghie nel frattempo…

Page 11: Reshaping enterrprise software

Migliorare il resto del sistema potrebbe essere

inutile o Controproducente

Ma nessuno lo ammettera’ in una grande azienda

Page 12: Reshaping enterrprise software

Devo avere una visione di sistema per essere sicuro che il vincolo sia

reale

Page 13: Reshaping enterrprise software

Warning

#TOCOT -> ottimizzata per la produzione

Esseri umani != risorse

No allocazione al 100% Sistema adattivo complesso

Page 14: Reshaping enterrprise software

Non tutti i progetti software

sono uguali.

Sarebbe bello…

Page 15: Reshaping enterrprise software

Non core:

Spese principalmente legate al tempo

Rischi legati al malfunzionamento

Risultati limitati a priori

100 1 2 3 4 5 6 7 8 9

10

0

1

2

3

4

5

6

7

8

9

X Axis

Y A

xis

Cost

Value

<- area del gold plating

Page 16: Reshaping enterrprise software

core:

Spese principalmente legate al tempo

Rischi legati a…

Risultati non limitati a priori

100 1 2 3 4 5 6 7 8 9

10

0

1

2

3

4

5

6

7

8

9

X Axis

Y A

xis

Cost

Value

Page 17: Reshaping enterrprise software

core:

Spese principalmente legate al tempo

Rischi legati a…

Risultati non limitati a priori

… ne parliamo dopo!

100 1 2 3 4 5 6 7 8 9

10

0

1

2

3

4

5

6

7

8

9

X Axis

Y A

xis

Cost

Value

Page 18: Reshaping enterrprise software

Ma certi punti del sistema sono piu’ sensibili alle regolazioni

Page 19: Reshaping enterrprise software

Il collo di bottiglia E’

la zona erogena del sistema

Page 20: Reshaping enterrprise software

Il collo di bottiglia E’

la zona erogena del sistema

…e forse questa sara’ l’unica cosa che ricorderete del talk

Page 21: Reshaping enterrprise software

Altrove

agile-meh, scrum-but etc. etc. principalmente ‘tracking’

vincoli di budget

Page 22: Reshaping enterrprise software

Sul collo di bottiglia…

Il problema di solito non e’ banale

la soluzione puo’ essere raggiunta per esperimenti

siamo quasi sicuramente in un sistema adattivo complesso

c’e’ un sacco di roba da imparare

#NoEstimates #DDDesign #LeanStartup #Complexity

Page 23: Reshaping enterrprise software

2) Il meta-collo di bottiglia

Non ci facciamo mancare nulla…

Page 24: Reshaping enterrprise software

Dan North

https://dannorth.net/2010/08/30/introducing-deliberate-discovery/

“Ignorance is the single greatest impediment to throughput.”

Page 25: Reshaping enterrprise software

“Software development is a learning process

Working code is a side effect”io, un botto di volte…

Page 26: Reshaping enterrprise software

Dan North

https://dannorth.net/2010/08/30/introducing-deliberate-discovery/

“Learning is the bottleneck”

Page 27: Reshaping enterrprise software

Se l’apprendimento e’

il collo di bottiglia… sto

facendo tutto il possibile?

Page 28: Reshaping enterrprise software

Il regno del product owner

Un backlog pieno di items…

…il cui significato un giorno risultera’ chiaro.

Page 29: Reshaping enterrprise software

Product Owner “nel mezzo”

Necessario per definire le Priorita’

Non per digerire la conoscenza

… c’era davvero bisogno di un collo di bottiglia artificiale?

Page 30: Reshaping enterrprise software

Se l’obiettivo e’ IMPARARE…

Page 31: Reshaping enterrprise software

Creature immaginarie

Page 32: Reshaping enterrprise software

Creature immaginarie

Page 33: Reshaping enterrprise software

Creature immaginarie

Page 34: Reshaping enterrprise software

Gli esperti sono esperti del

proprio dipartimento, non necessariamente

del business

Page 35: Reshaping enterrprise software

Gerarchie e Silos

Page 36: Reshaping enterrprise software

Che forma ha la conoscenza?

Page 37: Reshaping enterrprise software

La specialita’ della casa

Page 38: Reshaping enterrprise software

Big Picture Workshop

Invitiamo le persone giuste

Forniamo uno spazio di modellazione illimitato

superficie, pennarelli, post-it

Modelliamo il sistema partendo dagli eventi di dominio

Page 39: Reshaping enterrprise software

Environment setup

Page 40: Reshaping enterrprise software

…lungo una linea temporale

Qualche trucco da facilitatore ed iniziamo a modellare a…

Page 41: Reshaping enterrprise software
Page 42: Reshaping enterrprise software

Velocita’ smodata!!!

Page 43: Reshaping enterrprise software

Explore domain Events

Page 44: Reshaping enterrprise software

Catturiamo gli Hotspots

che salteranno fuori, comunque!

Page 45: Reshaping enterrprise software

continuiamo la caccia…

Page 46: Reshaping enterrprise software
Page 47: Reshaping enterrprise software

Outcome (big Picture):

L’intera linea di business visible

apprendimento massivo

aree critiche visualizzate.

Page 48: Reshaping enterrprise software

Non siamo soli:

User Story Mapping

Page 49: Reshaping enterrprise software

Non siamo soli

Impact Mapping

Page 50: Reshaping enterrprise software

… E’ che quando metti le persone assieme, poi si

parlano…

Page 51: Reshaping enterrprise software

EventStorming unisce lean e

Theory of constraints allo sviluppo Software e a Domain-Driven

Design

Page 52: Reshaping enterrprise software

EventStorming blends lean and

Theory of constraints into

Software Development and Domain-Driven

Design

Page 53: Reshaping enterrprise software

EventStorming blends lean and

Theory of constraints into

Software Development and Domain-Driven

Design

Page 54: Reshaping enterrprise software

Che faccia ha il Bottleneck?

Page 55: Reshaping enterrprise software

Guardiamoci meglio

Page 56: Reshaping enterrprise software

Srotoliamolo

I processi espongono una struttura ripetibile

Page 57: Reshaping enterrprise software

Srotoliamolo

… microservices? :-)

Page 58: Reshaping enterrprise software

Piu' in dettaglio…

Page 59: Reshaping enterrprise software

Let’s look deeper

Aggregate

Policy / Process

Domain EventCommand

External System

Page 60: Reshaping enterrprise software

Let’s look deeper

Qui e’ dove il sistemaprende le decisioni:

Aggregate

Policy / Process

Domain EventCommand

External System

Page 61: Reshaping enterrprise software

Let’s look deeper

Qui e’ dove il sistemaprende le decisioni:

Decisioni semplici dentro aggregati (piccole macchine a stati)

Aggregate

Policy / Process

Domain EventCommand

External System

Page 62: Reshaping enterrprise software

Let’s look deeper

Qui e’ dove il sistemaprende le decisioni:

Decisioni semplici dentro aggregati (piccole macchine a stati)

Aggregate

Policy / Process

Domain EventCommand

External System

Page 63: Reshaping enterrprise software

Let’s look deeper

Qui e’ dove il sistemaprende le decisioni:

Decisioni semplici dentro aggregati (piccole macchine a stati)

Le decisioni reattive stanno dentro le “policy”. Ogni volta che…

Aggregate

Policy / Process

Domain EventCommand

External System

Page 64: Reshaping enterrprise software

Let’s look deeper

Qui e’ dove il sistemaprende le decisioni:

Decisioni semplici dentro aggregati (piccole macchine a stati)

Le decisioni reattive stanno dentro le “policy”. Ogni volta che…

Aggregate

Policy / Process

Domain EventCommand

External System

Page 65: Reshaping enterrprise software

Let’s look deeper

Qui e’ dove il sistemaprende le decisioni:

Decisioni semplici dentro aggregati (piccole macchine a stati)

Le decisioni reattive stanno dentro le “policy”. Ogni volta che…

Aggregate

Policy / Process

Domain EventCommand

External System

#BusinessProcesses#Transactions#SWArchitecture

Page 66: Reshaping enterrprise software

Let’s look deeperCommand/Decision

User/Actor/Persona/…

User Interface

Page 67: Reshaping enterrprise software

Let’s look deeper

Qui e’ dove e’ l’utentea prendere decisioni:

Command/Decision

User/Actor/Persona/…

User Interface

Page 68: Reshaping enterrprise software

Let’s look deeper

Qui e’ dove e’ l’utentea prendere decisioni:

…che sono basatesull’esperienza delmondo reale, e sulleinformazioni visibili.

Command/Decision

User/Actor/Persona/…

User Interface

Page 69: Reshaping enterrprise software

Let’s look deeper

Qui e’ dove e’ l’utentea prendere decisioni:

…che sono basatesull’esperienza delmondo reale, e sulleinformazioni visibili.

Command/Decision

User/Actor/Persona/…

User Interface

#UX#FrontEndDevelopment#UIDesign

Page 70: Reshaping enterrprise software

Let’s look deeper

Domain Event

Read Model

User Interface

Page 71: Reshaping enterrprise software

Let’s look deeper

Domain Event

Read Model

User Interface

Qua e’ dovetrasformiamo il datogrezzo in qualcosa dicomprensibile perl’utilizzatore.

Page 72: Reshaping enterrprise software

Let’s look deeper

Domain Event

Read Model

User Interface

Qua e’ dovetrasformiamo il datogrezzo in qualcosa dicomprensibile perl’utilizzatore.

#BusinessIntelligence#Readability

Page 73: Reshaping enterrprise software

And the winner is…

Page 74: Reshaping enterrprise software

And the winner is…

La natura del bottleneck non puo’

essere decisa a priori

Page 75: Reshaping enterrprise software

Purtroppo queste prospettive sono

spesso compartimentate

Il primo che arriva, da le specifiche agli altri

Page 76: Reshaping enterrprise software

peccato che imparare per

sentito dire, non sia il massimo…

Page 77: Reshaping enterrprise software

Una sola piattaforma

Molteplici punti di vista

E’ “inclusiva”!

Page 78: Reshaping enterrprise software

Possiamo auto-organizzarci solo

in sistemi che comprendiamo

Page 79: Reshaping enterrprise software

una piattaforma per l’auto

organizzazione in sistemi complessi

Page 80: Reshaping enterrprise software

Ma e’ un casino!

1/2 giornata per un Big Picture (timeboxed comunque)

3 giorni per modellare in dettaglio tutti i flussi di www.soisy.it

Workshop fino a 35 persone (poi vediamo…)

Page 81: Reshaping enterrprise software
Page 82: Reshaping enterrprise software
Page 83: Reshaping enterrprise software
Page 84: Reshaping enterrprise software

purtroppo faccio le foto solo alla

fine… :-(

Page 85: Reshaping enterrprise software

Takeaways

Page 86: Reshaping enterrprise software

https://twitter.com/jbrains/status/776888609127460864

https://www.dropbox.com/s/z5zmw78w01suokf/Screenshot%202016-09-16%2023.07.04.png?dl=0

Page 87: Reshaping enterrprise software

https://twitter.com/jbrains/status/776888609127460864

https://www.dropbox.com/s/z5zmw78w01suokf/Screenshot%202016-09-16%2023.07.04.png?dl=0

Page 88: Reshaping enterrprise software

Visione d’insieme per individuare il vincolo

business

Imparare e’ il vincolo sulla risoluzione del

problema.

collaborative modelling aiuta su entrambi i

fronti

Page 89: Reshaping enterrprise software

Actions

EventStorming per capire, insieme

Impact Mapping & User Story Mapping per scegliere la direzione

Esperimenti per risolvere

Collaborazione per progettare

Architetture ad eventi per implementare

…serve altro?

Page 90: Reshaping enterrprise software

References• www.eventstorming.com

• EventStormers on Google+

• https://plus.google.com/u/0/communities/113258571348605620818

• LeanPub book in progress:

• http://leanpub.com/introducing_eventstorming

• Blog:

• https://medium.com/@ziobrando

• http://ziobrando.blogspot.com

• Twitter: @ziobrando

• Trainings & Workshop facilitation:

• http://www.avanscoperta.it