![Page 1: Building Systems That Can Pivot | Zhamak Dehghani, Principal Consultant, ThoughtWorks | Andy Maks, Technical Principal, ThoughtWorks](https://reader034.vdocuments.us/reader034/viewer/2022042515/547ec23bb4af9fc3158b5736/html5/thumbnails/1.jpg)
BUILDING SYSTEMS THAT PIVOT
Andy Marks [email protected]
@andee_marks
Zhamak Dehghani [email protected] @zhamakd
![Page 2: Building Systems That Can Pivot | Zhamak Dehghani, Principal Consultant, ThoughtWorks | Andy Maks, Technical Principal, ThoughtWorks](https://reader034.vdocuments.us/reader034/viewer/2022042515/547ec23bb4af9fc3158b5736/html5/thumbnails/2.jpg)
![Page 3: Building Systems That Can Pivot | Zhamak Dehghani, Principal Consultant, ThoughtWorks | Andy Maks, Technical Principal, ThoughtWorks](https://reader034.vdocuments.us/reader034/viewer/2022042515/547ec23bb4af9fc3158b5736/html5/thumbnails/3.jpg)
![Page 4: Building Systems That Can Pivot | Zhamak Dehghani, Principal Consultant, ThoughtWorks | Andy Maks, Technical Principal, ThoughtWorks](https://reader034.vdocuments.us/reader034/viewer/2022042515/547ec23bb4af9fc3158b5736/html5/thumbnails/4.jpg)
![Page 5: Building Systems That Can Pivot | Zhamak Dehghani, Principal Consultant, ThoughtWorks | Andy Maks, Technical Principal, ThoughtWorks](https://reader034.vdocuments.us/reader034/viewer/2022042515/547ec23bb4af9fc3158b5736/html5/thumbnails/5.jpg)
![Page 6: Building Systems That Can Pivot | Zhamak Dehghani, Principal Consultant, ThoughtWorks | Andy Maks, Technical Principal, ThoughtWorks](https://reader034.vdocuments.us/reader034/viewer/2022042515/547ec23bb4af9fc3158b5736/html5/thumbnails/6.jpg)
![Page 7: Building Systems That Can Pivot | Zhamak Dehghani, Principal Consultant, ThoughtWorks | Andy Maks, Technical Principal, ThoughtWorks](https://reader034.vdocuments.us/reader034/viewer/2022042515/547ec23bb4af9fc3158b5736/html5/thumbnails/7.jpg)
![Page 8: Building Systems That Can Pivot | Zhamak Dehghani, Principal Consultant, ThoughtWorks | Andy Maks, Technical Principal, ThoughtWorks](https://reader034.vdocuments.us/reader034/viewer/2022042515/547ec23bb4af9fc3158b5736/html5/thumbnails/8.jpg)
![Page 9: Building Systems That Can Pivot | Zhamak Dehghani, Principal Consultant, ThoughtWorks | Andy Maks, Technical Principal, ThoughtWorks](https://reader034.vdocuments.us/reader034/viewer/2022042515/547ec23bb4af9fc3158b5736/html5/thumbnails/9.jpg)
![Page 10: Building Systems That Can Pivot | Zhamak Dehghani, Principal Consultant, ThoughtWorks | Andy Maks, Technical Principal, ThoughtWorks](https://reader034.vdocuments.us/reader034/viewer/2022042515/547ec23bb4af9fc3158b5736/html5/thumbnails/10.jpg)
CONTINUOUS DELIVERY AS AN ENABLER • automated build • automated deployment • automated environment provisioning - cloud & virtualisation • automated testing
![Page 11: Building Systems That Can Pivot | Zhamak Dehghani, Principal Consultant, ThoughtWorks | Andy Maks, Technical Principal, ThoughtWorks](https://reader034.vdocuments.us/reader034/viewer/2022042515/547ec23bb4af9fc3158b5736/html5/thumbnails/11.jpg)
CONTINUOUS DELIVERY AS AN ENABLER • automated build • automated deployment • automated environment provisioning - cloud & virtualisation • automated testing
SP
EE
D O
F D
EL
IVE
RY
C D M A T U R I T Y L E V E L
Threshold without changing architecture
![Page 12: Building Systems That Can Pivot | Zhamak Dehghani, Principal Consultant, ThoughtWorks | Andy Maks, Technical Principal, ThoughtWorks](https://reader034.vdocuments.us/reader034/viewer/2022042515/547ec23bb4af9fc3158b5736/html5/thumbnails/12.jpg)
ARCHITECTURE
![Page 13: Building Systems That Can Pivot | Zhamak Dehghani, Principal Consultant, ThoughtWorks | Andy Maks, Technical Principal, ThoughtWorks](https://reader034.vdocuments.us/reader034/viewer/2022042515/547ec23bb4af9fc3158b5736/html5/thumbnails/13.jpg)
A THOUGHT EXPERIMENT
Build Test Integration Acceptance Production
System.out.println (“Hello World!”);
How long will this take?
![Page 14: Building Systems That Can Pivot | Zhamak Dehghani, Principal Consultant, ThoughtWorks | Andy Maks, Technical Principal, ThoughtWorks](https://reader034.vdocuments.us/reader034/viewer/2022042515/547ec23bb4af9fc3158b5736/html5/thumbnails/14.jpg)
![Page 15: Building Systems That Can Pivot | Zhamak Dehghani, Principal Consultant, ThoughtWorks | Andy Maks, Technical Principal, ThoughtWorks](https://reader034.vdocuments.us/reader034/viewer/2022042515/547ec23bb4af9fc3158b5736/html5/thumbnails/15.jpg)
ELEMENTS OF ARCHITECTURE
Integration
Off-the-shelf
Bespoke
Off-the-shelf
Bespoke
Integration
Integration
Integration
![Page 16: Building Systems That Can Pivot | Zhamak Dehghani, Principal Consultant, ThoughtWorks | Andy Maks, Technical Principal, ThoughtWorks](https://reader034.vdocuments.us/reader034/viewer/2022042515/547ec23bb4af9fc3158b5736/html5/thumbnails/16.jpg)
ELEMENTS OF ARCHITECTURE
Integration
Off-the-shelf
Bespoke
Off-the-shelf
Bespoke
Integration
Integration
Integration
BESPOKE DEVELOPMENT
![Page 17: Building Systems That Can Pivot | Zhamak Dehghani, Principal Consultant, ThoughtWorks | Andy Maks, Technical Principal, ThoughtWorks](https://reader034.vdocuments.us/reader034/viewer/2022042515/547ec23bb4af9fc3158b5736/html5/thumbnails/17.jpg)
MONOLITHIC ARCHITECTURES
![Page 18: Building Systems That Can Pivot | Zhamak Dehghani, Principal Consultant, ThoughtWorks | Andy Maks, Technical Principal, ThoughtWorks](https://reader034.vdocuments.us/reader034/viewer/2022042515/547ec23bb4af9fc3158b5736/html5/thumbnails/18.jpg)
![Page 19: Building Systems That Can Pivot | Zhamak Dehghani, Principal Consultant, ThoughtWorks | Andy Maks, Technical Principal, ThoughtWorks](https://reader034.vdocuments.us/reader034/viewer/2022042515/547ec23bb4af9fc3158b5736/html5/thumbnails/19.jpg)
![Page 20: Building Systems That Can Pivot | Zhamak Dehghani, Principal Consultant, ThoughtWorks | Andy Maks, Technical Principal, ThoughtWorks](https://reader034.vdocuments.us/reader034/viewer/2022042515/547ec23bb4af9fc3158b5736/html5/thumbnails/20.jpg)
![Page 21: Building Systems That Can Pivot | Zhamak Dehghani, Principal Consultant, ThoughtWorks | Andy Maks, Technical Principal, ThoughtWorks](https://reader034.vdocuments.us/reader034/viewer/2022042515/547ec23bb4af9fc3158b5736/html5/thumbnails/21.jpg)
LAYERED/TIERED ARCHITECTURE
User Interface/Channels
Business Logic/ Frameworks/Middleware
Database/Systems of Record ?
![Page 22: Building Systems That Can Pivot | Zhamak Dehghani, Principal Consultant, ThoughtWorks | Andy Maks, Technical Principal, ThoughtWorks](https://reader034.vdocuments.us/reader034/viewer/2022042515/547ec23bb4af9fc3158b5736/html5/thumbnails/22.jpg)
![Page 23: Building Systems That Can Pivot | Zhamak Dehghani, Principal Consultant, ThoughtWorks | Andy Maks, Technical Principal, ThoughtWorks](https://reader034.vdocuments.us/reader034/viewer/2022042515/547ec23bb4af9fc3158b5736/html5/thumbnails/23.jpg)
![Page 24: Building Systems That Can Pivot | Zhamak Dehghani, Principal Consultant, ThoughtWorks | Andy Maks, Technical Principal, ThoughtWorks](https://reader034.vdocuments.us/reader034/viewer/2022042515/547ec23bb4af9fc3158b5736/html5/thumbnails/24.jpg)
![Page 25: Building Systems That Can Pivot | Zhamak Dehghani, Principal Consultant, ThoughtWorks | Andy Maks, Technical Principal, ThoughtWorks](https://reader034.vdocuments.us/reader034/viewer/2022042515/547ec23bb4af9fc3158b5736/html5/thumbnails/25.jpg)
FINE-GRAINED ARCHITECTURE
![Page 26: Building Systems That Can Pivot | Zhamak Dehghani, Principal Consultant, ThoughtWorks | Andy Maks, Technical Principal, ThoughtWorks](https://reader034.vdocuments.us/reader034/viewer/2022042515/547ec23bb4af9fc3158b5736/html5/thumbnails/26.jpg)
BOUNDARIES
![Page 27: Building Systems That Can Pivot | Zhamak Dehghani, Principal Consultant, ThoughtWorks | Andy Maks, Technical Principal, ThoughtWorks](https://reader034.vdocuments.us/reader034/viewer/2022042515/547ec23bb4af9fc3158b5736/html5/thumbnails/27.jpg)
![Page 28: Building Systems That Can Pivot | Zhamak Dehghani, Principal Consultant, ThoughtWorks | Andy Maks, Technical Principal, ThoughtWorks](https://reader034.vdocuments.us/reader034/viewer/2022042515/547ec23bb4af9fc3158b5736/html5/thumbnails/28.jpg)
![Page 29: Building Systems That Can Pivot | Zhamak Dehghani, Principal Consultant, ThoughtWorks | Andy Maks, Technical Principal, ThoughtWorks](https://reader034.vdocuments.us/reader034/viewer/2022042515/547ec23bb4af9fc3158b5736/html5/thumbnails/29.jpg)
![Page 30: Building Systems That Can Pivot | Zhamak Dehghani, Principal Consultant, ThoughtWorks | Andy Maks, Technical Principal, ThoughtWorks](https://reader034.vdocuments.us/reader034/viewer/2022042515/547ec23bb4af9fc3158b5736/html5/thumbnails/30.jpg)
![Page 31: Building Systems That Can Pivot | Zhamak Dehghani, Principal Consultant, ThoughtWorks | Andy Maks, Technical Principal, ThoughtWorks](https://reader034.vdocuments.us/reader034/viewer/2022042515/547ec23bb4af9fc3158b5736/html5/thumbnails/31.jpg)
BOUNDARIES
A business capability
Placing Order
Tracking Order
Short-term experimentation
Drone Based
Delivery
Technology & security requirements
Debit Cards
Credit Card
Payments
CAN I RELEASE THESE INDEPENDENTLY?
![Page 32: Building Systems That Can Pivot | Zhamak Dehghani, Principal Consultant, ThoughtWorks | Andy Maks, Technical Principal, ThoughtWorks](https://reader034.vdocuments.us/reader034/viewer/2022042515/547ec23bb4af9fc3158b5736/html5/thumbnails/32.jpg)
A THOUGHT EXPERIMENT
Integration
Off-the-shelf MICRO SERVICES
• Independent • Business capability • Published interface
• Small • 100s, not 1000s
![Page 33: Building Systems That Can Pivot | Zhamak Dehghani, Principal Consultant, ThoughtWorks | Andy Maks, Technical Principal, ThoughtWorks](https://reader034.vdocuments.us/reader034/viewer/2022042515/547ec23bb4af9fc3158b5736/html5/thumbnails/33.jpg)
BENEFITS
User Interface/Channels
Business Logic/ Frameworks/Middleware
Database/Systems of Record
![Page 34: Building Systems That Can Pivot | Zhamak Dehghani, Principal Consultant, ThoughtWorks | Andy Maks, Technical Principal, ThoughtWorks](https://reader034.vdocuments.us/reader034/viewer/2022042515/547ec23bb4af9fc3158b5736/html5/thumbnails/34.jpg)
AUTONOMY
AUTONOMY ➡ SPEED
![Page 35: Building Systems That Can Pivot | Zhamak Dehghani, Principal Consultant, ThoughtWorks | Andy Maks, Technical Principal, ThoughtWorks](https://reader034.vdocuments.us/reader034/viewer/2022042515/547ec23bb4af9fc3158b5736/html5/thumbnails/35.jpg)
ABSORBS TECHNOLOGY FASTER
.NET
Clojure
Java
[SQL Database]
[Graph Database]
[Document Storage]
![Page 36: Building Systems That Can Pivot | Zhamak Dehghani, Principal Consultant, ThoughtWorks | Andy Maks, Technical Principal, ThoughtWorks](https://reader034.vdocuments.us/reader034/viewer/2022042515/547ec23bb4af9fc3158b5736/html5/thumbnails/36.jpg)
COMPOSE-ABILITY
![Page 37: Building Systems That Can Pivot | Zhamak Dehghani, Principal Consultant, ThoughtWorks | Andy Maks, Technical Principal, ThoughtWorks](https://reader034.vdocuments.us/reader034/viewer/2022042515/547ec23bb4af9fc3158b5736/html5/thumbnails/37.jpg)
![Page 38: Building Systems That Can Pivot | Zhamak Dehghani, Principal Consultant, ThoughtWorks | Andy Maks, Technical Principal, ThoughtWorks](https://reader034.vdocuments.us/reader034/viewer/2022042515/547ec23bb4af9fc3158b5736/html5/thumbnails/38.jpg)
![Page 39: Building Systems That Can Pivot | Zhamak Dehghani, Principal Consultant, ThoughtWorks | Andy Maks, Technical Principal, ThoughtWorks](https://reader034.vdocuments.us/reader034/viewer/2022042515/547ec23bb4af9fc3158b5736/html5/thumbnails/39.jpg)
![Page 40: Building Systems That Can Pivot | Zhamak Dehghani, Principal Consultant, ThoughtWorks | Andy Maks, Technical Principal, ThoughtWorks](https://reader034.vdocuments.us/reader034/viewer/2022042515/547ec23bb4af9fc3158b5736/html5/thumbnails/40.jpg)
![Page 41: Building Systems That Can Pivot | Zhamak Dehghani, Principal Consultant, ThoughtWorks | Andy Maks, Technical Principal, ThoughtWorks](https://reader034.vdocuments.us/reader034/viewer/2022042515/547ec23bb4af9fc3158b5736/html5/thumbnails/41.jpg)
AUTOMATE! AUTOMATE!
AUTOMATE!
![Page 42: Building Systems That Can Pivot | Zhamak Dehghani, Principal Consultant, ThoughtWorks | Andy Maks, Technical Principal, ThoughtWorks](https://reader034.vdocuments.us/reader034/viewer/2022042515/547ec23bb4af9fc3158b5736/html5/thumbnails/42.jpg)
AUTOMATION
Build Test Integration Acceptance Production
![Page 43: Building Systems That Can Pivot | Zhamak Dehghani, Principal Consultant, ThoughtWorks | Andy Maks, Technical Principal, ThoughtWorks](https://reader034.vdocuments.us/reader034/viewer/2022042515/547ec23bb4af9fc3158b5736/html5/thumbnails/43.jpg)
AUTOMATION Build Test Integration Acceptance Production
![Page 44: Building Systems That Can Pivot | Zhamak Dehghani, Principal Consultant, ThoughtWorks | Andy Maks, Technical Principal, ThoughtWorks](https://reader034.vdocuments.us/reader034/viewer/2022042515/547ec23bb4af9fc3158b5736/html5/thumbnails/44.jpg)
![Page 45: Building Systems That Can Pivot | Zhamak Dehghani, Principal Consultant, ThoughtWorks | Andy Maks, Technical Principal, ThoughtWorks](https://reader034.vdocuments.us/reader034/viewer/2022042515/547ec23bb4af9fc3158b5736/html5/thumbnails/45.jpg)
![Page 46: Building Systems That Can Pivot | Zhamak Dehghani, Principal Consultant, ThoughtWorks | Andy Maks, Technical Principal, ThoughtWorks](https://reader034.vdocuments.us/reader034/viewer/2022042515/547ec23bb4af9fc3158b5736/html5/thumbnails/46.jpg)
MONITORING
STATUS • Up? • Down?
STATUS • All up? • All down? • Mostly up? • Up apart from 1? • All of the important bits are up? • …
![Page 47: Building Systems That Can Pivot | Zhamak Dehghani, Principal Consultant, ThoughtWorks | Andy Maks, Technical Principal, ThoughtWorks](https://reader034.vdocuments.us/reader034/viewer/2022042515/547ec23bb4af9fc3158b5736/html5/thumbnails/47.jpg)
![Page 48: Building Systems That Can Pivot | Zhamak Dehghani, Principal Consultant, ThoughtWorks | Andy Maks, Technical Principal, ThoughtWorks](https://reader034.vdocuments.us/reader034/viewer/2022042515/547ec23bb4af9fc3158b5736/html5/thumbnails/48.jpg)
![Page 49: Building Systems That Can Pivot | Zhamak Dehghani, Principal Consultant, ThoughtWorks | Andy Maks, Technical Principal, ThoughtWorks](https://reader034.vdocuments.us/reader034/viewer/2022042515/547ec23bb4af9fc3158b5736/html5/thumbnails/49.jpg)
AMAZON PRODUCT PAGE
DOESN’T APPEAR… DO WE CARE?
![Page 50: Building Systems That Can Pivot | Zhamak Dehghani, Principal Consultant, ThoughtWorks | Andy Maks, Technical Principal, ThoughtWorks](https://reader034.vdocuments.us/reader034/viewer/2022042515/547ec23bb4af9fc3158b5736/html5/thumbnails/50.jpg)
A THOUGHT EXPERIMENT
Integration
Off-the-shelf
Bespoke
OFF-THE-SHELF SOFTWARE
![Page 51: Building Systems That Can Pivot | Zhamak Dehghani, Principal Consultant, ThoughtWorks | Andy Maks, Technical Principal, ThoughtWorks](https://reader034.vdocuments.us/reader034/viewer/2022042515/547ec23bb4af9fc3158b5736/html5/thumbnails/51.jpg)
![Page 52: Building Systems That Can Pivot | Zhamak Dehghani, Principal Consultant, ThoughtWorks | Andy Maks, Technical Principal, ThoughtWorks](https://reader034.vdocuments.us/reader034/viewer/2022042515/547ec23bb4af9fc3158b5736/html5/thumbnails/52.jpg)
![Page 53: Building Systems That Can Pivot | Zhamak Dehghani, Principal Consultant, ThoughtWorks | Andy Maks, Technical Principal, ThoughtWorks](https://reader034.vdocuments.us/reader034/viewer/2022042515/547ec23bb4af9fc3158b5736/html5/thumbnails/53.jpg)
![Page 54: Building Systems That Can Pivot | Zhamak Dehghani, Principal Consultant, ThoughtWorks | Andy Maks, Technical Principal, ThoughtWorks](https://reader034.vdocuments.us/reader034/viewer/2022042515/547ec23bb4af9fc3158b5736/html5/thumbnails/54.jpg)
PRODUCT SELECTION CRITERIA
• Can you write automated tests against it?
• Can it be automatically deployed?
• Can its environments be automatically provisioned?
• Can updates be automatically applied?
• Does it fit the way you work?
• Is it built using open standards?
• Does it run on open platforms?
• Is data stored in open formats?
• Is it open source?
![Page 55: Building Systems That Can Pivot | Zhamak Dehghani, Principal Consultant, ThoughtWorks | Andy Maks, Technical Principal, ThoughtWorks](https://reader034.vdocuments.us/reader034/viewer/2022042515/547ec23bb4af9fc3158b5736/html5/thumbnails/55.jpg)
COTS
TRADE SUBMISSION
CONFIRMATION RECEIPT
Hosted COTS
trade instructions
trade confirmations
![Page 56: Building Systems That Can Pivot | Zhamak Dehghani, Principal Consultant, ThoughtWorks | Andy Maks, Technical Principal, ThoughtWorks](https://reader034.vdocuments.us/reader034/viewer/2022042515/547ec23bb4af9fc3158b5736/html5/thumbnails/56.jpg)
A THOUGHT EXPERIMENT
Integration
Off-the-shelf
Bespoke
COMPONENT INTEGRATION
![Page 57: Building Systems That Can Pivot | Zhamak Dehghani, Principal Consultant, ThoughtWorks | Andy Maks, Technical Principal, ThoughtWorks](https://reader034.vdocuments.us/reader034/viewer/2022042515/547ec23bb4af9fc3158b5736/html5/thumbnails/57.jpg)
INTEGRATION
Smart & Complex Integration System
![Page 58: Building Systems That Can Pivot | Zhamak Dehghani, Principal Consultant, ThoughtWorks | Andy Maks, Technical Principal, ThoughtWorks](https://reader034.vdocuments.us/reader034/viewer/2022042515/547ec23bb4af9fc3158b5736/html5/thumbnails/58.jpg)
![Page 59: Building Systems That Can Pivot | Zhamak Dehghani, Principal Consultant, ThoughtWorks | Andy Maks, Technical Principal, ThoughtWorks](https://reader034.vdocuments.us/reader034/viewer/2022042515/547ec23bb4af9fc3158b5736/html5/thumbnails/59.jpg)
Simple & Dumb Integration
Open standards (e.g., HTTP)
![Page 60: Building Systems That Can Pivot | Zhamak Dehghani, Principal Consultant, ThoughtWorks | Andy Maks, Technical Principal, ThoughtWorks](https://reader034.vdocuments.us/reader034/viewer/2022042515/547ec23bb4af9fc3158b5736/html5/thumbnails/60.jpg)
Simple & Dumb Infrastructure SUMMARY
![Page 61: Building Systems That Can Pivot | Zhamak Dehghani, Principal Consultant, ThoughtWorks | Andy Maks, Technical Principal, ThoughtWorks](https://reader034.vdocuments.us/reader034/viewer/2022042515/547ec23bb4af9fc3158b5736/html5/thumbnails/61.jpg)
RECOMMENDATIONS
• Bespoke development ➡ microservices – Automate everything!
• Off-the-shelf software ➡ utility systems – Select for automation and open standards
• Component integration – Dumb, open and “of the web”
OTS
Bespoke
Bespoke
OTS
![Page 62: Building Systems That Can Pivot | Zhamak Dehghani, Principal Consultant, ThoughtWorks | Andy Maks, Technical Principal, ThoughtWorks](https://reader034.vdocuments.us/reader034/viewer/2022042515/547ec23bb4af9fc3158b5736/html5/thumbnails/62.jpg)
CONCLUSION