Why running queries in parallel is slow? #2088
Labels
api: firestore
Issues related to the googleapis/nodejs-firestore API.
needs more info
This issue needs more information from the customer to proceed.
priority: p3
Desirable enhancement or fix. May not be included in next release.
type: question
Request for information or clarification. Not an issue.
Hey, I'm trying to run couple queries in parallel and getting some weird performance results:
but when trying to add one more query exec time increases to ~800ms ( 4 times !!! )
what is more interesting, when trying to add even more queries, now total exec time remains almost the same ~800ms
Why running >1 query in parallel has such exec time difference?
Is there any bottleneck, or am I missing something?
To mention, I checked query.explain with analyze param and there is no noticeable time difference in
executionDuration
of the queries.The text was updated successfully, but these errors were encountered: