Near Real Time Analytics With Elasticsearch.js

Good afternoon,

I am hoping to find a way to leverage elasticsearch.js (running in the browser) to pull records continuously to support a real time Analytics application I am developing. I can pull data but I was hitting the timeout issue then I ran into insufficient resource issues. I have the client.search running in a loop such that it pulls down the last 3 seconds every 3 seconds. Is there a preferred API for near real time streaming and if not is there a way to prevent time out and clear the returned results after each run?

Thanks,
Andrew Moreau

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.