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

Use tree reduce for aggregation #204

Merged
merged 1 commit into from
Jul 14, 2015
Merged

Use tree reduce for aggregation #204

merged 1 commit into from
Jul 14, 2015

Conversation

freeman-lab
Copy link
Member

This PR changes the core aggregation functions to use treeReduce instead of reduce. In large-scale testing, this change improved performance by anywhere from a factor of 2-5x when performing reductions (e.g. sum) on very large records (each individual record 200-500 MB), without noticeably affecting performance on reduces with much smaller records.

Initial testing suggests that this change may also eliminate various memory-related errors we were encountering on large reduces, but further testing is required to confirm.

freeman-lab added a commit that referenced this pull request Jul 14, 2015
@freeman-lab freeman-lab merged commit 52468d8 into master Jul 14, 2015
@freeman-lab freeman-lab deleted the better-reduce branch July 19, 2015 21:27
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.

None yet

1 participant