Optimise HyperIndex indexer performance
Quick Navigation
-
measure your indexer and find its bottleneck
-
batched entity reads, always on in V3
-
the metrics, logs, and status endpoints behind all of the above
There are different types of performance that you may be concerned about when indexing using HyperIndex. There is the speed of historical sync (populating the db from scratch), the latency of indexing new blocks/transactions, and the speed of querying the data once it is indexed. If your indexer is slow, start with Benchmarking to find its bottleneck. For lag at the head, see Latency at the Head; for slow GraphQL queries, see Database Performance Optimization.