esrally


Nameesrally JSON
Version 2.9.0 PyPI version JSON
download
home_page
SummaryMacrobenchmarking framework for Elasticsearch
upload_time2023-08-24 09:57:37
maintainer
docs_urlNone
author
requires_python>=3.8
licenseApache License 2.0
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage
            <p align="center"><img alt="Rally logo" src="https://raw.githubusercontent.com/elastic/rally/master/docs/rally-logo.svg" width="350px"></p>

<h1 align="center">Rally</h1>

Rally is the macrobenchmarking framework for Elasticsearch

## What is Rally?

You want to benchmark Elasticsearch? Then Rally is for you. It can help you with the following tasks:

* Setup and teardown of an Elasticsearch cluster for benchmarking
* Management of benchmark data and specifications even across Elasticsearch versions
* Running benchmarks and recording results
* Finding performance problems by attaching so-called telemetry devices
* Comparing performance results

We have also put considerable effort in Rally to ensure that benchmarking data are reproducible.

## Quick Start

Rally is developed for Unix and is actively tested on Linux and macOS. Rally supports [benchmarking Elasticsearch clusters running on Windows](http://esrally.readthedocs.io/en/stable/recipes.html#benchmarking-an-existing-cluster) but Rally itself needs to be installed on machines running Unix.

### Installing Rally

**Note**: If you actively develop on Elasticsearch, we recommend that you [install Rally in development mode](https://esrally.readthedocs.io/en/latest/developing.html#installation-instructions-for-development) instead as Elasticsearch is fast moving and Rally always adapts accordingly to the latest main version.

Install Python 3.8+ including `pip3`, git 1.9+ and an [appropriate JDK to run Elasticsearch](https://www.elastic.co/support/matrix#matrix_jvm). Be sure that `JAVA_HOME` points to that JDK. Then run the following command, optionally prefixed by `sudo` if necessary:

    pip3 install esrally


If you have any trouble or need more detailed instructions, please look in the [detailed installation guide](https://esrally.readthedocs.io/en/latest/install.html).

## Run your first race

Now we're ready to run our first race:

    esrally race --distribution-version=6.0.0 --track=geonames

This will download Elasticsearch 6.0.0 and run Rally's default track - the [geonames track](https://github.com/elastic/rally-tracks/tree/master/geonames) - against it. After the race, a summary report is written to the command line:

    ------------------------------------------------------
        _______             __   _____
       / ____(_)___  ____ _/ /  / ___/_________  ________
      / /_  / / __ \/ __ `/ /   \__ \/ ___/ __ \/ ___/ _ \
     / __/ / / / / / /_/ / /   ___/ / /__/ /_/ / /  /  __/
    /_/   /_/_/ /_/\__,_/_/   /____/\___/\____/_/   \___/
    ------------------------------------------------------

    |                         Metric |                 Task |     Value |   Unit |
    |-------------------------------:|---------------------:|----------:|-------:|
    |            Total indexing time |                      |   28.0997 |    min |
    |               Total merge time |                      |   6.84378 |    min |
    |             Total refresh time |                      |   3.06045 |    min |
    |               Total flush time |                      |  0.106517 |    min |
    |      Total merge throttle time |                      |   1.28193 |    min |
    |               Median CPU usage |                      |     471.6 |      % |
    |             Total Young Gen GC |                      |    16.237 |      s |
    |               Total Old Gen GC |                      |     1.796 |      s |
    |                     Index size |                      |   2.60124 |     GB |
    |                  Total written |                      |   11.8144 |     GB |
    |         Heap used for segments |                      |   14.7326 |     MB |
    |       Heap used for doc values |                      |  0.115917 |     MB |
    |            Heap used for terms |                      |   13.3203 |     MB |
    |            Heap used for norms |                      | 0.0734253 |     MB |
    |           Heap used for points |                      |    0.5793 |     MB |
    |    Heap used for stored fields |                      |  0.643608 |     MB |
    |                  Segment count |                      |        97 |        |
    |                 Min Throughput |         index-append |   31925.2 | docs/s |
    |              Median Throughput |         index-append |   39137.5 | docs/s |
    |                 Max Throughput |         index-append |   39633.6 | docs/s |
    |      50.0th percentile latency |         index-append |   872.513 |     ms |
    |      90.0th percentile latency |         index-append |   1457.13 |     ms |
    |      99.0th percentile latency |         index-append |   1874.89 |     ms |
    |       100th percentile latency |         index-append |   2711.71 |     ms |
    | 50.0th percentile service time |         index-append |   872.513 |     ms |
    | 90.0th percentile service time |         index-append |   1457.13 |     ms |
    | 99.0th percentile service time |         index-append |   1874.89 |     ms |
    |  100th percentile service time |         index-append |   2711.71 |     ms |
    |                           ...  |                  ... |       ... |    ... |
    |                           ...  |                  ... |       ... |    ... |
    |                 Min Throughput |     painless_dynamic |   2.53292 |  ops/s |
    |              Median Throughput |     painless_dynamic |   2.53813 |  ops/s |
    |                 Max Throughput |     painless_dynamic |   2.54401 |  ops/s |
    |      50.0th percentile latency |     painless_dynamic |    172208 |     ms |
    |      90.0th percentile latency |     painless_dynamic |    310401 |     ms |
    |      99.0th percentile latency |     painless_dynamic |    341341 |     ms |
    |      99.9th percentile latency |     painless_dynamic |    344404 |     ms |
    |       100th percentile latency |     painless_dynamic |    344754 |     ms |
    | 50.0th percentile service time |     painless_dynamic |    393.02 |     ms |
    | 90.0th percentile service time |     painless_dynamic |   407.579 |     ms |
    | 99.0th percentile service time |     painless_dynamic |   430.806 |     ms |
    | 99.9th percentile service time |     painless_dynamic |   457.352 |     ms |
    |  100th percentile service time |     painless_dynamic |   459.474 |     ms |

    ----------------------------------
    [INFO] SUCCESS (took 2634 seconds)
    ----------------------------------


## Getting help

* Quick help: `esrally --help`
* Look in [Rally's user guide](https://esrally.readthedocs.io/) for more information
* Ask questions about Rally in the [Rally Discuss forum](https://discuss.elastic.co/tags/c/elastic-stack/elasticsearch/rally).
* File improvements or bug reports in our [Github repo](https://github.com/elastic/rally/issues).

## How to Contribute

See all details in the [contributor guidelines](https://github.com/elastic/rally/blob/master/CONTRIBUTING.md).


## License

This software is licensed under the Apache License, version 2 ("ALv2"), quoted below.

Copyright 2015-2021 Elasticsearch <https://www.elastic.co>

Licensed under the Apache License, Version 2.0 (the "License"); you may not
use this file except in compliance with the License. You may obtain a copy of
the License at

> http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
License for the specific language governing permissions and limitations under
the License.

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "esrally",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": "",
    "keywords": "",
    "author": "",
    "author_email": "Daniel Mitterdorfer <daniel.mitterdorfer@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/b8/c0/520774d4f163a3ffd67b4e0027e3db9c4ad0fb2b99e7612ee1fb8f7f8c62/esrally-2.9.0.tar.gz",
    "platform": null,
    "description": "<p align=\"center\"><img alt=\"Rally logo\" src=\"https://raw.githubusercontent.com/elastic/rally/master/docs/rally-logo.svg\" width=\"350px\"></p>\n\n<h1 align=\"center\">Rally</h1>\n\nRally is the macrobenchmarking framework for Elasticsearch\n\n## What is Rally?\n\nYou want to benchmark Elasticsearch? Then Rally is for you. It can help you with the following tasks:\n\n* Setup and teardown of an Elasticsearch cluster for benchmarking\n* Management of benchmark data and specifications even across Elasticsearch versions\n* Running benchmarks and recording results\n* Finding performance problems by attaching so-called telemetry devices\n* Comparing performance results\n\nWe have also put considerable effort in Rally to ensure that benchmarking data are reproducible.\n\n## Quick Start\n\nRally is developed for Unix and is actively tested on Linux and macOS. Rally supports [benchmarking Elasticsearch clusters running on Windows](http://esrally.readthedocs.io/en/stable/recipes.html#benchmarking-an-existing-cluster) but Rally itself needs to be installed on machines running Unix.\n\n### Installing Rally\n\n**Note**: If you actively develop on Elasticsearch, we recommend that you [install Rally in development mode](https://esrally.readthedocs.io/en/latest/developing.html#installation-instructions-for-development) instead as Elasticsearch is fast moving and Rally always adapts accordingly to the latest main version.\n\nInstall Python 3.8+ including `pip3`, git 1.9+ and an [appropriate JDK to run Elasticsearch](https://www.elastic.co/support/matrix#matrix_jvm). Be sure that `JAVA_HOME` points to that JDK. Then run the following command, optionally prefixed by `sudo` if necessary:\n\n    pip3 install esrally\n\n\nIf you have any trouble or need more detailed instructions, please look in the [detailed installation guide](https://esrally.readthedocs.io/en/latest/install.html).\n\n## Run your first race\n\nNow we're ready to run our first race:\n\n    esrally race --distribution-version=6.0.0 --track=geonames\n\nThis will download Elasticsearch 6.0.0 and run Rally's default track - the [geonames track](https://github.com/elastic/rally-tracks/tree/master/geonames) - against it. After the race, a summary report is written to the command line:\n\n    ------------------------------------------------------\n        _______             __   _____\n       / ____(_)___  ____ _/ /  / ___/_________  ________\n      / /_  / / __ \\/ __ `/ /   \\__ \\/ ___/ __ \\/ ___/ _ \\\n     / __/ / / / / / /_/ / /   ___/ / /__/ /_/ / /  /  __/\n    /_/   /_/_/ /_/\\__,_/_/   /____/\\___/\\____/_/   \\___/\n    ------------------------------------------------------\n\n    |                         Metric |                 Task |     Value |   Unit |\n    |-------------------------------:|---------------------:|----------:|-------:|\n    |            Total indexing time |                      |   28.0997 |    min |\n    |               Total merge time |                      |   6.84378 |    min |\n    |             Total refresh time |                      |   3.06045 |    min |\n    |               Total flush time |                      |  0.106517 |    min |\n    |      Total merge throttle time |                      |   1.28193 |    min |\n    |               Median CPU usage |                      |     471.6 |      % |\n    |             Total Young Gen GC |                      |    16.237 |      s |\n    |               Total Old Gen GC |                      |     1.796 |      s |\n    |                     Index size |                      |   2.60124 |     GB |\n    |                  Total written |                      |   11.8144 |     GB |\n    |         Heap used for segments |                      |   14.7326 |     MB |\n    |       Heap used for doc values |                      |  0.115917 |     MB |\n    |            Heap used for terms |                      |   13.3203 |     MB |\n    |            Heap used for norms |                      | 0.0734253 |     MB |\n    |           Heap used for points |                      |    0.5793 |     MB |\n    |    Heap used for stored fields |                      |  0.643608 |     MB |\n    |                  Segment count |                      |        97 |        |\n    |                 Min Throughput |         index-append |   31925.2 | docs/s |\n    |              Median Throughput |         index-append |   39137.5 | docs/s |\n    |                 Max Throughput |         index-append |   39633.6 | docs/s |\n    |      50.0th percentile latency |         index-append |   872.513 |     ms |\n    |      90.0th percentile latency |         index-append |   1457.13 |     ms |\n    |      99.0th percentile latency |         index-append |   1874.89 |     ms |\n    |       100th percentile latency |         index-append |   2711.71 |     ms |\n    | 50.0th percentile service time |         index-append |   872.513 |     ms |\n    | 90.0th percentile service time |         index-append |   1457.13 |     ms |\n    | 99.0th percentile service time |         index-append |   1874.89 |     ms |\n    |  100th percentile service time |         index-append |   2711.71 |     ms |\n    |                           ...  |                  ... |       ... |    ... |\n    |                           ...  |                  ... |       ... |    ... |\n    |                 Min Throughput |     painless_dynamic |   2.53292 |  ops/s |\n    |              Median Throughput |     painless_dynamic |   2.53813 |  ops/s |\n    |                 Max Throughput |     painless_dynamic |   2.54401 |  ops/s |\n    |      50.0th percentile latency |     painless_dynamic |    172208 |     ms |\n    |      90.0th percentile latency |     painless_dynamic |    310401 |     ms |\n    |      99.0th percentile latency |     painless_dynamic |    341341 |     ms |\n    |      99.9th percentile latency |     painless_dynamic |    344404 |     ms |\n    |       100th percentile latency |     painless_dynamic |    344754 |     ms |\n    | 50.0th percentile service time |     painless_dynamic |    393.02 |     ms |\n    | 90.0th percentile service time |     painless_dynamic |   407.579 |     ms |\n    | 99.0th percentile service time |     painless_dynamic |   430.806 |     ms |\n    | 99.9th percentile service time |     painless_dynamic |   457.352 |     ms |\n    |  100th percentile service time |     painless_dynamic |   459.474 |     ms |\n\n    ----------------------------------\n    [INFO] SUCCESS (took 2634 seconds)\n    ----------------------------------\n\n\n## Getting help\n\n* Quick help: `esrally --help`\n* Look in [Rally's user guide](https://esrally.readthedocs.io/) for more information\n* Ask questions about Rally in the [Rally Discuss forum](https://discuss.elastic.co/tags/c/elastic-stack/elasticsearch/rally).\n* File improvements or bug reports in our [Github repo](https://github.com/elastic/rally/issues).\n\n## How to Contribute\n\nSee all details in the [contributor guidelines](https://github.com/elastic/rally/blob/master/CONTRIBUTING.md).\n\n\n## License\n\nThis software is licensed under the Apache License, version 2 (\"ALv2\"), quoted below.\n\nCopyright 2015-2021 Elasticsearch <https://www.elastic.co>\n\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not\nuse this file except in compliance with the License. You may obtain a copy of\nthe License at\n\n> http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\nWARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the\nLicense for the specific language governing permissions and limitations under\nthe License.\n",
    "bugtrack_url": null,
    "license": "Apache License 2.0",
    "summary": "Macrobenchmarking framework for Elasticsearch",
    "version": "2.9.0",
    "project_urls": {
        "Changelog": "https://github.com/elastic/rally/blob/master/CHANGELOG.md",
        "Code": "https://github.com/elastic/rally",
        "Documentation": "https://esrally.readthedocs.io/",
        "Issue tracker": "https://github.com/elastic/rally/issues"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "4e5c2d1b9b5ad07a9b122368107dcbe9e220286e2d740874c879cf0694dbd58b",
                "md5": "187f1bace6de478d40840346957db679",
                "sha256": "7abf7c308c98c9532417532facbc747426ab2eb2e622f19efa2848471b793b71"
            },
            "downloads": -1,
            "filename": "esrally-2.9.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "187f1bace6de478d40840346957db679",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 287099,
            "upload_time": "2023-08-24T09:57:34",
            "upload_time_iso_8601": "2023-08-24T09:57:34.866963Z",
            "url": "https://files.pythonhosted.org/packages/4e/5c/2d1b9b5ad07a9b122368107dcbe9e220286e2d740874c879cf0694dbd58b/esrally-2.9.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b8c0520774d4f163a3ffd67b4e0027e3db9c4ad0fb2b99e7612ee1fb8f7f8c62",
                "md5": "1e76a1e95230d742cd5b817f5d1437d1",
                "sha256": "1a6e3dd65280c653fe18fb4520d30022f232ca075f86572e99e908552846d904"
            },
            "downloads": -1,
            "filename": "esrally-2.9.0.tar.gz",
            "has_sig": false,
            "md5_digest": "1e76a1e95230d742cd5b817f5d1437d1",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 1099200,
            "upload_time": "2023-08-24T09:57:37",
            "upload_time_iso_8601": "2023-08-24T09:57:37.259421Z",
            "url": "https://files.pythonhosted.org/packages/b8/c0/520774d4f163a3ffd67b4e0027e3db9c4ad0fb2b99e7612ee1fb8f7f8c62/esrally-2.9.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-08-24 09:57:37",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "elastic",
    "github_project": "rally",
    "travis_ci": false,
    "coveralls": true,
    "github_actions": true,
    "lcname": "esrally"
}
        
Elapsed time: 0.10607s