Re:Feldera Incremental Compute Engine
by nikhilsimha on Monday September 30, 2024 @12:12PM
(#41698828)
So the writes are O(N) then - to keeps reads at O(1)?
Both reads and writes are O(1) in time complexity. Writes additionally have the log(N) amortized cost of maintaining the LSM tree.
Re:Feldera Incremental Compute Engine
by nikhilsimha on Monday September 30, 2024 @12:50PM
(#41699306)
gotcha! thanks for the clarification
Update from Leonid on current implementation: each group is ordered by the column on which we compute max, so it's O(1) to pick the last value from the index.