https://github.com/openstack/rally
Raw File
Tip revision: 7ad868bb9bc7834fa573f3612b8f3f22e2bb9719 authored by Andrey Kurilin on 18 January 2024, 12:11:51 UTC
Update u-c file
Tip revision: 7ad868b
persistence_benchmark_env.rst
===========================================
Add support of persistence task environment
===========================================

Use Case
--------

There are situations when same environment is used across different tasks.
For example you would like to improve operation of listing objects.
For example:

- Create hundreds of objects
- Collect baseline of list performance
- Fix something in system
- Repeat the performance test
- Repeat fixing and testing until things are fixed.

Current implementation of Rally will force you to recreate task context which
is time consuming operation.


Problem Description
-------------------

Fortunately Rally has already a mechanism for creating task environment via
contexts. Unfortunately it's atomic operation:
- Create task context
- Perform subtask scenario-runner pairs
- Destroy task context

This should be split to 3 separated steps.


Possible solution
-----------------

* Add new CLI operations to work with task environment:
  (show, create, delete, list)

* Allow task to start against existing task context (instead of deployment)
back to top