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

Use async HTTP client #2

Open
dokterbob opened this issue Dec 20, 2020 · 0 comments
Open

Use async HTTP client #2

dokterbob opened this issue Dec 20, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@dokterbob
Copy link
Member

This will significantly improve performance, as we won't need one thread per connection anymore.

There's several possible routes, and several issues with some of them:

  1. Directly using Apache's async HttpClient

  2. Using vertx http client as engine through resteasy. This currently results in resteasy not recognising the vertx engine.

  3. Using Apache's async httpcient as engine through resteasy. This latter seems to break the ReadTimeout configuration options, which is essential.

  4. seems most straight-forward. 2. might depend on upgrading resteasy. 3. seems closest to a dead-end.

@dokterbob dokterbob added the enhancement New feature or request label Dec 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant