locorda_core 0.5.1
locorda_core: ^0.5.1 copied to clipboard
Locorda Core - Platform-agnostic CRDT synchronization engine
0.5.1 #
- FIX(core): translate preloadedResourceDocIris IRIs in PipelineIriTranslatingRemoteSyncStorage. (8ca4520b)
0.5.0 #
- Initial public release
SyncEngine: core interface for CRDT merge operations, hydration streams, and sync lifecycle managementEngineParams/StandardSyncEngine: concrete engine implementation wired to aStorageand a list ofBackendinstances- Two-pass sync pipeline: fetch-and-merge phase followed by upload phase, with typed pipeline events (
ShardRefEvent,MergedResourceEvent,UploadedResourceEvent, etc.) - Three storage layout strategies:
FilePerResource(one file per RDF resource),ShardDataset(packed shards, configurable count),SingleFile(everything in one file) SyncManager/StandardSyncManager: sync triggering, auto-sync scheduling, and status streaming (SyncState,SyncStatus)Storageinterface withInMemoryStoragefor testing; Drift-backed implementation inlocorda_driftBackend/PipelineBackend: pluggable remote storage interface with upload/download result types and auth-retry support- Hybrid Logical Clock (HLC) based CRDT merge: LWW-Register, OR-Set, FWW-Register and Immutable strategies
HydrationBatch: typed batch of graph updates and deletion IDs delivered to the application on each sync cycleSyncEngineConfig: IRI-level configuration for resources, index types and root resource fetch policiesIriTranslatorhierarchy for local ↔ remote IRI mapping- Index types:
FullIndexData(monolithic) andGroupIndexData(partitioned by regex key) withRootResourceFetchPolicy(onRequest / prefetch)