Big Data Elasticsearch of Elasticsearch cluster node type


There are four main types of nodes

1. The main node (Master node)

The main responsibilities of the master node is associated with a cluster responsible for the content of operations , such as creating or deleting indexes, which track is part of a cluster node, and decide which slice allocated to the relevant node. Stable master node of a cluster of health is very important. Any one of the nodes in the cluster are likely to be selected as the master node by default. Index data and search queries and other operations will take up a lot of cpu, memory, io resources, in order to ensure the stability of a cluster, separated from the master node and data node is a better choice . Although the master node can also coordinating node, the route search and the new data from the client to the node, but it is best not to use these special master node. An important principle is to do as little work as possible .


2. Data Node (Data Node)

Main data node storing the index data nodes, the document mainly CRUD operations, the polymerization operation. Data node on the CPU, memory, IO demanding, node status monitoring data required at the time of optimization, when not enough resources, the need to add a new node in the cluster.


3. Load balancing node (Client Node)

When a node is neither configured as the primary node, not configured as a data node, which can only handle routing request, the search processing, distribution and other operations index , essentially the client node performance intelligent load balancer. Separate the client node in a relatively large cluster is useful, who coordinates the master node and the data node, the client node can be added to the cluster state of the cluster, the request can be routed directly to the state of the cluster.


4. Pretreatment node (node ​​Ingest)

Before the data can first index data preprocessing operation, all nodes actually default Ingest operations are supported , you can specifically configure a node to node Ingest.

Published 204 original articles · won praise 59 · Views 140,000 +

Guess you like

Origin blog.csdn.net/baidu_34122324/article/details/102556387