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
- Create or delete indexes
- Add or delete nodes
The distributed architecture of a peer node
- Peer nodes, each node can accept all requests
- Route Request
- Response collection