# The One Billion Row Challenge

DevFeed: [The One Billion Row Challenge](<https://devfeed.tech/articles/the-one-billion-row-challenge-18855.md>)

Original publisher: [Read original article](<https://www.morling.dev/blog/one-billion-row-challenge/>)

Published: 2023-12-31T23:00:00Z

Content type: article

Language: en

Sources: [Gunnar Morling](<https://devfeed.tech/sources/gunnar-morling.md>)

Topics: [Java](<https://devfeed.tech/topics/java.md>), [openjdk](<https://devfeed.tech/topics/openjdk.md>), [C++](<https://devfeed.tech/topics/c-plus-plus.md>), [Go Language](<https://devfeed.tech/topics/go-language.md>), [Rust](<https://devfeed.tech/topics/rust.md>)

Tags: [c-plus-plus](<https://devfeed.tech/tags/c-plus-plus.md>), [github](<https://devfeed.tech/tags/github.md>), [go](<https://devfeed.tech/tags/go.md>), [java](<https://devfeed.tech/tags/java.md>), [measurement](<https://devfeed.tech/tags/measurement.md>), [openjdk](<https://devfeed.tech/tags/openjdk.md>), [pull-request](<https://devfeed.tech/tags/pull-request.md>), [rust](<https://devfeed.tech/tags/rust.md>)

## AI overview

The One Billion Row Challenge asks participants to write the fastest Java program that reads one billion temperature measurements and calculates the minimum, mean, and maximum for each weather station. The challenge runs from January 1 through January 31, with submissions evaluated under specified hardware and dependency rules.

## Source excerpt

Update Jan 4: Wow, this thing really took off! 1BRC is discussed at a couple of places on the internet, including Hacker News, lobste.rs, and Reddit. For folks to show-case non-Java solutions, there is a "Show & Tell" now, check that one out for 1BRC implementations in Rust, Go, C++, and others. Some interesting related write-ups include 1BRC in SQL with DuckDB by Robin Moffatt and 1 billion rows challenge in PostgreSQL and ClickHouse by Francesco Tisiot. Thanks a lot for all the submissions, this is going way beyond what I'd have expected! I am behind a bit with evalutions due to the sheer amount of entries, I will work through them bit by bit. I have also made a few clarifications to the rules of the challenge; please make sure to read them before submitting any entries. Let's kick off 2024 true coder style--I'm excited to announce the One Billion Row Challenge (1BRC), running from Jan 1 until Jan 31. Your mission, should you decide to accept it, is deceptively simple: write a Java program for retrieving temperature measurement values from a text file and calculating the min, mean, and max temperature per weather station. There's just one caveat: the file has 1,000,000,000 rows!