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

Prerequisites for microservices

To understand better, let's take up an imaginary example of FlixOne Inc. With this example as our base, let's discuss all the concepts in detail and see what it looks like to be ready for microservices.

FlixOne is an e-commerce player (selling books) that is spread all over India. They are growing at a very fast pace and persifying their business at the same time. They have built their existing system on the .NET framework, and it is traditional three-tier architecture. They have a massive database that is central to this system, and there are peripheral applications in their ecosystem. One such application is for their sales and logistics team, and it happens to be an Android app. These applications connect to their centralized data center and face performance issues. FlixOne has an in-house development team supported by external consultants. Refer to the following diagram:

The preceding diagram depicts a broader sense of our current application, which is a single .NET assembly application. Here we have the user interfaces we use for search, order, products, tracking order, and checkout. Now look at the following diagram:

The preceding diagram depicts our Shopping cart module only. The application is built with C#, MVC5, and Entity Framework, and it has a single project application. This image is just a pictorial overview of the architecture of our application. This application is web-based and can be accessed from any browser. Initially, any request that uses the HTTP protocol will land on the user interface that is developed using MVC5 and JQuery. For cart activities, the UI interacts with the Shopping cart module, which is nothing but a business logic layer that further talks with the database layer (written in C#); data is persisted within the database (SQL Server 2008R2).

主站蜘蛛池模板: 罗甸县| 灵台县| 新沂市| 沅江市| 双辽市| 浪卡子县| 绥阳县| 兴化市| 井陉县| 裕民县| 玛纳斯县| 咸丰县| 长兴县| 长岭县| 潜江市| 绥德县| 呼玛县| 铜山县| 分宜县| 临城县| 余姚市| 灵武市| 南木林县| 哈密市| 元谋县| 江山市| 泉州市| 清丰县| 宜城市| 灵山县| 油尖旺区| 玉树县| 民勤县| 芜湖市| 焉耆| 石景山区| 兰西县| 连州市| 沾化县| 临江市| 江陵县|