是 Amazon .NET AWS SDK 的 AmazonS3
线程安全还是我应该创建 AmazonS3
的新实例多线程系统中的每个请求?
专门用于最新的 .NET AWS SDK(版本 1.3.14)。
最佳答案
我也在亚马逊 AWS 论坛上问过这个问题,一位官方 AWS 员工回复了 (Norm@AWS):
The .NET SDK is thread safe so keeping an instance of any of the clients like AmazonS3 around and reusing them is fine.
Norm
链接 ( Amazon .NET Development Forum - Is the .NET SDK's AmazonS3 thread safe? )。
关于c# - Amazon .NET AWS SDK 的 AmazonS3 线程安全吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/55255987/