DEV Community

loading...

Discussion on: Best Practices for Event-Driven Microservice Architecture

Collapse
byrro profile image
Renato Byrro

What's your view on the idea that microservices is only advantageous for applications with enough complexity?

For low-complexity apps, it suggests that it's better to start monolith (applying loose coupling principles) and only migrate to microservices if really needed in the future.

Collapse
mostlyjason profile image
Jason Skowronski Author

Yes I definitely agree with this. It's best to avoid premature optimization and unnecessary abstractions. A low complexity app is the ideal design if it fits your business requirements. A microservice architecture adds complexity and latency over method calls, so you need to have a benefit that offsets that.