The connection with ES is Ok locally. Then we put the ES on a single server of Aliyun. The search speed becomes very slow. Everything else is the same except the difference between local and remote.
The ES version is 5.6.1. We use transport client java API in our project. The bandwith of the server is 1mb/s.
Unfortunately, I think there isn't much you can do here. The only thing I see that might help if you're limited by your bandwidth and not latency would be to turn on tcp compressing. See the docs [here] (https://www.elastic.co/guide/en/elasticsearch/reference/5.6/modules-transport.html), transport.tcp.compress is the setting you could try to set to true.
That should reduce the bandwidth quite a bit assuming the data transferred is compressible.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.