HttpWebRequest runs slowly first time within SQLCLR

前端 未结 6 745
一生所求
一生所求 2021-02-06 14:47

When making an HttpWebRequest within a CLR stored procedure (as per the code below), the first invocation after the Sql Server is (re-)started or after a given (but indeterminat

6条回答
  •  北荒
    北荒 (楼主)
    2021-02-06 15:16

    Not sure but if the delay long enough that initial DNS lookups could be the culprit? ( how long is the delay verse a normal call? )

    and/or

    Is this URI internal to the Network / or a different internal network?

    I have seen some weird networking delays from using load balance profiles inside a network that isn't setup right, the firewalls, load-balancers, and other network profiles might be "fighting" the initial connections...

    I am not a great networking guy, but you might want to see what an SA has to say about this on serverfault.com as well...

    good luck

提交回复
热议问题