C# remoting and load balancing

G

Guest

All,

I have a load balanced application server enviroment and wish to write a
component that will sit on each node and service remote requests from many
clients.

Can anyone give me some advice in what type of remoting I should use i.e.
client activated or sever activated for my load balanced enviroment?

Thanks
msuk
 
N

Nicholas Paldino [.NET/C# MVP]

msuk,

If you are using load balancing, then the best choice would be to use
server activated remoted objects, using single call objects. Basically,
this means that for every call on an object, you will create a new object on
the server side, which will then be disposed of.

The reason you would do this is because you can not guarantee that the
same server will service the same client. Of course, this requires a change
in thinking, in that you can not expect your objects to store state. This
isn't always the easiest thing to do, but it's not horrible.

Hope this helps.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top