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

Question - am I sending too many concurrent requests? #650

Open
jamietanna opened this issue Feb 9, 2024 · 2 comments
Open

Question - am I sending too many concurrent requests? #650

jamietanna opened this issue Feb 9, 2024 · 2 comments

Comments

@jamietanna
Copy link
Contributor

jamietanna commented Feb 9, 2024

I've noticed that every so often - particularly when I was testing with a much higher concurrent request count (~250 goroutines all sending off requests) - I would receive HTTP 500s from Ecosystems.

What's the recommendation for how many concurrent requests I should be trying to keep to?

Upvote & Fund

  • We're using Polar.sh so you can upvote and help fund this issue.
  • We receive the funding once the issue is completed & confirmed by you.
  • Thank you in advance for helping prioritize & fund our backlog.
Fund with Polar
@andrew
Copy link
Member

andrew commented Feb 9, 2024

Yeah you are likely DOSing the service! We don’t have a lot of funding for infrastructure so there’s limits to what we can provide right now.

There may be better ways to query the API based on the shape of the data you are trying to extract.

@jamietanna
Copy link
Contributor Author

Sorry for the delay - thank you, yeah I'm gonna drop down the rate I hit Ecosystems, as well as make it so there's a little more caching in place locally to try and avoid a lot of unnecessary requests 🤞

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

No branches or pull requests

2 participants