tags:

views:

20

answers:

0

(AWSSDK 1.0.14.1)

Hello!

I (or better, "someone" ;-)) noticed that there is a small delay on the first call to any initialization prior to calling S3 methods. For example:

GetObjectRequest request = new GetObjectRequest().WithThisAndThat()...

On the first call this takes some time (around half a second, measured with simple DateTime now - DateTime old), but on any next call in the same session it takes almost nothing (actually, measured with DateTime it takes exactly nothing). There is no difference which method you run first (first call to

ListObjectsRequest request = new ListObjectsRequest()...

makes any further call to GetObjectRequest take no time too).

Is this normal? I guess it has something to do with loading .NET Runtime. Or something.

(The problem is that if you have some S3 checking at the start of your application, it virtually stops for few seconds, and that is, like, not good.)