logoalt Hacker News

Sorted string tables (SST) from first principles

62 pointsby apurvamehtalast Monday at 10:41 PM10 commentsview on HN

Comments

craftkilleryesterday at 2:45 PM

The diagrams on this page are stunning! My only complaint is leaving the close/maximize/minimize buttons in the top left was unnecessary but this is the kind of clarity I always strive for (and fail to achieve) every time I make diagrams.

Did you use a tool to create them, and if so, what is that tool?

show 1 reply
epistasisyesterday at 4:47 PM

> There are several ways to organize immutable data durably that meet these requirements, the simplest of which is an append-only log.

This is also a fairly good way to handle large amounts of data with maximum performance on spinning rust, and at the heart of systems like Kafka.

I had assumed that the story would be very different with SSDs, so it's surprising to see append only logs show up again.

show 1 reply
agavrayesterday at 8:47 PM

So cool to see this make the front page of hacker news! I'm the author, I'll be online here throughout the weekend to answer any questions you might have :) excited for the next post which is in the works about LSM trees.

mac3nyesterday at 5:16 PM

see https://gitlab.com/mac3n/ksip binary search on mmpa'd sorted text files no index needed

show 2 replies