# Testing distributed characteristic of Elasticsearch

**URL:** <https://discuss.elastic.co/t/testing-distributed-characteristic-of-elasticsearch/21251>\
**Category:** Elasticsearch\
**Created:** [December 14, 2014, 5:31pm UTC](https://discuss.elastic.co/t/testing-distributed-characteristic-of-elasticsearch/21251 "2014-12-14T17:31:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Luke\_Laird](https://avatars.discourse-cdn.com/v4/letter/l/b2d939/32.png) [@Luke\_Laird](https://discuss.elastic.co/u/Luke_Laird)\
**Post date:** [December 14, 2014, 5:31pm UTC](https://discuss.elastic.co/t/testing-distributed-characteristic-of-elasticsearch/21251/1 "2014-12-14T17:31:38Z")

</div>

Hi guys,  
Don't get me wrong. This is absolutely not another post about benchmark of  
Elasticsearch.  
First, I am pretty new to ES. Please be patient if I ask dumb questions. I  
am doing a test for academic use only that proving ES's distributed  
characteristic is an improvement over Lucene, which is the base of ES. I  
want to test that with more than 1 node, the time we get from a search  
query is shorter or 'faster'. It is clear that with 2 nodes ( 2 hard disks  
) we could get double bandwidth in theory ( each normal disk peak at ~  
50MB/s \< 128MB = 1Gb of Ethernet so Ethernet is not a bottle neck).

I have 2 physical nodes ( normal laptop ) connected directly via 1Gb  
Ethernet port, no router in between. My data is 20GB ( + 20 GB replica) of  
3 million records like this : [http://pastebin.com/FDhfy6C3](http://pastebin.com/FDhfy6C3)  
( the source of data I get is [http://www.mockaroo.com/67e33320](http://www.mockaroo.com/67e33320) )

My strategy is to write as many as possible search queries and at the same  
time clear the cache. Something like

curl -XPOST "[http://192.168.57.103:9200/myjson/\_cache/clear](http://192.168.57.103:9200/myjson/_cache/clear)"

curl -XPOST "[http://192.168.57.103:9200/myjson/\_flush?force=true](http://192.168.57.103:9200/myjson/_flush?force=true)"

curl -XGET "[http://192.168.57.103:9200/myjson/myjson/\_search?pretty](http://192.168.57.103:9200/myjson/myjson/_search?pretty)" -d   
'{  
"query" : {  
"bool" : {  
"should" : [  
{ "match" : { "first\_name" : "Clarence"}},  
{ "match" : { "last\_name" : "Fernandez"}},  
{ "match" : { "country": "uk" }},  
{ "match" : { "amount": "$9001.19" }},  
{ "match" : { "password\_hash": "Th94hnXtaYtZ" }}  
]  
}  
}  
}'

I am writing a script to generate as many as possible those match fields but I still want to ask if what I am doing is right?  
Any comment/opinion is really appreciated.  
Thanks.

--  
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/e0eb8437-a629-4e10-85da-9b9da0076c45%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/e0eb8437-a629-4e10-85da-9b9da0076c45%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, 12:43am UTC](https://discuss.elastic.co/t/testing-distributed-characteristic-of-elasticsearch/21251/2 "2017-07-06T00:43:49Z")

</div>

Closed on July 6, 2017, 12:43am UTC


