c# - Amazon SimpleDB high latency on first request -


i'm using simpledb in desktop application (c#, .net 2.0) , have problem high latency.
first time make request db (query, insert values - doesn't matter) response after 10-20 seconds. happens first time, rest of responses pretty fast (haven't measured, under 300ms sure).
doesn't happen when create db client, when first request. normal authentication slow? (i presume on first request authentication done).

thanks in advance.

edit

when run first time

selectresponse response = dbservice_.select(request); 

in output panel get:

'photoexchange.vshost.exe' (managed (v2.0.50727)): loaded'c:\windows\assembly\gac_msil\system.data.sqlxml\2.0.0.0__b77a5c561934e089\system.data.sqlxml.dll' 'photoexchange.vshost.exe' (managed (v2.0.50727)): loaded 'system.xml.xsl.compiledquery.1' 'photoexchange.vshost.exe' (managed (v2.0.50727)): loaded 'system.xml.xsl.compiledquery'  first chance exception of type 'system.io.filenotfoundexception' occurred in mscorlib.dll 'photoexchange.vshost.exe' (managed (v2.0.50727)): loaded 'rg1d4wjc'   

is normal? filenotfoundexception looks strange.

sounds timing out, silently failing on successful second channel cached subsequent calls. first suspicion? dns, probably. i'd check workstation's tcp/ip settings see if primary dns server up, or replace them google's public dns @ 8.8.8.8 , 8.8.4.4


Comments

Popular posts from this blog

WPF: binding viewmodel property of type DateTime to Calendar inside ItemsControl -

java - Getting corefrences with Standard corenlp package -

jQuery clickable div with working mailto link inside -