Taking out the legacy
the microservice approach
Niels van Esch
@goatcode
https://joind.in/talk/41aff
Fighting the legacy
● Based on a true story
● What will it fix?
● Where and how to start
● Common pitfalls
● Tips
Perfect world
Reality
Microservices
Microservices
Why my code sucks
● Deadlines
● Temp hacks
● POCs
● Frustration
● I am human
● I learn
What will it fix?
What won’t it fix?
● Bad coding
● Slow applications
● Bugs
● Monolithic classes
● Anything else
What will it fix?
● Nothing
It can help you to:
● Get a clean start
● Keep your code decoupled
● Make your code testable
● Replace old code with less effort
● Replace or remove old frameworks
● Make bad code less painfull
Where to start
● Start small
● Only touch code that you would touch anyway
● The old code is not what you want
How to start
● Write dirty code, in a nice way
● Test, Test, Test
● Start at the bottom
Pitfalls
● Logging and debugging
● Unnecessary complexity
● Ops
● Team culture
● Company culture
Tips
● Micro should not become mega
● Also no nanoservices
● Keep an overview
Niels van Esch
info@nvanesch.nl
@goatcode
https://joind.in/talk/41aff

Taking out the legacy, the microservice approach