Implemented a robust Two-Phase Commit (2PC) protocol to coordinate atomic transactions across multiple distributed processes. This project focuses on the safety and liveness of distributed state machines.

Process Orchestration: Designed a system involving a Coordinator, N Clients, and M Participants using Rust’s ipc_channel for low-latency bidirectional communication.

Flow Control: Implemented a Sliding Window mechanism with configurable concurrency limits to prevent coordinator saturation and maximize system throughput.

Memory Safety: Leveraged Rust’s ownership model to manage IPC handles and process registration safely across child processes.

Atomic Protocol Logic: Handled the complex state transitions required to ensure “all-or-nothing” properties across independent processes.