This directory contains the Rust implementation of the MapReduce framework. For detailed information about the project, please see the main README.
- Rust (latest stable version)
- Cargo package manager
# Install dependencies
cargo build
# Run the MapReduce server
cargo run --bin distributed-mapreduce server
# In separate terminals, run workers
cargo run --bin distributed-mapreduce client ./files
Create a new example in the examples
directory following the pattern in examples/custom_functions.rs
.
# Run all tests
cargo test
# Run specific test suite
cargo test --test integration_test
- Build in release mode for optimal performance
- Adjust worker count based on available CPU cores
- Use appropriate chunk sizes for your data
MIT License