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

Resolver caches suffers from races and http server overload during the cold start #227

Closed
voropaevp opened this issue Feb 17, 2023 · 0 comments

Comments

@voropaevp
Copy link
Contributor

voropaevp commented Feb 17, 2023

In the rdb transformer PR we run into the following exceptions

java.net.http.HttpConnectTimeoutException: HTTP connect timed out (Utils.scala:185)

Jdk's http client debug shows large number of duplicate requests overloading the client.

  • Iglu should have a lock that prevents sending requests for the same schema if another one is currently running.
  • Output also shows evidence of lru-map races erasing values in cache, as successful schemas are being requested multiple times.
@voropaevp voropaevp changed the title Resolver caches suffer for races and http server overload during the cold start Resolver caches suffers from races and http server overload during the cold start Feb 17, 2023
istreeter added a commit that referenced this issue Feb 22, 2023
istreeter added a commit that referenced this issue Feb 22, 2023
istreeter added a commit that referenced this issue Feb 22, 2023
istreeter added a commit that referenced this issue Feb 22, 2023
istreeter added a commit that referenced this issue May 25, 2023
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

1 participant