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.