https://github.com/duyet/ballista
Example of Ballista Rust
https://github.com/duyet/ballista
arrow ballista datafusion rust
Last synced: over 1 year ago
JSON representation
Example of Ballista Rust
- Host: GitHub
- URL: https://github.com/duyet/ballista
- Owner: duyet
- License: mit
- Created: 2022-12-12T15:06:48.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2025-03-20T21:25:16.000Z (over 1 year ago)
- Last Synced: 2025-03-20T22:28:26.581Z (over 1 year ago)
- Topics: arrow, ballista, datafusion, rust
- Language: Rust
- Homepage:
- Size: 35.7 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Ballista: Distributed Scheduler
[Ballista](https://github.com/apache/arrow-ballista) is a distributed compute platform primarily implemented in Rust.
## Starting a cluster
Local cluster for testing purposes
```bash
cargo install --locked ballista-scheduler
cargo install --locked ballista-executor
```
With these crates installed, it is now possible to start a scheduler process.
```bash
RUST_LOG=info ballista-scheduler
```
Next, start an executor processes in a new terminal session with the specified concurrency level.
```bash
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
```bash
cargo run
```