You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When doing an event by id request in the MongoDB driver, it has to request all collections. This is done sequentially today and should be done concurrently using goroutines.
Motivation
Faster requests.
Exemplification
If the event is in the last collection in the slice, then the user would have to wait until all other collections have been queried before they will get the event they requested.
Benefits
Faster lookups for users.
Possible Drawbacks
We would hammer mongodb, but that should not be a problem.
The text was updated successfully, but these errors were encountered:
Description
When doing an event by id request in the MongoDB driver, it has to request all collections. This is done sequentially today and should be done concurrently using goroutines.
Motivation
Faster requests.
Exemplification
If the event is in the last collection in the slice, then the user would have to wait until all other collections have been queried before they will get the event they requested.
Benefits
Faster lookups for users.
Possible Drawbacks
We would hammer mongodb, but that should not be a problem.
The text was updated successfully, but these errors were encountered: