For a new website i'm setting up i deploy nginx/gunicorn/django/haystack on a webserver instance; currently a t2.small. ES is running on a seperate instance which is currently a t2.micro. (I think this should for now not be a problem since i'm only having 17K documents; the head plugin tells me the index is currently 663Mi). Now a query on it's own is fast enough (ms's) but getting the results to haystack takes seconds.
My question is as follows:
- How can i best measure/proof where the performance issue really is?
- Can i return only a subset of documents; e.g. there are translated fields, obviously i only need one.
- What is the best practice of deployment of es on ec2? Seperate node or deploy on webserver instance?
Thanks for any tips,