performance - WCF connections close very slowly with SSL -


we have wcf services operate on multiple protocols different customers. work fine, when use ssl connections take long time close. opening connection no problem, closing slow.

the strangest behavior close time proportional amount of data transmitted on connection. if few bytes sent server client connection close instantly, search returns several hundred rows takes long close connection original search. close time seems directly proportional amount of data transmitted. seems results retransmitted server verification before connection close.

an error never thrown, connection close time doubles required time execute call.

here basic settings: custom binding binary encoding reliable session, ordered=true binding element httpstransportbindingelement using remotecertificatevalidationcallback

all of proxies constructed programmatically channelfactory.

we found problem reliablesession. reliablesession tries verify sent in next connection. sounds idea, worthless because if found didn't verify late it.

bottom line: reliablesession isn't reliable.


Comments

Popular posts from this blog

ruby - When to use an ORM (Sequel, Datamapper, AR, etc.) vs. pure SQL for querying -

php - PHPDoc: @return void necessary? -

c++ - Convert big endian to little endian when reading from a binary file -