-
Notifications
You must be signed in to change notification settings - Fork 138
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
Distributed-index changes feed requests has high latency as compared with old sync gateway #1245
Comments
Based on discussion with Ashvinder, this was based on a test where Sync Gateway and the index bucket weren't colocated (SG in MV, index bucket in Santa Clara). That appears to be the reason the test is taking 150+ seconds in both cases. I expect that would be a contributing factor to the slower changes response, but it still shouldn't be taking 10+ seconds to get the results. |
Want to document the requirement that index service nodes run very closely (in hops) to the CBS nodes that they are indexing. |
Lowering priority on this - not critical for 1.2. @ashvindersingh - let me know what you find when you retest. |
Here are the results after retest. Significant improvement as compared to previous run! though channel cache mode is faster than DI mode. Tested with sg build: 1.2.0-53. With Distributed index enabled:1000 docs w 10 revisions: The changes feed returns with results. 10 docs w 1000 revisions: Got results with changes feed: With channel cache mode:1000 docs w 10 revisions: Got results from changes feed 10 docs w 1000 revisions: Got results from changes feed |
Closing, as the difference isn't significant enough to warrant particular attention. |
The changes feed requests with Distributed index feature takes longer time to finish as compared with older SG releases. We should have comparable response times or better than previous releases.
With Distributed index enabled:
1000 docs w 10 revisions:
10 docs w 1000 revisions:
With Old Sync Gateway:
1000 docs w 10 revisions:
10 docs w 1000 revisions:
Observations:
With distributed index it takes lot longer to get changes feed.
Surprised to see that changing docs and rev count did not make much difference in old SG.
The text was updated successfully, but these errors were encountered: