# What type of node should I use for GET and PUT?

**URL:** <https://discuss.elastic.co/t/what-type-of-node-should-i-use-for-get-and-put/232438>\
**Category:** Elasticsearch\
**Created:** [May 13, 2020, 12:58pm UTC](https://discuss.elastic.co/t/what-type-of-node-should-i-use-for-get-and-put/232438 "2020-05-13T12:58:36Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Emanuel\_Velzi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/emanuel_velzi/32/66975_2.png) [@Emanuel\_Velzi](https://discuss.elastic.co/u/Emanuel_Velzi)\
**Post date:** [May 13, 2020, 12:58pm UTC](https://discuss.elastic.co/t/what-type-of-node-should-i-use-for-get-and-put/232438/1 "2020-05-13T12:58:36Z")

</div>

Hi!

I have the an elasticsearch cluster, with:

- master nodes
- data nodes (hot & warm)
- coordinator nodes

When a client like **APM post documents** to it, should it to aim to _coordinators_ nodes or _master_ nodes?  
What if I add ingest nodes?

When a client like **Kibana make requests** , should it to aim to _coordinators_ nodes or _master_ nodes?

---

<div class="post-metadata">

**Author:** ![DavidTurner](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/davidturner/32/22453_2.png) [@DavidTurner](https://discuss.elastic.co/u/DavidTurner)\
**Post date:** [May 13, 2020, 1:01pm UTC](https://discuss.elastic.co/t/what-type-of-node-should-i-use-for-get-and-put/232438/2 "2020-05-13T13:01:22Z")

</div>

You should not send any client traffic to your master nodes if possible. Use the coordinating nodes.

---

<div class="post-metadata">

**Author:** ![Emanuel\_Velzi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/emanuel_velzi/32/66975_2.png) [@Emanuel\_Velzi](https://discuss.elastic.co/u/Emanuel_Velzi)\
**Post date:** [May 13, 2020, 1:06pm UTC](https://discuss.elastic.co/t/what-type-of-node-should-i-use-for-get-and-put/232438/3 "2020-05-13T13:06:11Z")

</div>

[DavidTurner](https://discuss.elastic.co/u/DavidTurner), thanks for replying.

When APM index documents, are the master nodes who writes them into the correct index? In that case, wouldn't it be more effective to aim directly to master nodes?

> You should not send any client traffic to your master nodes if possible. Use the coordinating nodes.

Does that also apply to non-elected master nodes?

---

<div class="post-metadata">

**Author:** ![DavidTurner](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/davidturner/32/22453_2.png) [@DavidTurner](https://discuss.elastic.co/u/DavidTurner)\
**Post date:** [May 13, 2020, 1:34pm UTC](https://discuss.elastic.co/t/what-type-of-node-should-i-use-for-get-and-put/232438/4 "2020-05-13T13:34:50Z")

</div>

> [@Emanuel\_Velzi](#):
>
> are the master nodes who writes them into the correct index?

No, that would be a terrible bottleneck. The master nodes are normally uninvolved with the details of indexing.

> [@Emanuel\_Velzi](#):
>
> Does that also apply to non-elected master nodes?

Yes, the elected master node can change at any time without warning.

---

<div class="post-metadata">

**Author:** ![Emanuel\_Velzi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/emanuel_velzi/32/66975_2.png) [@Emanuel\_Velzi](https://discuss.elastic.co/u/Emanuel_Velzi)\
**Post date:** [May 13, 2020, 2:03pm UTC](https://discuss.elastic.co/t/what-type-of-node-should-i-use-for-get-and-put/232438/5 "2020-05-13T14:03:08Z")

</div>

Ok, clear...

And the last one, if I have dedicated ingest nodes, should I send PUT request to there?

---

<div class="post-metadata">

**Author:** ![DavidTurner](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/davidturner/32/22453_2.png) [@DavidTurner](https://discuss.elastic.co/u/DavidTurner)\
**Post date:** [May 13, 2020, 2:13pm UTC](https://discuss.elastic.co/t/what-type-of-node-should-i-use-for-get-and-put/232438/6 "2020-05-13T14:13:10Z")

</div>

It's not essential, but it does save a network hop. Quoting [this article](https://www.elastic.co/blog/ingest-node-a-clients-perspective):

> Since Elasticsearch will automatically reroute ingest requests to ingest nodes, you don't have to specify or configure any routing information. However, if you're doing heavy ingestion and have dedicated ingest nodes, it makes sense to send index requests to these nodes directly, to avoid any extra hops in the cluster.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [June 10, 2020, 2:22pm UTC](https://discuss.elastic.co/t/what-type-of-node-should-i-use-for-get-and-put/232438/7 "2020-06-10T14:22:32Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
