https://github.com/openstack/rally
Raw File
Tip revision: e8613ffeb01f109083f6a75dd148d5a8d37c9564 authored by Andrey Kurilin on 19 May 2023, 21:31:59 UTC
Propose rally 3.4.0 release
Tip revision: e8613ff
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