C# remoting and load balancing

  • Thread starter Thread starter Guest
  • Start date Start date
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
 
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.
 
Back
Top