will N $facet pipelines be equivalent to N concurrent API calls / queries?

32 Views Asked by At

I am facing the decision to either send 100 concurrent API calls / queries to mongoDB or to send 1 query with 100 $facet pipelines.

Will they be more or less equivalent in terms of resources taken up?

0

There are 0 best solutions below