All Questions
Elasticsearch hard

Keyword fields use 'Doc Values' for sorting and aggregations. Where do these structures primarily reside for performance?

  1. A Directly inside the JVM Heap to minimize garbage collection latency.
  2. B On disk (Columnar Store), but they are designed to be mapped into memory by the Operating System's Filesystem Cache (Off-Heap).
  3. C In a specialized memory region managed by the Master node to ensure consistency.
  4. D Inside the CPU's L3 cache using specialized AVX-512 instructions.

One system design question a day, with spaced repetition so the ones you miss come back.

Get the app

Related questions