Hardwood: Building a Parquet Parser From Scratch (With a Little Help From AI)
summary
Hardwood is a new JVM Parquet reader/writer that avoids the Hadoop classpath by offering zero mandatory dependencies, reimplements S3 access with the JDK HTTP client and a lightweight signer, and parallelizes at the page-level so workers decode pages concurrently. It exposes both row and columnar APIs, provides a native GraalVM CLI and WebAssembly demo, and reports performance like 16.5M rows on four cores (3.9M single core), beating parquet‑java in benchmarks. Development uses Claude for coding, profiling and bisecting to find and fix bottlenecks.
AI-written summary · about
chapters (12)
- 0:00Introduction and motivation
- 3:30What is Apache Parquet
- 6:44Goals for Hardwood library
- 7:25Hardwood API overview
- 12:02Multi-threaded implementation
- 14:50Modern Java optimizations
- 16:37Performance benchmarks
- 20:13Fixed-length list optimization
- 25:17Hardwood CLI introduction
- 28:29AI-assisted development
- 32:44Current status and roadmap
- 36:58Q&A session
