This article is compiled from the 2019 Cloud Computing Open Source Industry Conference, MyBank senior technical expert Jiang Yimin’s speech. This paper will take readers to deeply understand the application practice of e-commerce bank micro-service architecture.
Network business bank structure overview of the current situation
Relying on financial level distributed database OceanBase, financial level distributed architecture SOFAStack and other products independently developed by Ant Financial, MyBank has created a microservices-based unitary architecture, and has become the first Internet bank with three locations and five centers private cloud deployment in China.
The architecture system of netbank with full service, three places and five centers provides scalable and highly available service computing capacity across computer rooms and regions. It can achieve elastic resource allocation and global flow control, and has massive data processing and computing capacity, which effectively improves the guarantee level of business continuity of netbank.
With the support of the remote multi-live architecture system, the e-bank has the full-service disaster recovery and emergency response capabilities of “anytime, anywhere, on-demand expansion, anytime switch”, which provides a successful example for the banking industry to transform and evolve from the traditional IOE architecture system to the distributed cloud computing system.
Microservices architecture is layered and services are split
Online commercial bank has fully expanded the application scenarios and architecture capabilities of the unitary architecture, built the extendable and micro-service architecture, abstracted the core underlying business processing logic, and divided the responsibility boundary, architecture layer and service separation of a single system. It is divided into basic service layer, core layer, business product layer, channel layer, open layer, operation layer and so on.
Service split can also be considered based on business type, read/write, online/batch/background, domain type, critical link, release frequency, unit constraints, organizational structure, and so on.
Full link pressure measurement under microservice architecture
Give him bank micro service architecture is constructed under the full link pressure measuring ability, through SOFAStack middleware provides the ability for real business flow and pressure test flow simulation for effective security isolation, let users under the precondition of no sense to preview the system pressure, on the real line production environment simulated user scale, the business scenario and trade request order of magnitude, Targeted system tuning, resource adjustment, production environment is a high simulation simulation test. The full-link pressure test effectively reduces the risk of architecture upgrade and guarantees the stable operation of production system.
Microservices deployed in multiple equipment rooms across regions
Based on capacity, disaster tolerance, fault tolerance, performance and cost, the network bank considers the cross-region multi-machine room deployment of micro-services and builds the remote multi-live capacity.
On the basis of the micro-service architecture, myBank has upgraded from non-unit to unit architecture, realizing the deployment of micro-services in multi-data centers across regions. The core of the unitary architecture is to ensure the orderly, controlled, and converged traffic of the north-south and east-west directions, and to prevent the traffic of the data layer from crossing data centers. By adjusting the fragment bits, the number of users carried by a single unit can be further reduced, and different units can be deployed to more regions, which provides the foundation for unlimited expansion.
Multi-level, cross-region, one-click lossless Dr Switchover
The network commercial bank has realized the multi-level cross-region one key lossless disaster recovery switching ability. One-click Dr Plans are implemented to ensure high availability and continuity of services, achieving zero Recovery Point Objective (RPO) and a Recovery Time Objective (RTO) of only a few minutes. It can provide billions of accounts and billions of daily trading capacity. It is the first time for the banking industry to implement such a disaster recovery capability in a large-scale bank trading system. It not only improves the level of business continuity assurance, but also opens up a new way for the banking industry to explore high standard disaster recovery solutions.
Go cloud native and embrace Service Mesh
With the advent of the cloud native era, Service Mesh has become the inevitable direction of the future development of micro-service architecture, which is actively embraced by online banks. The support capability of SOFAStack middleware of Ant Financial and SOFAStack CAFE (Cloud Application Fabric Engine) Cloud Application Engine construction will be used to provide the basis for large-scale operation and maintenance of Mesh architecture.
Based on cloud native technology, MyBank became the first Internet bank in China to put its core system architecture on the financial cloud. During the 11th National Double Conference in 2018, the underlying architecture of The network merchant Bank was comprehensively upgraded, with the scheduling capability of thousands of nodes and tens of thousands of container groups, supporting the substantial growth of the overall business capacity and peak TPS.
The digital transformation of the financial industry needs to build a strong technical support system and IT capacity. Mybank expects to provide reference experience for the industry through its implementation of micro-service architecture, and also hopes to jointly explore the road of micro-service architecture transformation of the financial industry in the future with colleagues in the industry.