Tencent grade core financial trading solutions TDMesh depth practice

Recently, the architect ArchSummit global summit, Tencent team shared the billing practices in the financial depth of the core level of trading solutions TDMesh. This is the Tencent billing following the show in May this year, Tencent first line of the global digital ecosystem of the General Assembly of another big move.

It is understood that Tencent Tencent billing is hatching to support internal business one hundred billion revenue Internet trading platform, which brings together the major payment channels at home and abroad, providing account management, precision marketing, security, risk control, audit split, billing analysis multi-dimensional services. Carrying platform Tencent income market, account ten billion, ten billion daily transactions, covering 180+ countries (regions), serving tens of thousands of businesses and millions of businesses, it is a comprehensive one-stop billing platform.
Tencent grade core financial trading solutions TDMesh depth practice

TDMesh supported by 15 years of Tencent internal billing system technology incubators come including global consistency, massive support requests, 724 uninterrupted service management, monitoring and intelligence-second elastically stretchable and other functional blocks, together constitute a comprehensive financial level processing program.

Li Gang, general manager of Tencent billing platform unit, said: "Based on the accounting challenges of high consistency, high performance, high availability, high reliability and technical requirements, Tencent billing platform based on years of experience in the service department's internal operations, will fully optimize the core technology sector integration, the introduction of a financial transaction level of core solutions TDMesh. while continuing evolution of self-sustained polished, but would work together to build a consistent high level of financial technology paradigm by participating in relevant technical discussions with partners, to promote the development of the industry. "*

respond "four high" challenge Tencent billing technology to build the idea of

Tencent infrastructure charging system started in 2004, in the development process in the next 15 years, with the increase in access services, mobile payments rise, the deployment of regional globalization, Tencent faces a number of challenges in terms of billing, for example look at:

  • Consistent high-level finance. Tencent charge carries a game account, integration benefits, pan-entertainment subscription and advertiser account class stores such as ten billion, one hundred thousand transactions per second peak periods, daily trading volume of over ten billion, a daily average of over one hundred versions or process changes item. In the massive scale of the transaction, how to ensure zero errors in one hundred billion in annual revenue, to achieve the financial level consistency, the key issue is the core billing.
  • high performance. Billing processes, such as consumer game points, coupons, pay-per-click advertising and other deductions, often accompanied by hot spots and access to high-frequency, plus the number of activities such as when the heavy volume of traffic tenfold sudden, instantaneous peak superimposed over one million tps, this requires a single charge with high overall performance and redundancy;
  • High availability. Accounting services are currently deployed worldwide have 100+ cluster, as a large span of the payment system, will have to face a variety of network anomalies, differences in different countries pay channels, configuration and data processing difficulties and other issues that require billing services with a strong business disaster recovery and data disaster recovery capabilities, has sufficient flexibility and fault-tolerant design, time control is not available throughout the year, minute level;
  • High reliability. Mainly for the storage layer, as long as the success response data representing a certain place orders for such operating system crashes and other accidents downtime to ensure that data is not lost; the same time, any failure of distributed nodes, data corruption caused by the machine and the split brain problems also require data strictly good is not lost.

    In response to the above-mentioned "four high" challenge Tencent micro-billing the use of the technical aspects of the service station and two design ideas:

    micro-service design, split by rational functions, such as registration and fine service management services, discovery, fuse , self-healing, load balancing, link tracking the rapid expansion of efficient scheduling and traffic functions, in order to achieve high availability and scalable overall system.

    Design in Taiwan, through the rational functional organization, a clear boundary module, similar to the internal logic of abstract components, and unified authentication services, room service configuration, in the service business, and unified storage services and other specifications, to achieve the overall high reusable services, enhance research and development performance.

Tencent grade core financial trading solutions TDMesh depth practice

Based on the above ideas, Tencent billing billing solutions built TDMesh financial level, it covers from the access to the storage, all aspects of the components have four high requirements, coupled with service scheduled on the operation, monitoring, and change gray data analysis management module. These component modules complement each other, strong support from external partners Tencent billing and business development.

Technology to improve product system, TDMesh has been recognized by the industry

from technical architecture perspective, TDMesh has formed a sound system and a wealth of technical products.
Tencent grade core financial trading solutions TDMesh depth practice
  
