This release is a pre-release and may not be stable for production use.
MixBytes Tank
Requirements
- Python3
- Terraform 0.11.13
- Terraform-Inventory v0.8
Installation
Terraform & Terraform-Inventory
Can be done with tank/install-terraform.sh.
Optional: create virtualenv
Optionally, create and activate virtualenv
sudo apt-get install -y python3-virtualenv
python3 -m virtualenv -p python3 venv
After virtualenv creation and each time after opening a terminal, activate virtualenv to work with the tank:
. venv/bin/activate
Tank
pip3 install mixbytes-tank
Usage
1. Configure the user config
Configure ~/.tank.yml. The example can be found at docs/config.yml.example.
Please configure at least one cloud provider. The essential steps are:
- providing (and possibly creating) a key pair;
- registering the public key with your cloud provider if needed;
- specifying a cloud provider access token or credentials.
2. Create or get a tank testcase
The example can be found at docs/testcase_example.yml.
3. Start a tank run
tank cluster deploy <testcase file>
4. Login into the monitoring
Locate the newly created instance which name ends with -monitoring in your cloud, find the instance ip.
Open in browser http://{monitoring ip}:3000/dashboards, username and password are tank.
The dashboards can always be found at http://{monitoring ip}:3000/dashboards
5. List current active runs
There can be multiple tank runs at the same time. List and brief information can be seen via:
tank cluster list
6. Create synthetic load
tank cluster bench <run id> [--tps N] [--total-tx N]
<run id> - id of the run
--tps - global transactions per second generation rate,
--total-tx - how many transactions to send (total).
7. Shutdown and remove the cluster
tank cluster destroy <run id>
Hacking
Alternative binding version
Bindings can be configured at ~/.tank/bindings.yml (by default the predefined binding config is copied and used).
Metadata
Release files for mixbytes-tank 0.1.2.dev20190704124001
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| mixbytes-tank-0.1.2.dev20190704124001.tar.gz | 19.8 kB | Without provenance | Details for mixbytes-tank-0.1.2.dev20190704124001.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mixbytes_tank-0.1.2.dev20190704124001-py3-none-any.whl | Python 3 | none | any | Details for mixbytes_tank-0.1.2.dev20190704124001-py3-none-any.whl |
Total release size: 46.5 kB
Release files / mixbytes-tank-0.1.2.dev20190704124001.tar.gz
| Download URL | mixbytes-tank-0.1.2.dev20190704124001.tar.gz |
|---|---|
| Size | 19.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
387ff165ba36e12606981740b891e366d66e1ed585780b6e7d4bbebe6fa62f3a
|
|
BLAKE2b-256 checksum How to use checksums |
e50fa3e18e8b9ae19d0ba9b664fe0d55eb482985d7e6b9d7d8624b489ee879d3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.2
|
Release files / mixbytes_tank-0.1.2.dev20190704124001-py3-none-any.whl
| Download URL | mixbytes_tank-0.1.2.dev20190704124001-py3-none-any.whl |
|---|---|
| Size | 26.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2f82034d20eb72b6d1a547544bf8659e933373a8774f32543ccda587553ee4f3
|
|
BLAKE2b-256 checksum How to use checksums |
db08b74e8e0cbdc48615a077bd208a1d22f941c8aeb21713fc020208ffed50ed
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.2
|
Security for mixbytes-tank 0.1.2.dev20190704124001
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.