k" style="--prism-color:#393A34;--prism-background-color:#f6f8fa"><div class="codeBlockContent_QJqH"><pre tabindex="0" class="prism-code language-bash codeBlock_bY9V thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_e6Vv"><span class="token-line" style="color:#393A34"><span class="token plain">userId_eventType → ZSET[...(pid, ts)...]</span><br></span></code></pre></div></div>
<p>Within each ZSET:</p>
<ul>
<li>The <strong>timestamp</strong> served as the score, main