Allocate before loading when responding to queries #255
Labels
effort/hours
Estimated to take one or several hours
exp/intermediate
Prior experience is likely helpful
P2
Medium: Good to have, but can wait until someone steps up
In the query executor, we seem to load first, then allocate when sending the block. Unfortunately, when processing many parallel queries, we can end up loading a lot of blocks then blocking (waiting to be able to "reserve space" for them. we'd likely use less memory if we just sent the block.
Instead, we should allocate first. That is:
This means we:
The text was updated successfully, but these errors were encountered: