Persistence: Data Trees stored as Directory Trees
问题 I was wondering as to the practicalities of storing an in memory tree structure as directory tree for persistence purposes. In my case he target filesystem will be ZFS, and once the structure has been created it will be accessed by multiple processes infrequently. How performant is using a Directory Tree as a mechanism of persistence for Data Trees? 回答1: In order to read and write your tree, you will be calling the filesystem several times per node. This is much more expensive than any sane