Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Collection count performance #378

Open
wants to merge 16 commits into
base: master
Choose a base branch
from
Open

Collection count performance #378

wants to merge 16 commits into from

Conversation

aramk
Copy link

@aramk aramk commented Jan 2, 2017

  • Used collection hooks instead of observables to improve collection count performance. This was causing apps with millions of records to hang when viewing the dashboard. With hooks, the calculation isn't noticeable.
  • Fixed onAfterAction().
  • Updated dependencies.
  • Allowed waitOn() to return cursors to subscribe to.

aramk added 14 commits January 1, 2016 23:00
- Removed adminCollectionsCount which was causing very poor performance in an effort to debug the issue.
- Passing widgets as empty array to dashboard will no longer render the defaults.
# Conflicts:
#	lib/both/router.coffee
Used collection hooks to update the collection count with better performance than observe().
# Conflicts:
#	lib/server/publish.coffee
@aramk aramk changed the title Pubsub fix Collection count performance Jan 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant