<?xml version="1.0" encoding="UTF-8"?><oembed><type>video</type><version>1.0</version><html>&lt;iframe src=&quot;https://www.loom.com/embed/b253253c828d42379a778cbb1aea4a87&quot; frameborder=&quot;0&quot; width=&quot;1920&quot; height=&quot;1440&quot; webkitallowfullscreen mozallowfullscreen allowfullscreen&gt;&lt;/iframe&gt;</html><height>1440</height><width>1920</width><provider_name>Loom</provider_name><provider_url>https://www.loom.com</provider_url><thumbnail_height>1440</thumbnail_height><thumbnail_width>1920</thumbnail_width><thumbnail_url>https://cdn.loom.com/sessions/thumbnails/b253253c828d42379a778cbb1aea4a87-f9b46a75666bb1be.gif</thumbnail_url><duration>477.2956</duration><title>Stress Testing State Management in Real-Time Auctions with XState and Convex</title><description>In this video, I demonstrate a stress test of using XState in Convex for a live auction scenario, showcasing real-time bidding and state management challenges. I illustrate how both human participants and a simulated AI bot interact in the auction, highlighting features like bid increments and auction pausing. I also discuss the benefits of using state machines for robust business logic and the ease of testing them for edge cases. I&apos;m curious to know if there&apos;s interest in open sourcing this concept or writing a blog post about it, and I welcome any feedback on potential scalability issues.

Forgot to show:
System is robustly recording winners in ACID compliant manner for this critical settlement, click the END button to end auction early and see results.</description></oembed>