Skip to content

Commit

Permalink
Update paths to tools in docs
Browse files Browse the repository at this point in the history
Signed-off-by: Leonid Kondrashov <[email protected]>
  • Loading branch information
leokondrashov committed Sep 26, 2023
1 parent 9be10a6 commit 68cc9b8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions docs/methodology.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ vHive and how to run the benchmarks.

## Introduction
The key points are:
- The invoker ([examples/invoker](/tools/invoker)) steers load to
- The invoker ([tools/invoker](/tools/invoker)) steers load to
a collection of serverless benchmarks (also called _workflows_).
- Benchmarks can comprise a single or a collection of functions calling
one another, as well as asynchronous (i.e., eventing) pipelines.
Expand Down Expand Up @@ -42,19 +42,19 @@ Developers can use `tools/benchmarking_eventing/vhivemetadata` to read
and create vHive metadata objects.

## Benchmarking
You can use [examples/invoker](/tools/invoker) (the "invoker") to
You can use [tools/invoker](/tools/invoker) (the "invoker") to
get the end-to-end latencies of your serving and eventing workflows.

**On any node**, execute the following instructions below **at the root
of vHive repository** using **bash**:
of vSwarm repository** using **bash**:
1. Build the invoker:
```bash
(cd examples/invoker; go build github.com/ease-lab/vhive/examples/invoker)
(cd tools/invoker; go build github.com/ease-lab/vswarm/tools/invoker)
```

- Keep the parenthesis so not to change your working directory.
2. Create your `endpoints.json` file. It is created automatically for
you if you use [examples/deployer](/tools/deployer) (the
you if you use [tools/deployer](/tools/deployer) (the
"deployer"), however eventing workflows are not supported by the
deployer so the following guide is presented; you may use it for
manually deployed serving workflows too.
Expand Down Expand Up @@ -95,7 +95,7 @@ of vHive repository** using **bash**:
```
3. Execute the invoker:
```bash
./examples/invoker/invoker
./tools/invoker/invoker
```

**Command-line Arguments:**
Expand Down
4 changes: 2 additions & 2 deletions tools/deployer/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ import (
"os/exec"
"path/filepath"

"github.com/vhive-serverless/vSwarm/tools/endpoint"
log "github.com/sirupsen/logrus"
"github.com/vhive-serverless/vSwarm/tools/endpoint"
)

// Functions is an object for unmarshalled JSON with functions to deploy.
Expand All @@ -57,7 +57,7 @@ var (

func main() {
funcPath := flag.String("funcPath", "./configs/knative_workloads", "Path to the folder with *.yml files")
funcJSONFile := flag.String("jsonFile", "./examples/deployer/functions.json", "Path to the JSON file with functions to deploy")
funcJSONFile := flag.String("jsonFile", "./tools/deployer/functions.json", "Path to the JSON file with functions to deploy")
endpointsFile := flag.String("endpointsFile", "endpoints.json", "File with endpoints' metadata")
deploymentConcurrency := flag.Int("conc", 5, "Number of functions to deploy concurrently (for serving)")

Expand Down

0 comments on commit 68cc9b8

Please sign in to comment.