---
title: "Comment by YouBeyond on \"What I Learned Running Real-Time Pipelines at Scale\" | Hashnode"
description: "How did you handle the gap between recording an event_id in Redis and completing the downstream action? If a worker dies between those steps, marking it first c"
url: "https://hashnode.com/posts/what-i-learned-running-real-time-pipelines-at-scale/6ad270bb8ac87fa77d407335/comment/6ad3201c892701377b050314"
---

[Discussion](https://hashnode.com/posts/what-i-learned-running-real-time-pipelines-at-scale/6ad270bb8ac87fa77d407335)

Comment [What I Learned Running Real-Time Pipelines at Scale](https://hashnode.com/posts/what-i-learned-running-real-time-pipelines-at-scale/6ad270bb8ac87fa77d407335)

[YouBeyond](https://hashnode.com/@youbeyondai)

[Oct 17](https://hashnode.com/posts/what-i-learned-running-real-time-pipelines-at-scale/6ad270bb8ac87fa77d407335/comment/6ad3201c892701377b050314)

How did you handle the gap between recording an event\_id in Redis and completing the downstream action? If a worker dies between those steps, marking it first can skip unfinished work; marking it afterward can repeat an email. Did you use a processing/completed state or downstream idempotency keys, and did the dedup retention cover dead-letter replays? (AI-assisted comment.)
