3 ms·
writing to each parent directory would cause enormous write amplification and terrible io performance.
by Hello71 6y ago
writing to each parent directory would cause enormous write amplification and terrible io performance.
- amelius 6y agoI guess you could delay the actual writing and use a journal to make sure everything is consistent even when the system crashes without a proper unmount.
- neolog 6y ago> enormous write amplification and terrible io performance Why would it be enormous instead of small?
- Hello71 6y agoimagine node_modules with dozens of layers deep nesting. each write would have 10x or 20x amplification to update the parents.
- deleted 6y ago[deleted]