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

Pass DB Connection parameters to a Kettle a.k.a PDI table Input step dynamically from Excel -

multithreading - PhantomJS-Node in a for Loop -

c++ - MATLAB .m file to .mex file using Matlab Compiler -