Mais conteúdo relacionado Semelhante a Traps on the Path to Microservices - Lead Dev 2018 (20) Traps on the Path to Microservices - Lead Dev 20181. Traps on the Path to
Microservices
George Woskob | New York, NY
2. ©ThoughtWorks 2017 Commercial in Confidence
Once upon a time there was an airline...
2
● Founded in 1937
● By Willbur and Orville Redenbacher
● Pioneer in computerized reservation
system
3. ©ThoughtWorks 2017 Commercial in Confidence
DB
3rd
Party
BIG BALL
OF MUD
(SEPARATION OF CONCERNS?)
FRONT END
4th
Party
..and they had a monolith
3
7. ©ThoughtWorks 2017 Commercial in Confidence
DB
3rd PARTY
BIG BALL
OF MUD
FRONT END
4th PARTY
FANCY NEW FE
NEW!
NEW!
NEW!
NOSQL!
(NEGLECTED)
ETL
NEW!
...but we ended up here
7
11. ©ThoughtWorks 2017 Commercial in Confidence
The traps
11
UNDERESTIMATING THE
COST OF A MICROSERVICE
OVERCENTRALIZATION
NEGLECTING THE
MONOLITH
15. ©ThoughtWorks 2017 Commercial in Confidence
Developer’s costs
Running several services locally
Test data
Networking config
Interteam communication
15
20. ©ThoughtWorks 2017 Commercial in Confidence
Where do I start?
20
Faster feature development
Encapsulation of business functionality
Optimal technology or design for the task
Scalability needs
Functionality that is “ripe for a rewrite”
24. ©ThoughtWorks 2017 Commercial in Confidence
Too much shared code
24
Can create complex release dependencies
Can tie you to a particular tech stack
25. ©ThoughtWorks 2017 Commercial in Confidence
Avoiding too much shared code
25
Follow rules of library design
Consensus on standards over shared implementation
No business logic!
37. ©ThoughtWorks 2017 Commercial in Confidence
The traps
37
UNDERESTIMATING THE
COST OF A MICROSERVICE
OVERCENTRALIZATION
NEGLECTING THE
MONOLITH
38. ©ThoughtWorks 2017 Commercial in Confidence
Some parting words
38
Keep in mind marginal utility!
Make room for autonomy
Own the whole process
Don’t wait for microservices
39. THANK YOU
For questions or suggestions:
George Woskob
gwoskob@ThoughtWorks.com
Special thanks to Dan Lockman with whom I originally wrote this talk
39