Skip to content

netiken/emu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

emu

Example

To run emu on your local machine, run each of the following commands in separate terminals:

# Start the server
cargo run --release manager --port 50000

# Start the workers (however many you want)
cargo run --release worker \
    --id 0 \
    --advertise-addr 127.0.0.1:50001 \
    --manager-addr 127.0.0.1:50000 \
    --metrics-addr 0.0.0.0:9001
cargo run --release worker \
    --id 1 \
    --advertise-addr 127.0.0.1:50002 \
    --manager-addr 127.0.0.1:50000 \
    --metrics-addr 0.0.0.0:9002

# Start Prometheus
prometheus --config.file examples/prometheus.yml

# Start a workload
cargo run --release run --spec examples/single.json --manager-addr 127.0.0.1:50000

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published