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

RUST-867 Document some performance best practices #466

Merged
merged 2 commits into from
Sep 21, 2021

Conversation

patrickfreed
Copy link
Contributor

RUST-867

This PR adds some notes to the documentation suggesting some ways to improve performance when using the driver, namely:

  • spawn more tasks that use it concurrently
  • use a custom data type rather than Document as the parameter for Collection
  • borrow or move in insert_x methods rather than cloning

@patrickfreed patrickfreed merged commit 8d65a70 into mongodb:master Sep 21, 2021
awitten1 pushed a commit to awitten1/mongo-rust-driver that referenced this pull request Sep 21, 2021
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.

2 participants