Architecture
OmniAdvisor 2.0 consists of three parts: interception component, background tuning service, and historical database.
The interception component acts as the client, the background tuning service acts as the server, and the historical database stores data generated by the software. Figure 1 shows the OmniAdvisor 2.0 software.
The interception component works as follows:
- Intercepts the tenant's task request and parses it to obtain task request information.
- Queries the historical database to obtain the optimal task configuration.
- Submits the task load and optimal configuration to the Spark cluster for execution and obtains the execution result.
- Records the execution result into the historical database.
The background tuning service works as follows:
- Waits for the administrator to specify the task load and submit a tuning request.
- Queries the historical database to obtain related historical data.
- Tunes parameters to obtain the optimal configuration and write it to the historical database.
Parent topic: Feature Overview
