python - Single boto connection object for different aws services -


Is it possible to create a connection object to use for different AAS services? Every time a connection is made to a new API call, I am confident that some time will be saved if the connection made once can be reused.

Although it may be possible to use a single connection for multiple services, it is not how Boto is written and as mentioned above, I suspect that this will improve your performance. I suggest that you make a connection per service and keep using that connection again. Boto cache connection and it will also operate any resume which may be necessary if you do not use the connection for some time or face some error.

Comments

Popular posts from this blog

cmake set_source_files_properties not working properly -

python - Writing Greek in matplotlib labels, titles -

Pygame memory leak with transform.flip -