lean architecture university session for nljug at xebia on july 8th, 2010
DESCRIPTION
Slidedeck of the Lean Architecture University Session for the Dutch Java User Group (NLJUG) that was hosted at Xebia.TRANSCRIPT
NLJUG University Lean Architectuur
July, 8th, 2010
Sander van den BergGerard JanssenDenis KoelewijnGero Vermaas
Waste
Walls
Locked down
Architecture? Where?
5
Architecture can be beautifull
Agenda
• Introduction• Lean Architecture - part 1
• Business and process principles• Mobile Food Finder case
• Lean Architecture - part 2• Artifact priciples• Workshop
• Lean Architecture - part 3• Communication principles• Workshop
• Wrap up
Introduction
• Name• Role• Company• What do you expect from todays seminar?
• And all of this in 30 seconds
Why Architecture?
3 C’s of Architecture
Connection Cohesion
Changeability
Architecture
Lean
Any use of resources for a purpose that is not adding value for the end customer is waste and should be
removed
Lean Manufacturing Essence
Waste
• Toyota identified the following forms of wasteful activities (Muda)• Overproduction • Unnecessary movement of (intermediate) products• Inventory• Unnecessary movement of production equipment• Defects• Waiting• Over-processing• Overload
Lean Architecture
Lean Architecture enforces value creation by Balancing business and technical values/priorities and Converging focus of all stakeholders on the required actions, at the right time, at the correct level of detail
15
11 Lean Architecture Principles
1. Business3. Artifacts
2. Process4. Communication
16
Business Principles
Business Principle:Architecture initiated by business goals
Business Principle: Focus on Value Stream
19
Process Principles
Process PrincipleThink Big, Act Small
Process Principle:Just in Time, Just Enough
22
Process Principle: Incremental
development of architecture
Kanban Board
The Mobile Food Finder
A Case in two Acts
Achtergrond
We are ByrdCo, a joint venture of Yellow Pages and Cornucopia
Yellow Pages Co. Cornucopia Investors
ByrdCo
InvestorParent
Our company vision
Freedom through information
We have a Product Vision for our initial product: Mobile Food Finder
For people on the roadwho need to find a restaurantthe Mobile Food Finderis a mobile applicationthat finds a nearby restaurant.Unlike other food findersour product is backed by a marketplace that brings restaurants and guests together.
Long term: CEO’s Plan for World Domination
1: Grab market share 2: Advertising 3: Reservationoutsourcing
Short term: we need to prove we are a viable business
•3 months initial investment•Go/No Go for further
investment 3 months after live
•Will host anything necessary on their infrastructure
15 JanNow
1 FebStart development
1 MayGo Live
1 JulyGo/No Go
These are the stakeholders forour Mobile Food Finder
Restaurant Owner
Reviewer
Investor
Parent Corporation
Party Organizer
Mobile Food Finder
Restaurant Guest
These are the requirements for Restaurant Guests
RequirementNavigation & Location based filteringFiltering on restaurant details (menu, opening times, ambiance...)Ratings & ReviewsDietary needs (vegetarian, halal, lactose free...)Support making reservationsOrganize partySave moneyPhoto and Video in restaurant recommendations
These are the requirements for Restaurant Owners
Pimp my restaurant details(Menu) promotionsInsight in hit/click-through statistics for my restaurantIdentify userSponsored promotionReservation systemPay subscription
Architectural Context
- iPhone client for Restaurant Guests
- Web Client for Restaurant Owners
- Contract for data updates: basic restaurant info and location info (batchfiles)
- For now, need to integrate into mother company IT (corp security constraints are an issue)
Existing Infrastructure
36
Artifact Principles
Artifacts Principle: Comprehensible over comprehensiveness
Artifacts Princpiple: Freedom where possible, standardize
where needed
Artifacts Principle:Travel Light
Act 1
Assignment: create vision(and arch backlog?)
Architecture Vision
A3This goes on:
Constraints
Architecture Backlog
44
Communication Principles
Architecture emerging from projects
Always Involved
All hands on deck early on
Act 2
We have found that we are aheadin the dietary needs space
Intolerances Dieting Ideological / Religious
We have revised our Product Vision
For people on the roadwho need to find a restaurantthe Mobile Food Finderis a mobile applicationthat finds a nearby restaurant.Unlike other food findersour product will support people in their dietary needs.
These are the stakeholders forour Mobile Food Finder
Restaurant Owner
Investor
Parent Corporation
Mobile Food Finder
Restaurant Guest
Architectural Context 2
- Need to integrate with Weight Watchers IT
- Need to decouple from mother company IT infrastructure