Skip to main content

New top story on Hacker News: Ask HN: Books on designing disk-optimized data structures?

Ask HN: Books on designing disk-optimized data structures?
6 by memset | 4 comments on Hacker News.
Are there canonical books, resources, or readings for how to design data structures that will be primarily read and written to a disk rather than memory? Most of what I learned in school about big-O assumes that, for example, random access is O(1). However, random disk reads are really slow due to spacial locality. People who write databases obviously have solutions to this problem - for example, DuckDB is based on a number of papers that have come out over the years on this topic. If I wanted to design, ie, a tree structure which was intended to be read/written from a disk, are there general principles or patterns the have been developed to take advantage of locality of reference, minimize random reads, or decrease the overhead of writes, that I could familiarize myself with? What is the CLRS for disk?

Comments

Popular posts from this blog

Listen to Stephen Sondheim’s 20 Essential Songs

By BY ERIC GRODE from NYT Theater https://ift.tt/32KJU7H

Listen to 8 Songs From the Bewitching Françoise Hardy

By Elisabeth Vincentelli from NYT Arts https://ift.tt/HpMtzZ1

Listen: The Mysterious Woman Next Door, Tom Hanks Talks, Phoenix Heat Wave

By Unknown Author from NYT Podcasts https://ift.tt/qgsKdGy