Recently, we are looking at expanding this service by scaling out servers to
serve more clients. I understand that this can be done if I load balance the
servers.
I have read articles that .NET remoting uses one TCP session per application
and waited for 10secs idle time before rendering it to TIME_WAIT state and
eventually destroying the session after four minutes.
Can anyone advice how I can achieve full and true loadbalancing in .NET
remoting as our clients can be sending requests very frequent (<10 secs
intervals).
INFO: Configurations That Microsoft Supports for Microsoft .NET Remoting
with Network Load Balancing
http://support.microsoft.com/default.aspx?scid=kb;en-us;830217
and
Improving Remoting Performance
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnpag/html/scalenetchapt11.asp
These articles state two important things:
1) You cannot load balance with the TCPChannel because it has machine
affinity. HTTPChannel will work.
2) You can only load balance SingleCall SAOs. Not sure if this is strictly
if you NLB services only or if still applies if you have a hardware load
balance solution.
Thanks,
Sam
--
_______________________________
Sam Santiago
ssan...@n0spam-SoftiTechture.com
http://www.SoftiTechture.com
_______________________________
"Red Devil" <RedD...@discussions.microsoft.com> wrote in message
news:E5290EC4-6D00-4D86...@microsoft.com...
Given Http will degrade performance, I think I would give a try to explore
Aysnc TCP methods. Since the parameters I have are of basic type, ie, int,
string etc, I think passing those in network stream should not cause problem.
But I would like your view on using Aysnc TCP as a replacement of .NET
remoting. Can you draw some pro and cons between them? Thanks again.
You might want to check out this article on performance with remoting,
binary serialization, and http:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnbda/html/bdadotnetarch14.asp
Thanks,
Sam
--
_______________________________
Sam Santiago
ssan...@n0spam-SoftiTechture.com
http://www.SoftiTechture.com
_______________________________
"Vinc" <vinm...@singnet.com.sg> wrote in message
news:B26FAA13-3B1C-431C...@microsoft.com...
I will try Async Socket anyway.
If NLB is not what you want, I think, you should change your
communication-framework to enterprise services.
There you can use CLB (Component Load Balancing)
See also:
http://www.microsoft.com/technet/prodtechnol/acs/deploy/clbovrvw.mspx
CLB is something I have not consider yet. I will look into the possiblity of
that. Thanks.
Component Load Balancing mechanism is designed around COM+ 1.x. You
won't be able to use it unless you are using .net enterprise services
(aka servicedcomponent).
Chee PIn