All Questions
Elasticsearch hard

Elasticsearch features multiple 'Circuit Breakers'. What is the proactive mechanism used by the 'Request' breaker to prevent a node crash?

  1. A It terminates any thread that has been running for more than 30 seconds.
  2. B It estimates the memory requirements of an incoming query *before* execution. If the estimated cost + current usage exceeds the breaker limit, it rejects the request with a 429 error.
  3. C It monitors the temperature of the physical server CPUs.
  4. D It automatically scales the number of shards in the index to spread the load.

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

Get the app

Related questions