(no title)
leif | 10 years ago
https://www.cs.berkeley.edu/~brewer/cs262/Aries.pdf
> Remember that merge operations are O(N). Then remember that there are N of them to do. O(N^2) is a horrible algorithmic complexity.
No. Mountains of actual math refute this. LSM-tree merges are O(N log N). This is an Actual Fact.
Read more, kids.
hyc_symas|10 years ago
O(N log N) is still untenable in the long run, nobody has exponentially growing compute resources.
databass|10 years ago
Also, N log(N) is nowhere near exponential. O(2^N) would be exponential, and that's not what you have here.