<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/setting-performance-baselines-for-java-s-1-billion-row-challenge-ep-2-with-caseymuratori-nqmxntbx2" -->

---
title: Setting Performance Baselines for Java's 1-Billion-Row...
description: A video episode exploring how to establish performance baselines for Java's 1-Billion-Row Challenge. The hosts discover the challenge runs from a RAM disk...
canonical: https://daily.dev/posts/setting-performance-baselines-for-java-s-1-billion-row-challenge-ep-2-with-caseymuratori-nqmxntbx2
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Setting Performance Baselines for Java's 1-Billion-Row Challenge (Ep. 2) | With @caseymuratori | daily.dev
og:description: A video episode exploring how to establish performance baselines for Java's 1-Billion-Row Challenge. The hosts discover the challenge runs from a RAM disk...
og:url: https://daily.dev/posts/setting-performance-baselines-for-java-s-1-billion-row-challenge-ep-2-with-caseymuratori-nqmxntbx2
og:image: https://api.daily.dev/og/posts/NqMxnTBx2.png
og:image:alt: Setting Performance Baselines for Java's 1-Billion-Row Challenge (Ep. 2) | With @caseymuratori
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Setting Performance Baselines for Java's 1-Billion-Row Challenge (Ep. 2) | With @caseymuratori

**[Marco Codes](https://daily.dev/sources/marco-codes)** · 38 min read · 0 upvotes · 0 comments

## Summary

A video episode exploring how to establish performance baselines for Java's 1-Billion-Row Challenge. The hosts discover the challenge runs from a RAM disk rather than an SSD, which explains sub-second results that seemed physically impossible. They benchmark SSD read speeds using the `dd` command (~6.5 GB/s cold), compare Java file-reading APIs (BufferedInputStream, FileChannel, MappedByteBuffer), and find FileChannel matches the raw DD baseline at ~2.1 seconds for a 15 GB file. The discussion covers OS file caching, PCIe lane bandwidth, disk block sizes, kernel privilege transitions, and why chunk sizes matter for throughput. Homework for next episode: implement a working solution and set up a RAM disk for testing.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.youtube.com/watch?v=rzLcVq8xm1Y>

## Similar posts on daily.dev

- [1B Rows with the Memory API](https://daily.dev/posts/1b-rows-with-the-memory-api-xyhivcu8q) · Inside Java · 2 upvotes · 0 comments
- [Memory is slow, Disk is fast](https://daily.dev/posts/memory-is-slow-disk-is-fast-lns5ln4zk) · Lobsters · 1 upvotes · 0 comments
- [Pitfalls of Benchmarking on Modern Systems](https://daily.dev/posts/pitfalls-of-benchmarking-on-modern-systems-tvk8mrdyb) · Awesome Java Newsletter · 0 upvotes · 0 comments

---

Tags: [#performance](https://daily.dev/tags/performance), [#java](https://daily.dev/tags/java), [#jvm](https://daily.dev/tags/jvm)

[View this post on daily.dev](https://daily.dev/posts/setting-performance-baselines-for-java-s-1-billion-row-challenge-ep-2-with-caseymuratori-nqmxntbx2)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Setting Performance Baselines for Java's 1-Billion-Row Challenge (Ep. 2) | With @caseymuratori","url":"https://daily.dev/posts/setting-performance-baselines-for-java-s-1-billion-row-challenge-ep-2-with-caseymuratori-nqmxntbx2","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/setting-performance-baselines-for-java-s-1-billion-row-challenge-ep-2-with-caseymuratori-nqmxntbx2"},"datePublished":"2026-03-16T08:08:50.627Z","dateModified":"2026-03-16T08:09:58.534Z","description":"A video episode exploring how to establish performance baselines for Java's 1-Billion-Row Challenge. The hosts discover the challenge runs from a RAM disk...","image":"https://i.ytimg.com/vi/rzLcVq8xm1Y/sddefault.jpg","thumbnailUrl":"https://i.ytimg.com/vi/rzLcVq8xm1Y/sddefault.jpg","isAccessibleForFree":true,"articleSection":"Marco Codes","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Marco Codes","logo":"https://media.daily.dev/image/upload/s--MFM0XEYf--/f_auto,q_auto/v1773596415/logos/marco-codes?_a=BAMAMiiu0","url":"https://daily.dev/sources/marco-codes"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/setting-performance-baselines-for-java-s-1-billion-row-challenge-ep-2-with-caseymuratori-nqmxntbx2","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"performance,java,jvm","timeRequired":"PT38M","video":{"@type":"VideoObject","name":"Setting Performance Baselines for Java's 1-Billion-Row Challenge (Ep. 2) | With @caseymuratori","description":"A video episode exploring how to establish performance baselines for Java's 1-Billion-Row Challenge. The hosts discover the challenge runs from a RAM disk...","thumbnailUrl":"https://i.ytimg.com/vi/rzLcVq8xm1Y/sddefault.jpg","uploadDate":"2026-03-16T08:08:50.627Z","duration":"PT38M","url":"https://api.daily.dev/r/NqMxnTBx2","embedUrl":"https://www.youtube.com/embed/rzLcVq8xm1Y"}}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Marco Codes","item":"https://daily.dev/sources/marco-codes"},{"@type":"ListItem","position":3,"name":"Setting Performance Baselines for Java's 1-Billion-Row Challenge (Ep. 2) | With @caseymuratori"}]}
```

