-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ElasticSearch: Large data initial sync failing - Resonse Timeout #540
Comments
Hi ninranjans, that shouldn't be a problem. How big are your documents generally? |
Thanks for your response @matteodem. The documents are very basic (generated from Mockeroo - sample below). The Elasticsearch is hosted on Compose.io with enough memory and space (not running localhost for testing purposes). Using Regular POSTs being sent. Note that no response is currently showing - only rarely does one of these return status 200 and hence most Timeout later: Responses with code 0. I am not sure what these mean: I do get some successful writes and |
An update of this issue (might help someone else having this issue): My ElasticSearch cluster is on Compose.io and looks like the bottleneck is that the sync is happening much faster than the cluster can handle (even after increasing the size of the cluster). When I add a However, my follow-up question is - Does the entire index sync start from the beginning every time app restarts? Is there a way to manage this? I mean is there someway we can tell it not sync the entire thing (because the sync has already happened once after hours) and only observe changes that happen? |
that makes sense indeed. Right now there's not but that logic could be pretty easily added. As the engine itself defines things like this it's pretty encapsulated: |
I have a pretty large data (about 300k records) in a collection using ElasticSearch engine. The initial startup of the app causes the sync up of the entire data with the ES index and this is failing for me. Some records have been stored but most of the times, I get response timedout (even after increasing the timeout time to 120 seconds).
Is there any recommendation for this scenario? Is there a way to slow down the process of initial sync up?
Thanks
The text was updated successfully, but these errors were encountered: