BoCloud wechat public account “Q&A” small column, will collect and sort out the problems and problems encountered by enterprises in IT construction, the product and technical team of BoCloud will provide targeted answers, every Friday through the “Q&A” column, hoping to provide ideas and methods for enterprise IT construction. No matter what industry you are, if you have any problems in container cloud platform construction, micro service architecture transformation, DevOps platform construction, multi-cloud management platform construction and other technical aspects, you are welcome to directly comment and leave a message.

Here’s a selection of this week’s questions:

Netizen 1: The existing application is not micro-server architecture, is it necessary to change?

Boyun product team: In fact, whether to use the micro-service architecture or the original single architecture depends on the demand, so the question is what kind of demand we have now. Those who need a microservice architecture generally face the following requirements:

  1. Updates iterate too quickly and deployment is cumbersome, taking too long each time, often affecting the business.

  2. There are dozens of applications in the company, and there are many duplicate modules, which cannot be managed in a unified way. In the future, there are still requirements for expansion. It would be better to move to a microservices architecture and a service governance platform as soon as possible.

  3. In an application, a module is frequently used, the concurrency rate is high, or there is a peak period. The capacity expansion and reduction of resources are often required. Cluster deployment of a single application can barely meet the requirements, but the operation and maintenance cost doubles, and the availability decreases.

Netizen 2: What is the relationship between microservices and containers?

Boyun product team: People who are new to containers can compare containers with virtual machines, so it is ok to deploy microservices in containers, virtual machines, or physical servers.

However, container has its unique advantages, such as fast start and stop, independent process, etc., which can make up for many shortcomings in micro service operation and maintenance, so the two can be said to be a golden partner.

However, both of them are independent things without dependence, but the combination of their ideas will be more perfect.

Netizen 3: How to consider the business continuity when deploying the micro-service framework?

In recent years, the financial industry, especially the banking industry, has become more and more strictly regulated and has higher requirements for business continuity. Therefore, the banking system has an urgent need to migrate from the traditional architecture to micro-services. Currently, in the actual deployment of the system, it is generally necessary to consider same-city active-active or same-city or off-site active-active to ensure business continuity.

So in the process of migration to microservice architecture, what are the requirements of microservice architecture for active-active and multi-active? Do you have any suggestions on how to achieve fast and uninterrupted switchover in abnormal cases and data consistency between different centers?

Boyun product team: This problem is relatively complex, and IDC’s construction plan, network plan, data storage plan and so on need to be considered. This is not just a problem that microservices can solve; microservices can only solve the problem of unbundled development of business units.

Netizen 4: In some business scenarios, the circuit breaker is not very good. Is there a good plan to realize the circuit breaker mechanism in these scenarios?

For example: insurance customers place an order, and the front end order system needs to query some index information of the customer as the basis for calculating the premium and quoting. Is there a good scheme to realize the circuit breaker mechanism in such similar scenarios?

** Cloud product team: ** can consider implementing it directly in the network layer, and make information matching according to the returned results of the system. If the requirements are not met, the fusing operation can be triggered directly, and the implementation mode of service grid can be referred to.