Microservices architecture is gaining popularity over Service Oriented Architecture (SOA) due to its flexibility and scalability. Microservices are smaller, independent services that function together, allowing for easier testing, deployment, and fault isolation. This contrasts with SOA, which is a collection of services that communicate with each other but are not independent.
Microservices are becoming the preferred choice because they offer the ability to build and scale individual components of an application independently. This flexibility allows teams to work on different parts of an application simultaneously, speeding up the development process.
However, transitioning to microservices is not without challenges. It requires a significant shift in mindset and practices, with a focus on decentralisation, resilience, and automation. Additionally, microservices can lead to an increase in operational complexity due to the need to manage many small services instead of a few large ones.
Despite these challenges, the trend towards microservices is expected to continue. This is due, in part, to the rise of cloud computing, which makes it easier to deploy and manage microservices. The use of containers and orchestration tools like Kubernetes also support the microservices model by simplifying deployment and scaling.
In conclusion, while SOA is still useful for certain applications, microservices offer greater flexibility and scalability, making them the preferred choice for many organisations.
Go to source article: http://redmonk.com/jgovernor/2017/07/21/why-now-why-microservices-why-not-soa/