In-memory flow slices representation
Currently, the flow slice contains some hardcoded structures and is then transformed into statistics and Value
s during each query processing. We'll change this so each flow slice contains:
- Its own statistics (single snapshot).
- An
Rc
ofHeaders
(probably even within a refcell or something). The same headers will be shared by all the slices of the same flow (and, in the future, by a corresponding proto-slice). - Possibly some other auxiliary values.
It is possible to request a read-only borrow of each of these, and will be done through the ValueSrc
, and the query processing modified to use this.
Each time slice will still be an array of these flow slices (don't forget to shring to fit it).