Microservices are an architectural style that splits a software to a collection of fine-grained services. Those services have to be: Loosely coupled with other services. Independently testable.
The hexagonal architecture, or ports and adapters architecture, is an architectural pattern used in software design. It aims at creating loosely coupled application components that can be easily