Skip to content

Why do you use url-connection-client instead of apache-client as SdkHttpClient? #1093

Answered by msailes
schabe77 asked this question in Ideas
Discussion options

You must be logged in to vote

Hi @schabe77,

Thanks for the feedback, let me try and explain our thinking.

As you've seen there are multiple HTTP clients available to use with the SDK. Lambda Powertools for Java tries to help by picking the best option when multiple exist, while still allowing customisation.

The url-connection-client meets our tenet to keep our technology choices lean. It is the lowest memory usage client and has the fastest start up time, often a very important characteristic when using Lambda.

From your feedback it looks like we've still got some work to do with meeting another of our tenets (Eases the adoption of best practices). If you could raise an issue with the problem you had that would be rea…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@schabe77
Comment options

Answer selected by schabe77
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
2 participants