Optimize Minimongo Performance with These Essential Packages

Summary of my bookmarked Github repositories from Jan 9th, 2016

Github repositories

  • maximummeteor/autolimit-cursors

    The "autolimit-cursors" repository is aimed at eliminating unnecessary Tracker.autorun reruns caused by minimongo if you're not limiting fields returned by a query. By installing this package, you can achieve this behavior without making any code changes. Currently, it only works if you use the aldeed:collection2 package and have defined schemas for your collections. The repository has 2 stars and no forks, and it is primarily written in JavaScript.

  • helfer/minimongo-index

    helfer:minimongo-index is a package that provides simple indices for minimongo, a temporary data cache commonly used in the Meteor stack. It allows you to define indices on fields using the syntax `YourCollection._collection._ensureIndex('fieldName')`. This package significantly enhances the performance of minimongo for large collections. However, it's important to note that the indices are not sorted and do not improve sorting operations. The primary purpose of this package is to optimize indices based on object IDs. You can find more information about minimongo and its capabilities on the project page at www.meteor.com.