DEV Community


SOLID Microservice?

ashrafalam profile image Ashraf Alam ・1 min read

Alt Text

If a web api can be considered equivalent to an OOP class, a microservice can be considered as a class written maintaining SOLID principles.

Microservice is not a magic, but a well-designed service component serves specific responsibilities with other components.

Like a class maintaining Single Responsibility Principle (SRP) helps on maintainability and extensibility, the modular nature of microservice makes a huge difference in different size of projects.

Your thoughts?

Discussion (1)

Editor guide