-
Notifications
You must be signed in to change notification settings - Fork 278
Overload
We are happy to announce a new service for performance analytics: Overload𝛃. We will store your performance experiments results and show them in graphic and tabular form. Your data will be available at overload.yandex.net.
Notice: Overload𝛃 is at early beta stage. Register with your github or yandex account and contact us to get an approve. When you've got an approved account, you'll be able to view public tests and to obtain an API token for your own tests.
Yandex.Tank is the only supported client by now. If you want JMeter, Yandex.Tank will run it for you.
First step is installing Yandex.Tank on your load server or PC.
One option is to use docker container. Install docker, create a config file (see below) and run this command:
docker run -v $(pwd):/var/loadtest -v $HOME/.ssh:/root/.ssh -it direvius/yandex-tank
Other option is installing yandex-tank on your machine. We will describe the installation process for debian-based systems, but we think you can figure it out how to do it on your system of choice (some people run Yandex.Tank on their Macs for example). This installation process is slightly different from the one described in official docs because we need the latest version from github master branch for Overload.
These are the packages that are required to build different python libraries. Install them with apt
:
sudo apt-get install python-pip build-essential python-dev libffi-dev gfortran libssl-dev
Update your pip:
sudo -H pip install --upgrade pip
Update/install your setuptools:
sudo -H pip install --upgrade setuptools
Install latest Yandex.Tank from master branch:
sudo -H pip install https://api.github.com/repos/yandex/yandex-tank/tarball/master
You'll probably need Phantom load generator, so install it from our ppa:
sudo add-apt-repository ppa:yandex-load/main && sudo apt-get update
sudo apt-get install phantom phantom-ssl
Well, you have installed Yandex.Tank on your PC or a dedicated load server. The next step is making your first config. It's just a simple .ini file, so create one. Let's call it load.ini -- this is the default config filename for Yandex.Tank.
[tank]
plugin_uploader=yandextank.plugins.DataUploader overload
[overload]
# to obtain a token login to https://overload.yandex.net and click your profile
token_file=token.txt
[phantom]
address = [example.com]:80
rps_schedule = line(1, 10,1m)
uris = /
For details and other options see Yandex.Tank's documentation.
Now you're ready to start your first test. Let's go!
yandex-tank -c load.ini
Yandex.Tank will print a link to your test's live view.
Your test results will be stored in our database and you'll be able to send a link to them to one of your friends or collegues.
You can delete your data if you want. Be carefull - your tests results are available to other Overload users. We always hide config for security reason though.
We are hopeful that with the help of Overload you'll find a way to make your service faster and more reliable.
We are looking forward for your feedback via email or .