What is Hiqlite?
mainHiqlite is an embeddable SQLite database that forms a Raft cluster to provide:
- Strong consistency and high availability.
- Replication and automatic leader fail-over.
- Self-healing capabilities (nodes can recover from un-graceful shutdowns or full data volume loss).
Unlike traditional SQLite replication solutions that might require independent processes or specialized file systems, Hiqlite is built as an async wrapper around rusqlite and uses openraft for Raft logic, providing its own storage and network implementations. This allows you to keep data local for fast reads while maintaining the benefits of a distributed system.