A repository for managing and making gRPC calls using the ghz
tool.
- Getting Started
- Starting the Database
- Making gRPC Calls
- Sample Config-files Structure
- Metadata used to monitor latency
- Pictorial representation of end to end latency calculation
- building ghz for arm64 architecture
- building ghz-web for arm64 architecture
- Commands used for testing on L4S testbed
- copy report locally
- graph generator
Before you begin, ensure you have met the following requirements:
- You have
git
installed. - You have
chmod
andsudo
permissions.
To clone the repository, run:
git clone https://github.boschdevcloud.com/SAI1RNG/ghz-custom.git -b main
cd ghz-custom/cmd/ghz-web
chmod +x ./ghz-web
sudo ./ghz-web
cd ghz-custom/cmd/ghz
chmod +x ./ghz
./ghz --insecure --config=config.json
./ghz --insecure --config=config_subscribe.json json
./ghz --insecure --config=config.json -O json | http POST localhost:80/api/ingest
./ghz --insecure --config=config_subscribe.json -O json | http POST localhost:80/api/ingest
- timeout: The amount of time the ghz is required to subscribe to kuksa-databroker
{{.RequestNumber}}
placeholder. - request_id: This acts as a identifier to differntiate between multiple tests conducted. Example:
50sub300pub
indicates an experiment with 50 subscribers and 300 publish calls, request_id can be anything helping identify between tests. - description: Provides additional information about the request. Uses the
{{.RequestNumber}}
placeholder. - fields: An array specifying data fields to be kept track of, such as
["2", "12"]
, here having "12" is a must.
Note: The combination of request_id
and description
forms a unique id for identifying a particular publish call in a given test.
- latency related metadata for publish call is recieved in the metadata of Http respone.
- latency related metadata for subscribe call is received within the payload of the subscription response.
cd cmd/ghz-web
# open in vscode in devcontainer
python sqlite-latency-extractor-dev.py
# This generates a file named latency_and_mean_stats.xlsx