ing from storage, allowing ingestion and consumption to scale independently.</p>
<h2 class="anchor anchorWithStickyNavbar_LWe7" id="storage-design">Storage Design<a href="#storage-design" class="hash-link" aria-label="Direct link to Storage Design" title="Direct link to Storage Design">​</a></h2>
<p>To store these events, we built Kafka consumers that processed the incoming streams and wrote the data into Redis, using sorted sets (ZSETs) as the primary data structure.</p>
<h3 class="anchor anchorWithStick