nsaction.</p>
</li>
</ul>
<center>
<img src="/img/blog/patterns-blog-3/pre-aggregation.png" width="700px" alt="Figure 8: Pre-aggregation"/>
<br/>
<i><small>Figure 8: Pre-aggregation</small></i>
</center>
<br/>
<h4 id="state-data-and-serializers">
  State Data and Serializers
  <a class="anchor" href="#state-data-and-serializers">#</a>
</h4>
<p>Another question that we can ask ourselves in order to further optimize
the implementation is how probable is it to get different events with
exactly the same timesta