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

Add support for MongoDB bulk operations #8762

Open
3 tasks done
mtrezza opened this issue Sep 23, 2023 · 3 comments
Open
3 tasks done

Add support for MongoDB bulk operations #8762

mtrezza opened this issue Sep 23, 2023 · 3 comments
Labels
type:feature New feature or improvement of existing feature

Comments

@mtrezza
Copy link
Member

mtrezza commented Sep 23, 2023

New Feature / Enhancement Checklist

Current Limitation

MongoDB offers a performance-optimized way for bulk operations, see BulkOperationBase. Parse Server doesn't seem to take advantage of that.

Feature / Enhancement Description

Add support for bulk operations, most importantly write (insert / update) operations. Maybe the existing /batch endpoint can take advantage of that API, or a new API needs to be introduced.

@parse-github-assistant
Copy link

parse-github-assistant bot commented Sep 23, 2023

Thanks for opening this issue!

  • 🎉 We are excited about your ideas for improvement!

@mtrezza mtrezza added the type:feature New feature or improvement of existing feature label Sep 23, 2023
@Siddharth9890
Copy link

hey @mtrezza so we should replace queries where bulk insert is supported by mongodb?

@mtrezza
Copy link
Member Author

mtrezza commented Oct 5, 2023

I'm unsure how much can be replaced (optimized) and how much needs to be introduced as either a new API or as an option to use bulk operations in an existing API (like the batch API). I think that depends largely on whether with bulk operations the return value is different from existing operations. If it's different, then it may not be possible to replace it since Parse Server and the client expect a certain return value.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:feature New feature or improvement of existing feature
Projects
None yet
Development

No branches or pull requests

2 participants