An approach to developing a single application as a suite of small 'services', each running its own process and communicating with lightweight mechanisms.
Microservices is an architectural style of computing that is frequently used in modern, distributed, cloud-based systems. It is intended to make applications easy to change, making the enterprise more adaptable.
Microservices are intended to have short development cycles and be highly scalable — which means you can potentially cut costs and your time to market.
Microservices produce applications that are inherently complex, with many independent parts. Some legacy applications aren’t suited to being rearchitected for microservices.
Microservices are increasingly popular for organizations running cloud-based applications.
What are microservices?
Ìý
Microservices is a modular approach to building business applications, which are delivered via small, independent and loosely coupled services. These services are built around business capabilities and they can be deployed by fully automated mechanisms such as DevOps.
Ìý
Since microservices are small, they’re designed to be easily replaceable or upgradeable. This means you can build business applications that are designed to evolve over time. That is in stark contrast to traditional methods of application development, where upgrades were often long and costly projects.
What’s in it for you?
Ìý
With microservices you’re building applications that are designed to be upgradeable, so they’re highly adaptable. Your IT department can mix multiple languages, development frameworks and data-storage technologies —Ìýso they can work with the technologies they feel are best suited to your organization.
Ìý
The benefits of a microservices approach include increased ability to scale your business operations, accelerated pace at which you can change and reduced costs of enacting change.
What are the trade-offs of microservices?
Ìý
Not every legacy application will benefit from being decomposed and rebuilt in microservices style. In moving to a microservices style, you may lose some of the simplicity of your monolithic legacy applications. A legacy application that won't benefit as much from the flexibility a microservices architecture brings is a poor candidate for microservices.
Ìý
And not every organization is ready to adopt microservices. There are capabilities needed in newer practices such as continuous delivery and infrastructure automation practices before microservices should be considered.
How are microservices being used?
Ìý
A microservices approach is often used when enterprises want to make core, monolithic business applications more scalable, flexible and able to change. If you want to ensure your business applications can take advantage of today’s programming languages or cloud, you might well consider microservices. You might also look at microservices when building new applications.
Ìý
A German fashion retailer, introduced microservices as part of a modernization program that increased its flexibility and speed-to-market. Its legacy infrastructure made it slow to introduce new customer-facing features. By introducing a microservices-based platform, it cut time-to-market from months to hours.
Would you like to suggest a topic to be decoded?
Just leave your email address and we'll be in touch the moment it's ready.