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.
As a high-performance distributed NOSQL database, TcaplusDB can be well deployed and run in Intel x86-64 architecture server environment (ARM architecture server environment) and mainstream virtualization environment, and supports most mainstream hardware networks. As a high-performance database system, TcaplusDB supports the mainstream Linux operating system environment.
1. Linux OS version requirements
Linux operating system platform
version
Red Hat Enterprise Linux
6.x – 7.x
CentOS
6.x – 7.x
Tlinux
1.2/2.2
Note:
-
The TcaplusDB has been extensively tested in CentOS 6.x and CentOS 7.x environments, and there are many best practices for deploying this operating system in operation cases. Therefore, it is recommended to use a Linux operating system with CentOS 7.3 or higher.
-
The preceding Linux operating systems can run on physical servers and mainstream hypervisors such as VMware, KVM, XEN, and Docker
2. You are advised to configure the server
TcaplusDB supports the deployment and running of 64-bit generic hardware server platforms on Intel x86-64 architecture (or hardware server platforms based on ARM architecture). There are the following requirements and recommendations for server hardware configuration (excluding the use of the operating system OS itself) for development, test, and production environments:
2.1. Development and test environment
CPU
memory
The local store
network
Number of instances (minimum)
8 +
16 GB+
SAS, 200 GB+
Gigabit nics
1
All components are deployed on the same server, including TcapOMS, Mysql, Tcapdb, Tcapcenter, Tcapdir, Tcapsvr, Tcaproxy, and TcapRestProxy
Note:
- For performance-related tests, do not use low-performance storage and network hardware configurations to avoid interference with test results.
2.2. Production environment
2.2.1. Minimum configuration
The module
component
CPU
memory
The local store
network
Number of instances (minimum)
Component description
controls
TcapOMS
4 core +
16 GB+
SAS, 100 GB+
Gigabit nics
2 (Cross-equipment room and Rack Deployment)
Tcaplus storage web page management terminal
controls
Tcapdb
4 core +
16 GB+
SAS, 100 GB+
Gigabit nics
2 (Cross-equipment room and Rack Deployment)
Provides data cache function, can synchronize streaming data to MySQL, ES
controls
Tcapcenter
4 core +
16 GB+
SAS, 100 GB+
Gigabit nics
2 (Cross-equipment room and Rack Deployment)
Tcaplus Central management node
controls
Tcapdir
4 core +
16 GB+
SAS, 100 GB+
Gigabit nics
2 (Cross-equipment room and Rack Deployment)
Tcaplus directory server that provides authentication and A-Node update notification functions
controls
Mysql
4 core +
16 GB+
SAS, 100 GB+
Gigabit nics
2 (Cross-equipment room and Rack Deployment)
Database to store Tcaplus core configuration and monitoring report data
controls
Tmonitor
4 core +
16 GB+
SAS, 100 GB+
Gigabit nics
2 (Cross-equipment room and Rack Deployment)
Tcaplus process monitoring service
storage
Tcapsvr
8 +
32 GB+
Backup or Binlog disk: SAS/SSD/NVME 1 TBdata disk: SSD/NVME 500GB
Wan Zhao nic
2 (Cross-equipment room and Rack Deployment)
Tcaplus Storage node
Access to the
Tcaproxy
8 +
32 GB+
Backup or Binlog disk: SAS/SSD/NVME 1 TBdata disk: SSD/NVME 500GB
Wan Zhao nic
2 (Cross-equipment room and Rack Deployment)
Tcaplus A-Node
Access to the
TcapRestProxy
8 +
32 GB+
Backup or Binlog disk: SAS/SSD/NVME 1 TBdata disk: SSD/NVME 500GB
Wan Zhao nic
2 (Cross-equipment room and Rack Deployment)
Tcaplus Rest A-Node
Global indexes
TcapIndex
Tcaplus Global index node
Cold standby
Gluster
4 core +
8 GB+
SAS: 5 TB is recommended. The storage capacity depends on the days of cold backup and binlog storage and can be adjusted as required
Wan Zhao nic
Two or a multiple of two
Tcaplus cold standby storage node. Gluster serves as Raid1. Therefore, the actual usage is 50%
2.2.2. High performance configuration
The module
component
CPU
memory
The local store
network
Number of instances (minimum)
Component description
controls
TcapOMS
4 core +
16 GB+
SAS, 200 GB+
Gigabit nics
2 (Cross-equipment room and Rack Deployment)
Tcaplus storage web page management terminal
controls
Tcapdb
4 core +
16 GB+
SAS, 200 GB+
Gigabit nics
2 (Cross-equipment room and Rack Deployment)
Provides data cache function, can synchronize streaming data to MySQL, ES
controls
Tcapcenter
4 core +
16 GB+
SAS, 200 GB+
Gigabit nics
2 (Cross-equipment room and Rack Deployment)
Tcaplus Central management node
controls
Tcapdir
4 core +
16 GB+
SAS, 200 GB+
Gigabit nics
2 (Cross-equipment room and Rack Deployment)
Tcaplus directory server that provides authentication and A-Node update notification functions
controls
Mysql
4 core +
16 GB+
SAS, 200 GB+
Gigabit nics
2 (Cross-equipment room and Rack Deployment)
Database to store Tcaplus core configuration and monitoring report data
controls
Tmonitor
4 core +
16 GB+
SAS, 200 GB+
Gigabit nics
2 (Cross-equipment room and Rack Deployment)
Tcaplus process monitoring service
storage
Tcapsvr
24 core +
64 GB+
Backup and Binlog disks: SAS/SSD/NVME 2 TBdata disks: SSD/NVME 1 TB
Wan Zhao nic
2 (Cross-equipment room and Rack Deployment)
Tcaplus Storage node
Access to the
Tcaproxy
8 +
16 GB+
SAS, 100 GB+
Wan Zhao nic
2 (Cross-equipment room and Rack Deployment)
Tcaplus A-Node
Access to the
TcapRestProxy
8 +
16 GB+
SAS, 100 GB+
Wan Zhao nic
2 (Cross-equipment room and Rack Deployment)
Tcaplus Rest A-Node
Global indexes
TcapIndex
Tcaplus Global index node
Cold standby
Gluster
4 core +
8 GB+
SAS: 10 TB is recommended. The storage capacity depends on the days of cold backup and binlog storage and can be adjusted as required
Wan Zhao nic
Two or a multiple of two
Tcaplus cold standby storage node. Gluster serves as Raid1. Therefore, the actual usage is 50%
Note:
-
A higher server instance configuration is highly recommended for production environments
-
Tcapsvr Physical servers are recommended
-
To improve performance by vertical scaling, configure higher memory and local storage (NVME disks are recommended) for Tcapsvr and higher PU and memory for Tcaproxy.
-
When horizontal scaling is required to improve performance, Tcapsvr and Tcaproxy can configure more instances.
-
In the production environment, Tcaproxy and Tcapsvr can be deployed and run on the same server instance. If higher performance and reliability requirements are required, deploy them separately.
-
Tcapsvr The maximum capacity of SSD/NVME disks on the local storage cannot exceed 70% (performance deteriorates if the capacity exceeds 70% due to hardware requirements).
2.3. Network requirements
The TcaplusDB is a high-performance distributed NOSQL database. The network environment must provide the following network port configuration requirements for normal operation of the TcaplusDB. You can enable ports on the network and hosts based on the DEPLOYMENT scheme of the TcaplusDB component:
component
The default port
instructions
Tcapdir
9999
Directory server authentication port
Tcapcenter
6000
Tcapcenter Service port
Tcapcenter-tconnd
9010
Tcapcenter-tconnd Service port number
Tcapcenter-tcenterd
8899
Tcapcenter-tcenterd Service port number
Tcapcenter-vsftpd
21
Tcapcenter- VSFTPD service port
TcapOMS
80
TcapOMS Service port
MySQL
3306
MySQL Server port
Tcapsvr
23755/24755
Tcapsvr Service port
Tcapsvr-tbuspp
9020
Tcapsvr- Tbuspp Service port
Tcaproxy
13755 ~ 13800
Tcaproxy service port
Tcaproxy-tbuspp
9020
Tcaproxy-tbuspp Service port
Tcapdb
4500 ~ 4600
Tcapdb Service port
TcapRestproxy
4500 ~ 4600
TcapRestproxy Service port
Tmonitor-dcsvr
7980 ~ 8000
Tmonitor-dcsvr service port
Tmonitor-sasvr
4500
Tmonitor-sasvr service port
Tmonitor-tcenterd
8899
Tmonitor-tcenterd Service port number
Tmonitor-tconnd
9010
Tmonitor-tconnd Indicates the service port
sshd
36000
Tcaplus Standard SSH communication port
3. Client browser requirements
TcaplusDB provides OMS as the management console to control the database, which can be accessed using the latest version of Google Chrome.
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.