Elasticsearch top players (7) - the basis of analysis of the distributed architecture of Elasticsearch

1.Elasticsearch transparent hidden properties of complex distributed mechanism

Elasticsearch is a distributed system, distributed in response to the large amount of data

It hides the complexity of distributed mechanism

Fragmentation mechanism, cluster discovery (cluster discovery mechanism), load balancing Shard, Shard copy request routing, the cluster expansion, redistribution Shard

2.Elasticsearch horizontal expansion and vertical expansion

Vertical expansion: purchase a more powerful server, the cost is very high, and there is a bottleneck.

Horizontal expansion: the industry is frequently used programs, purchasing more and more ordinary servers. Performance more general, but many ordinary servers grouped together, it can constitute a powerful computing and storage capacity level.

Expansion transparency of the application

3. The increase or decrease the data node rebalance

Load-Balancing

4.master node
  1. Create or delete indexes
  2. Add or delete nodes
The distributed architecture of a peer node
  1. Peer nodes, each node can accept all requests
  2. Route Request
  3. Response collection


image

Guess you like

Origin www.cnblogs.com/Mr-WangYue/p/11519221.html