Architecture Overview
WolfScale uses a peer-to-peer architecture where each node connects to the database it manages and communicates with other WolfScale nodes to synchronise changes.
Components
- Replication Engine — Reads binlog events and forwards to peers
- Peer Discovery — Auto-discovers nodes via WolfNet or manual configuration
- Load Balancer — Routes queries to healthy nodes
- Health Checker — Monitors node liveness and replication lag
- Conflict Resolver — Handles concurrent writes to the same rows