Content
@
https://warpcast.com/~/channel/ponder-sh
0 reply
0 recast
0 reaction
Kevin
@typedarray.eth
Ponder 0.9.3 adds a new event ordering strategy designed for low-latency apps that index 10+ chains. The current ordering strategy is “omnichain” - events across all chains share a single queue, with blocks ordered by (block timestamp, chain ID, block number).
2 replies
6 recasts
43 reactions
Kevin
@typedarray.eth
To maintain this ordering guarantee in realtime, we must wait for a new block from the slowest chain (by block time) before we can process events from the queue. For a base + mainnet app, worst-case latency for base events can approach 12 seconds (not acceptable).
1 reply
1 recast
14 reactions
Kevin
@typedarray.eth
The new “multichain” strategy is simple: for a given chain, index blocks immediately without regard for progress on other chains. This solves the realtime latency issue, but leads to a non-deterministic order of events across chains. Docs: https://ponder.sh/docs/api-reference/config#event-ordering
1 reply
0 recast
1 reaction