-
Notifications
You must be signed in to change notification settings - Fork 15
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
Apache HTTP Client 5 implementation #243
Conversation
…rameter in the config is false
* cached queries will be sent with fixed-sizes request * requests of cached queries will be cached as well (addresses #223)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thx for the PR. This looks overall sound but could use some more documentation here and there.
Find my specific comments and remarks below.
Please also review the usage of the apache http client5 with respect to refactoring, simplifying the code, extracting classes to separate files and documentation. Currently, the usage is a but hard to follow.
src/main/java/org/aksw/iguana/cc/utils/http/StreamEntityProducer.java
Outdated
Show resolved
Hide resolved
src/main/java/org/aksw/iguana/cc/utils/http/StreamEntityProducer.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good. thx. just this one change and we should be good to go code-wise.
This PR implements the Apache HTTP Client 5 for the query executions. This should improve the performance of Iguana.
Also changes following things:
parseResults
is turned off, received response bodies from HTTP requests won't be hashed anymore, to improve performance