Configuring Application Acceleration for a FlexusX Instance
Scenarios
On FlexusX instances created using the Huawei Cloud EulerOS 2.0 image, certain applications can run at optimal speed thanks to the optimization of the vCPU, memory, network, storage, kernel, application, and other settings. Typical applications, such as Nginx, Redis, and MySQL, can run 20% faster.
When you purchase a FlexusX instance, you need to select the Huawei Cloud EulerOS 2.0 image and then choose the application to be booted: Nginx, Redis, or MySQL. Then the Huawei Cloud EulerOS 2.0 image will pre-install the optimized version of Nginx, Redis, or MySQL to provide you with the optimal performance. For details about the performance benefits, see Table 1.
Application |
Default Version |
Performance Improvement |
Description |
---|---|---|---|
Nginx |
1.21.5 |
|
The enhanced performance results from optimization at the application and OS layers. |
MySQL |
8.0.35 |
20% (OLTP read-only, write-only, and read/write) |
|
Redis |
6.2.7 |
20% (small single-pipeline packets) |
- Based on the application acceleration type you configured, the default application version from the Huawei Cloud EulerOS yum repository will be installed on the FlexusX instance. If you use other application versions, you may not get the accelerated performance.
- If you choose not to use application acceleration, Nginx, Redis, or MySQL will not be pre-installed in the Huawei Cloud EulerOS 2.0 image.
- Huawei Cloud EulerOS 2.0 can accelerate only one type of application at a time.
- Huawei Cloud EulerOS 2.0 supports application acceleration only in some regions. For details, see the management console.
Enabling Application Acceleration
When purchasing a FlexusX instance, if you select the Huawei Cloud EulerOS 2.0 public image, you can enable application acceleration for Nginx, Redis, or MySQL. For details about how to purchase a FlexusX instance, see Purchasing a FlexusX Instance.
Viewing Application Acceleration
After application acceleration is enabled, the information about the enhanced performance is displayed on the FlexusX instance console. If the application acceleration information is displayed after you perform the following steps, the application is accelerated.
- Log in to the FlexusX console, in the upper left corner, click , and select a region and project.
- Click the name of the FlexusX instance. On the Summary tab, view the accelerated application and performance improvement.
Uninstalling the Accelerated Application
If Nginx, Redis, or MySQL is no longer needed, you can uninstall it. After the application is uninstalled, application acceleration cannot be enabled again.
- Log in to the FlexusX instance.
For details, see Logging In to a FlexusX Instance.
- Run the following command as user root to uninstall the involved application:
bash /opt/booster_remove.sh
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot