Async Events Lab
1) Core model: Event streams under constraints
This app treats async as a stream problem: ordering, frequency, and cancellation. You can generate events, apply rate limiting, and visualize causality.
Generated events
0
Processed events
0
Dropped (rate limit)
0
Stale overwrites prevented
0
Async pattern
Rate limit
2) Phaser “Event Storm” Lab
Tap the storm area to generate bursts. The lab measures drops/processing under different strategies. (Mobile-first: touch is the primary input.)
Storm intensity
Simulated latency (ms)
3) Three.js timeline: ordering, dependencies, and stale protection
Each node is an event. Z = time, X = type, color = state. Watch out-of-order arrivals and how “stale overwrite prevention” keeps state consistent.
Finale) Strategy Planner (constraints → recommendation)
Input constraints. The planner outputs a pragmatic async strategy + a minimal test checklist to prevent race conditions and order bugs.