fp:device:<deviceId> — Hash mapping snapshot IDs to serialised
StoredFingerprint JSON. Keys expire after 90 days.
fp:latest:<deviceId> — Cached copy of the most recent snapshot for
candidate scoring.
idx:devices — Set of device IDs used for full-store enumeration during
deduplication and exports.
idx:platform:<value>, idx:deviceMemory:<value>,
idx:hardwareConcurrency:<value> — Secondary index sets used for
coarse candidate pre-filtering via SMEMBERS / 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>— Cached copy of the most recent snapshot for candidate scoring.idx:devices— Set of device IDs used for full-store enumeration during deduplication and exports.idx:platform:<value>,idx:deviceMemory:<value>,idx:hardwareConcurrency:<value>— Secondary index sets used for coarse candidate pre-filtering viaSMEMBERS/SINTER.deleteOldSnapshotsis a no-op; TTL-based expiry handles retention.