Remoting performance degradation when returning custom datasets
- From: Alex <Alex@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 18 Dec 2008 20:15:01 -0800
Hello,
During development of client-server system using .NET Remoting (.NET 2.0)
for communications I found extremely weird behavior if my remoting objects
return custom datasets. For some reason it takes from 0.5 to 4 seconds for
remoting infrastructure to process an empty dataset instance on the client
side, if I'm using TCP channel with binary formatting (the fastest option!).
The behavior exhibits in the following way: after clean start client may make
only so many calls to the server getting custom dataset within tens of
milliseconds; once resting for 4-5 minutes (no calls to remote side during
this time), each and every consequent call to remote side returning custom
dataset takes 0.5 to 4 seconds. If remote call returns anything else except
custom dataset, everything performs in tens of milliseconds again. If I
change my remoting configuration to HTTP channel with binary formatting,
everything works flawless. I use this configuration as a workaround, but this
is not the solution, but workaround.
Custom dataset is made by creating a new XSD Dataset and dragging a table
from Server Explorer (SQL server), then removing table adapters part from the
dataset.
I created a bare-bone test project (
http://files.bytegems.net/RemoteDatasetTest.zip ) which exhibits the behavior
I'm talking about. I included ReadMe file with steps on how to reproduce the
problem.
Thanks!
.
- Prev by Date: SSPI Kerberos for delegation
- Next by Date: Remote Desktop Connects - No Screen Icons
- Previous by thread: SSPI Kerberos for delegation
- Next by thread: Remote Desktop Connects - No Screen Icons
- Index(es):
Relevant Pages
|
Loading