aws / aws/aws-sdk-java-v2

S3 Transfer Manager with the AWS CRT-based S3 client is very slow compare to SDK 1.11.49

Aperta
#4,792 10 commenti 0 reazioni 1 assegnatario Rivendicata da @debora-ito Vedi su GitHub
feature-request p2
Lingua principale
Java
Stelle
2.6k
Fork
1k
Merge medio
2g 9h
PR unite (30g)
51

Descrizione

### Describe the bug

Download a file of 3.7 GB
Transfer manager SDK 1.11.49 -> Completes in 2 minutes 27 seconds
AWS CRT-based S3 client -> Completes in 4 minutes 46 seconds

### Expected Behavior

AWS CRT-based S3 client is faster than Transfer manager SDK 1.11.49

### Current Behavior

AWS CRT-based S3 client is faster than Transfer manager SDK 1.11.49

### Reproduction Steps

```
S3CrtAsyncClientBuilder builder = S3AsyncClient.crtBuilder().credentialsProvider(ProfileCredentialsProvider.create("XYZ")).region(Region.US_WEST_2);
try (S3TransferManager transferManager = S3TransferManager.builder().s3Client(builder.build()).build()) {
final DownloadFileRequest o = DownloadFileRequest.builder()
.getObjectRequest(req -> req.bucket(bucketName).key(objectName))
.destination(tempFile.getAbsoluteFile())
.addTransferListener(LoggingTransferListener.create())
.build();
FileDownload fileDownload = transferManager.downloadFile(o);
fileDownload.completionFuture().join();
}
```

### Possible Solution

_No response_

### Additional Information/Context

_No response_

### AWS Java SDK version used

2.22.0

### JDK version used

Java 8

### Operating System and version

Ubuntu Linux

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.