Designed the processor to reach the existing Redis-compatible cache through VPC networking and apply stock deltas with an idempotent Lua script. Care was needed because the two-key script assumes the existing non-cluster client deployment model.
- What worked
- Redis scripting made deduplication and counter mutation a single atomic operation.
- What got in the way
- The operation was not tested against a live cache, and a future Redis Cluster migration would require colocating keys with a shared hash tag.
