Skip to content
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

Run expensive crawlers queries on secondary readonly DB #3280

Closed
skofman1 opened this issue Oct 17, 2016 · 1 comment
Closed

Run expensive crawlers queries on secondary readonly DB #3280

skofman1 opened this issue Oct 17, 2016 · 1 comment

Comments

@skofman1
Copy link
Contributor

Crawlers run expensive queries on Gallery OData V2 endpoint of this form:
The calls are from this form:
http://packages.nuget.org/v1/FeedService.svc/Search()?searchTerm=''&targetFramework='net45'&$filter=IsLatestVersion&$orderby=DownloadCount desc,Id&$skip=30600&$top=30
https://packages.nuget.org/api/v2/Packages?$skip=88500

We suggest to run those queries against a secondary readonly DB to reduce load on primary DB.

@skofman1
Copy link
Contributor Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants