REDIS-EDI
Redis (EDI) is the open-source Redis in-memory data structure store — used for EDI reference caches (partners, ICDs, Rec-20 codes), deduplication lists and lightweight job queues (Redis Streams).
Definition
Redis offers rich structures: String, Hash, List, Set, Sorted Set, Stream, Geo. Cluster mode enables horizontal scaling (16384 slots). RDB (snapshot) and AOF (append-only file) persistence guarantee durability.
Origin
Created in 2009 by Salvatore Sanfilippo (Pieter Noordhuis joined in 2010). Redis Labs (rebranded Redis Inc. in 2021) sponsors development. License moved to SSPL/RSAL in 2024.
Use
An EDI gateway uses Redis for: (1) caching GLN ↔ ERP partner-id resolutions (TTL 1h), (2) SET of received payloadIDs for idempotency (TTL 7d), (3) lightweight 'edi.events' Stream for internal pub-sub before Kafka publication.
Related terms
- Idempotency — main use case.
- Look-back window — TTL set.
- Kafka — streaming complement.
- Integration broker — role.