Module architecture

Module architecture 

Source
Expand description

§Architecture Documentation

This section covers D-Engine’s architecture and design principles. These documents explain core components, how they interact, and the design decisions behind them.

§Topics

Modules§

election_design
Conditions That Cause a Leader to Step Down
error_handling_design_principles
This section outlines the core principles for distinguishing between protocol logic errors (expected business failures) and system-level errors (unrecoverable faults) across the entire project. Developers extending this codebase should strictly follow these guidelines to ensure consistency and reliability.
new_node_join_architecture
Raft Node Join & Promotion Architecture
raft_log_persistence_architecture
Raft Log Persistence Architecture
raft_role
Raft Roles and Leader Election: Responsibilities and Step-Down Conditions
single_responsibility_principle
This project strictly follows the Single Responsibility Principle (SRP) to ensure modularity and maintainability. Developers extending the codebase must adhere to this principle to preserve clean separation of concerns. Below are key guidelines and examples.
snapshot_module_design
Snapshot Module Design