Deploying a standalone Ballista cluster using cargo install¶

A simple way to start a local cluster for testing purposes is to use cargo to install the scheduler and executor crates.

cargo install ballista-scheduler
cargo install ballista-executor

With these crates installed, it is now possible to start a scheduler process.

RUST_LOG=info ballista-scheduler

The scheduler will bind to port 50050 by default.

Next, start an executor processes in a new terminal session with the specified concurrency level.

RUST_LOG=info ballista-executor -c 4

The executor will bind to port 50051 by default. Additional executors can be started by manually specifying a bind port. For example:

RUST_LOG=info ballista-executor --bind-port 50052 -c 4