Replace BLite with Surreal embedded persistence
All checks were successful
NuGet Package Publish / nuget (push) Successful in 1m21s
All checks were successful
NuGet Package Publish / nuget (push) Successful in 1m21s
This commit is contained in:
@@ -56,7 +56,15 @@ Terminal 3:
|
||||
dotnet run -- --node-id node3 --tcp-port 5003 --udp-port 6003
|
||||
```
|
||||
|
||||
Changes made on any node will automatically sync to all peers!
|
||||
Changes made on any node will automatically sync to all peers!
|
||||
|
||||
### Import Snapshot Into Surreal (Migration Utility)
|
||||
|
||||
```bash
|
||||
dotnet run -- --migrate-snapshot /path/to/snapshot.json --target-db /path/to/data.rocksdb
|
||||
```
|
||||
|
||||
This imports a CBDDC snapshot into embedded Surreal RocksDB and validates parity (counts plus oplog hash spot checks).
|
||||
|
||||
## Available Commands
|
||||
|
||||
@@ -149,7 +157,7 @@ var page = await users.Find(u => true, skip: 10, take: 5);
|
||||
|
||||
## Architecture
|
||||
|
||||
- **Storage**: SQLite with HLC timestamps
|
||||
- **Storage**: Surreal embedded RocksDB with HLC timestamps
|
||||
- **Sync**: TCP for data transfer, UDP for discovery
|
||||
- **Conflict Resolution**: Last-Write-Wins based on Hybrid Logical Clocks
|
||||
- **Serialization**: System.Text.Json
|
||||
|
||||
Reference in New Issue
Block a user