Skip to content
Snippets Groups Projects
Commit f694f4fb authored by Sören Henning's avatar Sören Henning
Browse files

Add text on search strategies

parent 5396c9bf
No related branches found
No related tags found
1 merge request!205Add docs for fundamental concepts
Pipeline #8884 passed
......@@ -8,4 +8,31 @@ nav_order: 2
# Theodolite's Search Strategies
Theodolite measures [its metrics](metrics) by performing isolated experiments for different load intensities and provisioned resource amounts.
However, to determine a system's resource demand or load capacity or a good approximation of those, it is often not necessary to evaluate each possible combination. Instead, Theodolite provides search strategies, which decide at benchmark runtime which combinations of load and resources to evaluate.
\ No newline at end of file
However, to determine a system's resource demand or load capacity or a good approximation of those, it is often not necessary to evaluate each possible combination. Instead, Theodolite provides search strategies, which decide at benchmark runtime which combinations of load and resources to evaluate.
The following search strategies are available:
### Full Search
The full search strategy performs SLO experiments for each combination of resource configuration and load intensity. Its advantage is that it allows for extensive evaluation after the benchmark has been executed. This also includes that based on the same SLO experiments, both the demand and the capacity metric can be evaluated. However, this comes at the cost of significantly longer execution times.
### Linear Search
The linear search strategy reduces the overall execution time by not running SLO experiments whose results are not required by the metric.
For the resource demand metric this means, as soon as a sufficient resource configuration for a certain load intensity is found, no further resource configurations are tested for that load.
### Binary Search
The binary search strategy adopts the well known binary search algorithm for sorted arrays.
For the resource demand metric this means, the strategy starts by performing the SLO experiments for the middle resource configuration.
Depending on whether this experiment was successful or not, it then continues searching in the lower or upper half, respectively.
The binary search is particularly advantageous if the search space is very large.
However it is based on the assumption that with additional resources for the same load, performance does not substantially decrease.
### Lower Bound Restriction Search
The lower bound restriction is a search strategy that uses the results of already performed SLO experiments to narrow the search space.
For the resource demand, it starts searching (with another strategy) beginning from the minimal required resources of all lower load intensities.
The lower bound restriction is based on the assumption that with increasing load intensity, the resource demand never decreases.
<!-- further reading in EMSE paper -->
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment