Context
If the indexer writes one row per event, high-throughput ledgers will bottleneck on per-row writes.
Scope
- Batch events into bulk upserts within a transaction; tune batch size.
- Pipeline RPC fetch and DB write; measure events/sec.
Acceptance criteria
- Indexer sustains target events/sec via batched writes without falling behind.
Verification
- Replay a high-event range and assert throughput + no lag growth.
Context
If the indexer writes one row per event, high-throughput ledgers will bottleneck on per-row writes.
Scope
Acceptance criteria
Verification