ion">​</a></h3>
<ul>
<li>Captured real-time user interactions like clicks, orders, and add-to-cart events.</li>
<li>Stored event data in <strong>Redis ZSETs (sorted sets)</strong> to enable fast lookups for recommendation engines.</li>
<li>Provided an API to fetch a user&#x27;s <strong>last <em>k</em> interactions</strong> or <strong>interactions within a time window</strong>.</li>
</ul>
<p>With these components in place, <strong>real-time ML at Meesho became a reality</strong>.</p>
<p>This was just the b