fp:device:<deviceId> — Hash mapping snapshot IDs to serialised
StoredFingerprint JSON. Keys expire after 90 days.
fp:latest:<deviceId> — Stores the most-recent fingerprint JSON for
fast candidate retrieval.
idx:platform:<value>, idx:deviceMemory:<value>,
idx:hardwareConcurrency:<value> — Secondary index sets used for
O(1) candidate pre-filtering via SINTER.
deleteOldSnapshots is a no-op; TTL-based expiry handles retention.
Parameters
OptionalredisUrl: string
Optional Redis connection URL.
Defaults to "redis://localhost:6379".
Create a StorageAdapter backed by Redis via
ioredis.Key schema
fp:device:<deviceId>— Hash mapping snapshot IDs to serialised StoredFingerprint JSON. Keys expire after 90 days.fp:latest:<deviceId>— Stores the most-recent fingerprint JSON for fast candidate retrieval.idx:platform:<value>,idx:deviceMemory:<value>,idx:hardwareConcurrency:<value>— Secondary index sets used for O(1) candidate pre-filtering viaSINTER.deleteOldSnapshotsis a no-op; TTL-based expiry handles retention.