[SERVER-25900] Investigate converting TeeBuffer to return an entire batch at once, not one at a time Created: 31/Aug/16  Updated: 06/Dec/22

Status: Backlog
Project: Core Server
Component/s: Aggregation Framework
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Charlie Swanson Assignee: Backlog - Query Execution
Resolution: Unresolved Votes: 0
Labels: optimization
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Query Execution
Participants:

 Description   

This would potentially have the following advantages:

  • It would remove the need for a lot of state tracking within the TeeBuffer
  • It would make it easier for the TeeBuffer to propagate pauses (potentially allowing nested $facets in the future)
  • It would improve efficiency, since it would remove a lot of overhead of checking if we're done consuming a batch

Generated at Thu Feb 08 04:10:34 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.