Currently I am load test my search server, Bellow is detail:
- I have 3 server running ES, each of them have 30Gb Ram & 24 Core. I set
20Gb for ES.
- I have 3 webserver (Jetty) to receive request from client, then search
in ES using java api, and then return json value.
- I have a index which have small data, (about 50000 record, 345.7mb)
To load test, I make a request to jetty server. (eg: /RandomSearch)
In this doGet function, I just random one character value from a-z to
search and then return value to client.
My problem is, it's running too low:
Here is stats:
18.10.12 20:59:48 538
18.10.12 21:20:27 227
But when I using head plugin ( myserver:9200/_plugin/head/) to search, I
notice that the result is really fast
(eg: Searched 5 of 5 shards. 7588 hits. 0.046 seconds)
I wonder whether I am wrong at java api request or java api is slower than
http request ?
The other problem is the json result is really slow. It take about 6-10
(second) to return to client. How could I improve that ?
Thanks & Best Regards All.