[AIAS-03] Explore the results

Let's now take a look at the results and benefits Akamas achieved in this optimization study. Mind that you might achieve different results as the actual best configuration may depend on your actual setup (i.e., operating systems, cloud or virtualization platform, and the hardware).

First of all, the best configuration was quickly identified, providing a cost-efficiency increase of 17%, without affecting the response time.

Let's look at the best configuration from the Summary tab: this configuration specifies the right amount of CPU and memory requests and limits for each microservice.

It’s interesting to notice that Akamas did adjust the CPU and memory requests and limits of every single microservice:

  • For some microservices (e.g., frontend), both the CPU and memory resources were increased.

  • For others (e.g., paymentservice), the memory was decreased while the CPU was slightly increased.

  • For some others (e.g., productcatalogservice), only the memory was decreased.

Let's navigate the Insights section, which provides details of the best experiment for each of the selected KPIs.

The best experiments according to the selected KPIs are automatically tagged and listed in the table. Experiment 34 reached the best efficiency, while experiment 53 achieves the best throughput and a decrease in the response time. Also, notice that a couple of identified configurations improved the application response time even more (up to 87%) while not representing the best configuration.

The experiments can be plotted and the results will be shown such as below.

This optimization study shows how it is possible to tune a Kubernetes application made by several microservices, which represents a complex challenge, typically requiring days or weeks of time and effort even for expert performance engineers, developers, or SRE. With Akamas, the optimization study only took about 4 hours to automatically identify the optimal configuration for each Kubernetes microservice.

Great! You have learned how to use the CLI to create an Akamas study and its supporting artifacts to optimize a Kubernetes application.

Last updated