/ballista

Example of Ballista Rust

Primary LanguageRustMIT LicenseMIT

Ballista: Distributed Scheduler

Ballista is a distributed compute platform primarily implemented in Rust.

Starting a cluster

Local cluster for testing purposes

cargo install --locked ballista-scheduler
cargo install --locked ballista-executor

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

RUST_LOG=info ballista-scheduler

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

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

Executing a query

cargo run