We have 3 nodes running as r3.2xlarge (61GB RAM), with EBS storage. We're regularly getting Failed node errors due to out of memory concerns. We are doing aggregations on documents that are significant size (HTML documents effectively), in an analytics, and there are sometimes between 300k and 500k documents.
Anyway, things are REALLY slow and our front end often times out on Heroku (30 second limit).
We need some guidance here. How can we reconfigure this to get better performance?