Hexagonal architecture is an architectural pattern in software engineering where certain boundaries/interfaces are defined as edges of a hexagon. The pattern is also known as the ports and adapters pattern, which is more descriptive to the actual implementation.
Hexagonal architecture is an implementation of a subset of the SOLID principles, especially the D of “Dependency inversion”, but also the L of “Liskov substitution”.
Together with Domain Driven Design (DDD), hexagonal architecture (and SOLID principles) fit very well microservice architectures. With DDD you define the service boundaries, and with hexagonal architecture you implement interfaces of the domain. …
Software Engineer