Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: