Talking of trees and caches, back in school I remember learning about splay trees. I’ve never actually seen one used in a production system though, I assume because of the poor concurrency. Has anyone heard of any systems with tree rebalancing based on the workload (ie reads too not just writes)?
selamtux|1 year ago
splay tree are good if you are not accessing concurrently and ordered items. next item always be in root