News for hackers. Stuff that matters.
Re:Is there any place for monoliths in 2021? (2020) by Voloskaya on Wednesday August 04, 2021 @01:59PM (#28064149)
Say you have some unit of work A within a monolith, and it is used by service B, C, D also in the monolith.

You can carve out A as a microservice with a clean general interface, and write an adapter layer to translate calls from your old messy interface to your new one, and B, C, D call that. Then start refactoring B, C, D one by one depending on your priorities.

That way new service X that needs to use A, can directly start using the clean general API even if B, C, D are not refactored yet.

There are no comments on this comment yet.