How
5.6
opt-in single type
6.x
single type
7.x
type optional in API
8.x
no more types
https://www.elastic.co/guide/en/elasticsearch/reference/current/
removal-of-types.html#_schedule_for_removal_of_mapping_types
Slide 28
Automatic Queue Resizing
6.0
Slide 29
Reject and Retry Instead of Long Queues
thread_pool.search.target_response_rate: 2s
Serving 50 requests/s
Queue size:
Slide 30
Adaptive Replica Selection
6.1 (enabled by default in 7.0)
Slide 31
Slide 32
Pick Best Shard
Exponentially Weighted Moving Average
(EWMA)
Piggyback on responses to coordinating node
Slide 33
Shrink & Split
*
4
5.0
444
6.1
*
Demo
Slide 34
Slide 35
Shrink
Combine shards by a factor
Slide 36
Slide 37
Split
Split into a factor of
number_of_routing_shards
Not required in 7.0+
Slide 38
Open Code
6.3
Slide 39
Slide 40
Slide 41
Slide 42
Shards
7.0
Slide 43
Slide 44
Default: 1 Shard per Index
Oversharding
Slide 45
Simon Says
Use a single shard until it
blows up
Slide 46
Beats: Rollover
Planning phase: size based, depends on ILM