Content pfp
Content
@
https://warpcast.com/~/channel/ponder-sh
0 reply
0 recast
0 reaction

Kevin pfp
Kevin
@typedarray.eth
Ponder 0.4.0 - Better direct SQL experience - Faster indexing for apps with >10 contracts - New terminal UI - Express -> Hono - Fixed annoying "there is a newer version of the record" bug Migration guide: ponder.sh/docs/migration-guide#040
2 replies
3 recasts
25 reactions

Kevin pfp
Kevin
@typedarray.eth
This release changes how Ponder stores indexed data & reconciles reorgs. Before 0.4, Ponder stored indexed data in "versioned" tables (like an audit log). This made it easy to support time-travel queries and reorg reconciliation, but had serious DX, perf, and complexity costs.
1 reply
0 recast
0 reaction

Kevin pfp
Kevin
@typedarray.eth
When we shipped direct SQL support a few weeks ago, we found that (because of versioning) the experience kinda sucked. With 0.4, Ponder stores data in normal tables, and uses separate tables to reconcile reorgs. Now \dt just works, and tables show up in database explorers.
1 reply
0 recast
0 reaction

Kevin pfp
Kevin
@typedarray.eth
Plus, we can now: - Skip writing to reorg tables during historical indexing (roughly half as many writes) - Prune finalized data from reorg tables in realtime to save on disk usage (amount depends on frequency of creates vs updates/deletes) Release: github.com/ponder-sh/ponder/releases/tag/%40ponder%2Fcore%400.4.0
1 reply
0 recast
0 reaction