DEV Community

Ashraf Alam
Ashraf Alam

Posted on

SOLID Microservice?

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?

Top comments (0)