Bacalhau schedules jobs where data lives to cut transfer cost and latency. A single binary can act as client, orchestrator, and compute node with Docker or WebAssembly workloads.
Overview
Bacalhau is an open-source distributed compute orchestration framework built around compute-over-data. Jobs run near where data was created instead of moving large datasets across networks first, which the project links to lower ingress and egress cost and faster parallel processing.
One self-contained binary can serve as client, orchestrator, and compute node. An orchestrator schedules work while compute nodes execute tasks. Execution engines include Docker and WebAssembly, and storage integrations cover S3, HTTP and HTTPS, IPFS, and local paths. Job types include batch, ops, daemon, and service workflows, with YAML declarative definitions or CLI arguments.
Publishers can write results to local volumes, S3, or other backends. Documentation highlights use cases such as log processing at the source, cross-region data warehousing queries, fleet management, distributed machine learning, and edge workloads. Security-oriented notes cover permission models, data scrubbing before migration, and running vetted computations without exposing raw data.
The website states support for varied hardware from large VMs and GPUs down to edge and IoT devices, using idle capacity where available and reducing datasets before transport. Geographic and privacy boundaries can be enforced by scheduling jobs and limiting what data moves.
Key features
- Compute jobs near data sources
- Single binary client and node roles
- Docker and WebAssembly engines
- S3, HTTP, IPFS, local storage
- Batch, ops, daemon, service jobs
- YAML and CLI job submission
- Results to volumes or S3
- Code-based permission model
Use cases
- Large-scale log processing at source
- Cross-region data analysis without moves
- Sensitive on-premises data processing
- Distributed machine learning training
- Edge and IoT compute tasks