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

Cache for command chaining #3

Open
MaddyUnderStars opened this issue Nov 21, 2021 · 1 comment
Open

Cache for command chaining #3

MaddyUnderStars opened this issue Nov 21, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@MaddyUnderStars
Copy link
Owner

Speed of command chaining when performing many database operations ( remindme, list, tag, etc ) is quite slow.
May be faster if changes to DB aren't finalized until the last command is ran ( or the first error? )
Could perhaps be done with a mongo proxy class. Could perhaps call proxy.start before commands are ran and then proxy.end after, or smth.
See: mongo bulk operations.

@MaddyUnderStars MaddyUnderStars added the enhancement New feature or request label Nov 21, 2021
@MaddyUnderStars
Copy link
Owner Author

Perhaps create a mongo proxy that uses OrderedBulkOperation if it's present ( for the current command chain ) or uses raw collection methods otherwise.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant