Skip to main content
InterviewHubPRO
Section Overview
Q23

Question 23 of 50

Part 3: Advanced Internals, Scale & Production Patterns (Senior / Lead)

46%
Elasticsearch & Lucene (50 Qs)•Part 3: Advanced Internals, Scale & Production Patterns (Senior / Lead)

What are the Node Roles in modern Elasticsearch clusters?

senior LevelelasticsearchAdvanced Internals

In Simple Words: Separating node roles prevents resource contention at scale:

  1. master (Master-Eligible): Manages cluster state, shard allocation, index creation. Uses low CPU/RAM, zero user queries.
  2. data: Stores shard data and executes query/aggregation workloads. Needs fast SSDs and high RAM.
  3. ingest: Runs ingestion pipelines (grok parsing, enrich, date transforms) before indexing.
  4. coordinating: Acts as a smart load balancer; receives user requests, scatters them to data nodes, and merges responses.