https://github.com/openstack/rally
Raw File
Tip revision: cebecc512e37889d7e6fc7d89591f14bf6e8eda8 authored by Andrey Kurilin on 15 November 2019, 12:34:17 UTC
Release rally 2.1.0
Tip revision: cebecc5
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