RCT is a one-stop platform for Redis memory structure analysis by parsing RDB files. Support for non-clustered/clustered RDB file analysis, Slowlog query, and monitoring, ClientList query and monitoring.
-
Memory analysis
Through the RDB file analysis, Redis memory uses analysis, support multi-dimensional, multi-report. Support manual, automatic multiple ways! Provide report generation, Redis key export, and other functions!
-
Slowlog
Slowlog module can regularly collect slowlog information, multidimensional report summary, convenient to view the current slowlog details of the cluster
-
ClientList
ClientList module can easily and efficiently analyze and view the client connection!
Screenshot section mainly introduces the main functions of RCT, a series of processes, you can understand the main functions of our platform and application scenarios.
Before you begin, make sure you install jre1.8+ and download the release package in the release.
For example, click rct-dashboard -2.0.0-release.tar.gz to download and extract it (WinRAR software can be used to extract it under Windows, and commands can be used under Linux tar xvf RCT-Dashboard-2.0.0-release.tar.gz
)
-
Preferred startup control center RCT-dashboard
java -jar RCT-Dashboard-2.0.0.jar
-
Start the analyzer rct-analyze
java -jar -Xmx1024m -Xms300m RCT-Analyze-2.0.0.jar
Adjust the maximum heap size according to the RDB file size ( be sure to limit the heap size to avoid a performance impact on the online machine ), Rct-analyze is deployed on rdb-generated machines, or redis installation machines, with one instance deployed per machine.
-
Enter the system
In the browser to access
http://127.0.0.1:8080
, enter account and password, the default password for rct/rct
- Preferred startup control center RCT-dashboard
- Default Settings
docker run -d --net=host xaecbd/rct-dashboard:latest
- Custom configurations (before execution, please placed on the host config/application.properties db/data.db)
docker run -d -v /opt/app/rct/rct-dashboard/config:/opt/app/rct/rct-dashboard/config -v /opt/app/rct/rct-dashboard/db:/opt/app/rct/rct-dashboard/db --net=host xaecbd/rct-dashboard:latest
- Start the analyzer rct-analyze
- Default Settings
docker run -d -e "JAVA_OPTIONS=-Xmx1024m -Xms300m" --net=host xaecbd/rct-analyze:latest
- Custom configurations (before execution, please place the config/application.properties on the host)
docker run -d -e "JAVA_OPTIONS=-Xmx1024m -Xms300m" -v /opt/app/rct/rct-analyze/config:/opt/app/rct/rct-analyze/config -v /data/redis/redis_cluster:/data/redis/redis_cluster --net=host xaecbd/rct-analyze:latest
Adjust the maximum heap size appropriately based on the RDB size.
- Enter the system
In the browser to accesshttp://127.0.0.1:8080
, enter account and password, the default password for rct/rct.
At present, the support is limited to the following versions. As for the higher version, it is under development!
redis version | rct version |
---|---|
[2.6-5.0.3] | 2.X |
The user manual mainly introduces the main functions of each module of RCT
- Chart module introduction
- Introduction to RDB analysis module
- SlowLog module introduction
- Introduction to ClientList module
RCT usage tutorial
The design document mainly introduces the RCT architecture design and framework design
If you want to know more things, please see TODO document.