TcaplusDB is a distributed NoSQL database specially designed for additional optimization of the game. As a part of Tencent Cloud database service, TcaplusDB provides customers with the ultimate game data experience. At present, it has provided stable data storage services for more than 10 million DAU titles. Relying on Tencent cloud’s infrastructure service nodes across five continents (Asia, Europe, North America, South America and Oceania), game developers only need to access once to facilitate global game user experience.
TcaplusDB architecture
Figure 1 TcaplusDB architecture diagram
The TcaplusDB architecture components are described as follows:
Serial number | Component name | describe |
---|---|---|
1 | Tcapcenter | Handles requests from Web pages and manages nodes throughout the Tcaplus cluster as ZooKeeper. |
2 | Tcaproxy | The access layer receives the request from SDK/API, interacts with the Master node, and returns to the SDK/API requester after obtaining the return information of the Master node. |
3 | Tcapdir | Directory server. Stores and maintains node information of Tcaproxy cluster and responds to requests from SDK/API to query Tcaproxy node information (IP address and service port). |
4 | Tcapsvr-Master | The master node of the storage layer stores data fragments and responds to Tcaproxy requests. |
5 | Tcapsvr-Slave | A backup node at the storage layer stores backup data and backs up data of the Master node in real time. When the Master node fails, the slave node is upgraded as the Master node and does not communicate with the Tcaproxy when it serves as the backup node. |
6 | Backup Center | Cross-city/regional cold backup center. The cold backup center is deployed in the data center that is remote from the Master node. The Slave node performs cold backup for storage layer data periodically every day and backs up Binlog running logs from the Slave node every 15 minutes. |
7 | Tcapdb | Responsible for exporting structured data from TcaplusDB |
TcaplusDB is a distributed NoSQL database produced by Tencent. The storage and scheduling code is completely self-developed. It has features such as cache + ground fusion architecture, PB-level storage, millisecond delay, lossless horizontal expansion and complex data structure. At the same time, it has the characteristics of rich ecology, convenient migration, extremely low operation and maintenance cost and five nine high availability. Customers cover gaming, Internet, government, finance, manufacturing and Internet of Things and other fields.