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

Discussing microservices

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 SOAs. 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 understanding the architecture, let's discuss the two important architectures that 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.

主站蜘蛛池模板: 洞口县| 呼和浩特市| 密山市| 芜湖市| 布尔津县| 西平县| 九龙坡区| 新安县| 杭州市| 河东区| 包头市| 古蔺县| 石阡县| 双牌县| 虎林市| 防城港市| 深泽县| 叶城县| 琼中| 肇东市| 吉安市| 尉氏县| 阜宁县| 东方市| 乌兰浩特市| 荣昌县| 玉门市| 太谷县| 卢氏县| 西乌珠穆沁旗| 贺兰县| 岳普湖县| 中超| 石棉县| 襄汾县| 道孚县| 河西区| 嘉定区| 马鞍山市| 洛隆县| 福安市|