No project description provided
Project description
wke: A benchmarking tool for distributed systems
This tool can deploy and measure the behavior of distributed systems. However, it is not a general framework for running things on remote machines but tailored to the specific task of running experiments/benchmarks.
See this blogpost for a detailed description of wke.
Installation
You need a recent version of Python (the scripts were only tested with python3.10 and above) and pip
.
Then, simply run make install
to install the wke library and command.
Clusters and Configurations
A cluster is a set of machines (physical or virtual) that will be used to run experiments. Clusters groups machines into classes. Each class should represent a role in your distributed system. For example, a simple benchmark might have two classes: clients and servers.
A configuration is a set of scripts for a specific project (or variant of a project). You can set up multiple configurations for a single cluster.
Each configuration resides in a dedicated folder that has the following layout:
{CONFIG}/config.toml
A TOML file that describes all targets and settings specific to that configuration. Targets are scripts that can be run on machines of the cluster.
{CONFIG}/targets
Targets are scripts that execute as part of your experiment or to set up the experiment. For example, it could be script that runs your server process, or one that issues client requests.
You will execute them using the wke run
command.
{CONFIG}/preludes
Preludes are not targets, but can help reducing boilerplate code in a target. For example, they can be used to export environment variables before running experiments.
In most cases as single engine file should suffice to run your experiments.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file wke-0.1.tar.gz
.
File metadata
- Download URL: wke-0.1.tar.gz
- Upload date:
- Size: 40.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9bb02ecdaead3799f426df79c0beea5b22c7f83e4e1cc50d4dbc82bf017dca64 |
|
MD5 | 2116eb9b609a474833416c8df47dbc84 |
|
BLAKE2b-256 | 57e0154e81cb320e1bb0ae7c344f759abbd521a8b735ccb2807ab628b8dac841 |
File details
Details for the file wke-0.1-py3-none-any.whl
.
File metadata
- Download URL: wke-0.1-py3-none-any.whl
- Upload date:
- Size: 49.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a4518d6c7474903be3e33a1f570ac20961b8dd0697439faed3153c0f342daeae |
|
MD5 | 7967cd0ccf9d5c4f413b645cd07a961d |
|
BLAKE2b-256 | 6834a9fa2838a3bbf740463fe9c0b89ab211cd8cdc79f3456403e4d6b396bf11 |