Skip to content

aws_config load_from_env only once or before each DynamoDB request? #677

Answered by jdisanti
Oliboy50 asked this question in Q&A
Discussion options

You must be logged in to vote

aws_config::load_from_env() should be called once at the start of your application. The default credential chain automatically handles credentials caching and refresh. The SDK should definitely be efficient enough to handle the work load you're proposing, although you may encounter throttling from the services being called.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@Oliboy50
Comment options

@jdisanti
Comment options

Answer selected by Oliboy50
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants