1-billion row challenge (1brc) is a challenge to process a 12GB file containing 1-billion rows of text.
Each row is formatted as <stationName>;<temperature>\n
, and the goal is to aggregate the min, max, and average of each station.
For Node.js, the repository for the challenge can be found here. We will go through the implementation for the baseline approach, understand how it works and work on improving it until we reach a ~30x speedup.