# Index server on remote machine

**URL:** <https://discuss.elastic.co/t/index-server-on-remote-machine/17182>\
**Category:** Elasticsearch\
**Created:** [April 24, 2014, 6:55pm UTC](https://discuss.elastic.co/t/index-server-on-remote-machine/17182 "2014-04-24T18:55:09Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![IronMike](https://avatars.discourse-cdn.com/v4/letter/i/e9a140/32.png) [@IronMike](https://discuss.elastic.co/u/IronMike)\
**Post date:** [April 24, 2014, 6:55pm UTC](https://discuss.elastic.co/t/index-server-on-remote-machine/17182/1 "2014-04-24T18:55:09Z")

</div>

I would like some clarification on this topic, Assume I am on cloud with  
two instances (instance1 & instance2).  
instance1 is where I process all my files and make them JSON ready  
instance2 is where the actual Elasticsearch server is.

So On Instance1, I can run my application which opens a transport client  
with (instance2 IP address), and go through my documents and push them to  
BulkProcessor.  
My question, wouldn't the bulkprocessor still have to push the data  
remotely to instance2 where the actual ES server is, so with each bulk, say  
its 1000 docs, it has to push 1000 docs? Isn't this a huge bottle neck?  
What's the ideal way for such a scenario? Am I going about this the wrong  
way?

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/cbde68ef-0305-4fbd-afcd-5e1132b73688%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/cbde68ef-0305-4fbd-afcd-5e1132b73688%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Ivan](https://avatars.discourse-cdn.com/v4/letter/i/df788c/32.png) [@Ivan](https://discuss.elastic.co/u/Ivan)\
**Post date:** [April 24, 2014, 7:46pm UTC](https://discuss.elastic.co/t/index-server-on-remote-machine/17182/2 "2014-04-24T19:46:59Z")

</div>

Correct. You will be network bound when pushing content remotely. However,  
how is this different from any storage engine? If Instance2 was running  
MySQL, you are still pushing data over the network.

The most efficient solution perhaps is to run your process as a river, but  
you lose some flexibility in terms of process control. Overall, I think the  
remote indexing process is a good solution.

Cheers,

Ivan

On Thu, Apr 24, 2014 at 11:55 AM, IronMan2014 [sabdalla80@gmail.com](mailto:sabdalla80@gmail.com) wrote:

> I would like some clarification on this topic, Assume I am on cloud with  
> two instances (instance1 & instance2).  
> instance1 is where I process all my files and make them JSON ready  
> instance2 is where the actual Elasticsearch server is.
> 
> So On Instance1, I can run my application which opens a transport client  
> with (instance2 IP address), and go through my documents and push them to  
> BulkProcessor.  
> My question, wouldn't the bulkprocessor still have to push the data  
> remotely to instance2 where the actual ES server is, so with each bulk, say  
> its 1000 docs, it has to push 1000 docs? Isn't this a huge bottle neck?  
> What's the ideal way for such a scenario? Am I going about this the wrong  
> way?
> 
> --  
> You received this message because you are subscribed to the Google Groups  
> "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an  
> email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/elasticsearch/cbde68ef-0305-4fbd-afcd-5e1132b73688%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/cbde68ef-0305-4fbd-afcd-5e1132b73688%40googlegroups.com)[https://groups.google.com/d/msgid/elasticsearch/cbde68ef-0305-4fbd-afcd-5e1132b73688%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/cbde68ef-0305-4fbd-afcd-5e1132b73688%40googlegroups.com?utm_medium=email&utm_source=footer)  
> .  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQDjG1in3j6DBBjrfTMEYPox1sFZkp9Bkpk1T%3D19r58D%3DQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQDjG1in3j6DBBjrfTMEYPox1sFZkp9Bkpk1T%3D19r58D%3DQ%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![IronMike](https://avatars.discourse-cdn.com/v4/letter/i/e9a140/32.png) [@IronMike](https://discuss.elastic.co/u/IronMike)\
**Post date:** [April 24, 2014, 8:15pm UTC](https://discuss.elastic.co/t/index-server-on-remote-machine/17182/3 "2014-04-24T20:15:09Z")

</div>

Thanks Ivan, Yes it's no different I just wanted to make sure I am going  
about it the right way. The only thing that concerns me is the bulks not  
keeping up due to networking, pushing and indexing is heavy on I/O, while  
storage scenario you mentioned may not be as time sensitive operation (I  
think).  
I thought about having the index server on the same machine, and just make  
the machine to be powerful one, I am just not sure what are the drawbacks  
to this? I can think of one, remotely it allows me to setup a cluster of  
machines to which I can index to.

On Thursday, April 24, 2014 3:46:59 PM UTC-4, Ivan Brusic wrote:

> Correct. You will be network bound when pushing content remotely. However,  
> how is this different from any storage engine? If Instance2 was running  
> MySQL, you are still pushing data over the network.
> 
> The most efficient solution perhaps is to run your process as a river, but  
> you lose some flexibility in terms of process control. Overall, I think the  
> remote indexing process is a good solution.
> 
> Cheers,
> 
> Ivan
> 
> On Thu, Apr 24, 2014 at 11:55 AM, IronMan2014 \<[sabda...@gmail.com](mailto:sabda...@gmail.com)\<javascript:\>
> 
> > wrote:
> 
> > I would like some clarification on this topic, Assume I am on cloud with  
> > two instances (instance1 & instance2).  
> > instance1 is where I process all my files and make them JSON ready  
> > instance2 is where the actual Elasticsearch server is.
> > 
> > So On Instance1, I can run my application which opens a transport client  
> > with (instance2 IP address), and go through my documents and push them to  
> > BulkProcessor.  
> > My question, wouldn't the bulkprocessor still have to push the data  
> > remotely to instance2 where the actual ES server is, so with each bulk, say  
> > its 1000 docs, it has to push 1000 docs? Isn't this a huge bottle neck?  
> > What's the ideal way for such a scenario? Am I going about this the wrong  
> > way?
> > 
> > --  
> > You received this message because you are subscribed to the Google Groups  
> > "elasticsearch" group.  
> > To unsubscribe from this group and stop receiving emails from it, send an  
> > email to [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com) \<javascript:\>.  
> > To view this discussion on the web visit  
> > [https://groups.google.com/d/msgid/elasticsearch/cbde68ef-0305-4fbd-afcd-5e1132b73688%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/cbde68ef-0305-4fbd-afcd-5e1132b73688%40googlegroups.com)[https://groups.google.com/d/msgid/elasticsearch/cbde68ef-0305-4fbd-afcd-5e1132b73688%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/cbde68ef-0305-4fbd-afcd-5e1132b73688%40googlegroups.com?utm_medium=email&utm_source=footer)  
> > .  
> > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/9a89928b-0a99-4a80-ab43-4604a13eaa1c%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/9a89928b-0a99-4a80-ab43-4604a13eaa1c%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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:** [July 6, 2017, 1:33am UTC](https://discuss.elastic.co/t/index-server-on-remote-machine/17182/4 "2017-07-06T01:33:41Z")

</div>


