Apibara blog

News and updates about Apibara

Batch writes for MongoDB indexers

This week we added the option to batch writes to MongoDB to increase indexers performance.

Previously, the MongoDB sink would write data as it was produced (once per block). This is an issues for dedicated DNA customers since it results in several thousands of writes per second and a high CPU load on their MongoDB instance.

The new MongoDB sink version includes a --batch-seconds flag to only flush data every few seconds, improving performance and reducing stress for the MongoDB server.

Apibara

Apibara is the fastest platform to build production-grade indexers that connect onchain data to web2 services.

© 2024 GNC Labs Limited. All rights reserved.