官术网_书友最值得收藏!

Discussing microservices

Until now, we have gone through a few definitions of microservices; now, let's discuss microservices in detail.

In short, a microservice architecture removes most of the drawbacks of SOA architectures. It is more code-oriented (we will discuss this in detail in the coming sections) than SOA services.

Slicing your application into a number of services is neither SOA nor microservices. However, combining service design and best practices from the SOA world along with a few emerging practices, such as isolated deployment, semantic versioning, providing lightweight services, and service discovery in polyglot programming, is microservices. We implement microservices to satisfy business features and implement them with reduced time to market and greater flexibility.

Before we move on to understand the architecture, let's discuss the two important architectures that have led to its existence:

  • The monolithic architecture style
  • SOA

Most of us would be aware of the scenario where during the life cycle of an enterprise application development, a suitable architectural style is decided. Then, at various stages, the initial pattern is further improved and adapted with changes that cater to various challenges, such as deployment complexity, large code base, and scalability issues. This is exactly how the monolithic architecture style evolved into SOA, further leading up to microservices.

主站蜘蛛池模板: 双城市| 休宁县| 淮阳县| 张家川| 庄浪县| 建水县| 夹江县| 义马市| 铜山县| 岢岚县| 曲沃县| 青海省| 囊谦县| 建阳市| 新闻| 辽宁省| 集贤县| 内江市| 昌宁县| 和政县| 乌兰浩特市| 阿克苏市| 阿拉善右旗| 鹰潭市| 南通市| 利津县| 云林县| 栾城县| 东台市| 闽清县| 天祝| 昌黎县| 万载县| 克山县| 韶山市| 宁安市| 普陀区| 虞城县| 仙桃市| 延津县| 宣武区|