Hi,
Is ti normal to have this latency on the first GetObject ?
connect Ellapsed:275
read 0Ellapsed:2176
read 1Ellapsed:609
read 2Ellapsed:527
read 3Ellapsed:470
read 4Ellapsed:585
read 5Ellapsed:586
read 6Ellapsed:530
read 7Ellapsed:547
read 8Ellapsed:400
read 9Ellapsed:504
write Ellapsed:497
My code:
var sw = System.Diagnostics.Stopwatch.StartNew();
IAmazonS3 client = new AmazonS3Client("…", “…”, new AmazonS3Config { ServiceURL = “https://gateway.eu1.storjshare.io” });
sw.Stop();
Console.WriteLine($“connect Ellapsed:{sw.ElapsedMilliseconds}”);
for (int i = 0; i < 10; i++)
{
sw = System.Diagnostics.Stopwatch.StartNew();
GetObjectRequest request = new GetObjectRequest
{
BucketName = "demo-bucket",
Key = "20201018_145824.jpg"
};
GetObjectResponse response = await client.GetObjectAsync(request);
sw.Stop();
Console.WriteLine($"read {i}Ellapsed:{sw.ElapsedMilliseconds}");
}
Thanks for your response