Tencent chief architect billing, billing Chen Ningguo experts in the field of the General Assembly a comprehensive analysis of the TDMesh overall architecture. He introduced Road, Tencent grade core financial trading solutions TDMesh, include 1) TDEA unified entrance scheduling, protocol management, and authentication services; 2) TDCC configuration engine high consistent management complexity associated with multi-link configuration; 3) TDXA trading engine, the application layer of complex transactions long link management logic high consistent; 4) TDF high performance service framework basis; 5) TDMQ consistent high performance distributed message queue; 6) TD-Hold consistent high performance distributed cache; 7) TDSQL high financial level consistent high reliability database; 8) TDLedger high consistent accounting mechanism decentralized, block chain; 9) operating system, unified and flexible management services.

For developers, the use of TDMesh, APP as long as the docking TDXA, you can access all the components TDMesh step, from a configuration, access, application-layer transactions, orders to storage, messaging, reconciliation and so the entire transaction chain business package standardization process, to achieve high consistency of the four self-service high demand.
Tencent grade core financial trading solutions TDMesh depth practice

TDMesh In a typical application billing example: a typical discount activities, through component technology capacity seven key aspects of cooperation to achieve the smooth implementation of the activities of a large volume of requests.
Tencent grade core financial trading solutions TDMesh depth practice

It is worth mentioning that the entire TDMesh distributed solution, not only for billing related to the financial industry and has high reference value, and has been recognized by the financial industry.

Up to now, financial level to address one of the components of the program TDMesh, Tencent self-development charge distributed database TDSQL has supported China's first traditional bank - Zhangjiagang Rural Commercial Bank's core banking system turned a new generation of distributed core business system, to achieve self-control. At the same time, the products have been distributed database open to partners; currently, TDSQL database provides database services to more than 500 public cloud customers, Bank of China, nearly 30 private cloud customers.

This release, TDMesh component focuses on the application layer has resolved matters TDXA and is responsible for decoupling, TDMQ affairs exception handling.
TDXA (Tencent Distributed eXtended Architecture), it is aimed at long link consistency, support for multiple transaction mode hybrid, graphical development of distributed transaction scheduling engine. Its business model supports, including such as TCC / Saga / AT and so on; its layout capabilities, mainly through the process state tracking automatically jump confirm or rollback, and zero human intervention when an exception; its development model, mainly the graphics of one-stop integrated development platform; and ultimately to achieve
the consistency of complex distributed to the platform, the more focused business development, simplify and enhance fault tolerance and stability of the system.
Tencent grade core financial trading solutions TDMesh depth practice

TDXA mainly suitable for OLTP (online transaction processing, and more for front-line business operations) long transaction processing scenarios. Billing services based on micro-architecture services, usually for a complete transaction process as many as dozens of network calls, including RPC interface, DB interfaces, KV native interface. Based on the same high requirements, if the developers themselves to handle various exceptions to ensure high consistency, code complexity and uncontrollability obvious. So TDXA core value, is through a unified component, consistency standardization process and ensure a consistent and high service quality under the premise of effectively reduce the workload of developers handle errors or exceptions, to meet the diversified trading scene when business development and the rapid growth of high-volume billing system consistent, high performance, high reliability requirements.
Tencent grade core financial trading solutions TDMesh depth practice

Asynchronous decoupling between normal operation TDXA particular timeout processing and the like, there are different systems, the synchronization data in the database, depending on the other components of the core TDMQ (Distributed Tencent the Message Queue).
TDMQ native architecture is the cloud message queue, consistent with high cross City, high reliability, high performance. Tencent has been widely used in billing scenarios, support requests daily average of 10 billion + delivery, including payment notifications, real-time reconciliation, real-time monitoring, real-time big data analysis and so on.
Tencent grade core financial trading solutions TDMesh depth practice

Characteristics of a typical native TDMQ cloud is to support stores the calculated separation, the upper layer is calculated by an independent broker composition, and high-performance access to network management topic, consistent with the underlying storage layer to achieve high replication log stream. This allows performance or capacity requirements by business expansion, respectively, to achieve the best overall cost. TDMQ typical features as well as delayed messages, transactional messages, message tracking, full multi-tenant support, any quantity of consumers, this friendship for high concurrency consumption scenarios. In addition, the operator also supports fast data smooth migration, the logical isolation characteristics, in order to avoid the topic of production among multi interact consumption.

Finally, as a working-class core financial transaction package of technology products to solve the program, continue to practice and concluded depth, but also hope that through richer scenarios and clients, ease of use, manageability, cost performance ratio, cloud native adaptation and other aspects of continuous grinding and improving, and these ideas are being Tencent internal, continuous floor, and an expanded investment company, the cloud customer, wisdom, industry and other fields, look through continuous forging technology and products, TDMesh energy for the development of the industry and bring new ideas and practice cases.

Guess you like

Origin blog.51cto.com/14579587/2462330