Why it matters

Read latency matters for interactive workloads.

Advertisement

The architecture

Block cache: hot HFile blocks in memory.

Bloom filters: skip HFiles without target row.

Read performance leversBlock cachehot data in memoryBloom filtersskip empty HFilesScan tuningbatch + cachingRow cache for extremely hot rows; different from block cache
Read latency levers.
Advertisement

How it works end to end

Scan caching: rows returned per RPC. Higher = better throughput, more memory.

Batch: cells per RPC. Prevents OOM on wide rows.

Compaction: fewer HFiles = faster reads.

Short-circuit reads: HDFS local reads faster.