I am eager to know whether MongoDB’s Aggregation Framework processes each sub-pipeline inside $facet in parallel.
It is specified in the doc that:
Each sub-pipeline within
$facet
is passed the exact same set of input documents. These sub-pipelines are completely independent of one another.
Does that mean each sub-pipeline in $facet is send to a separate thread and processed asynchronously?