C# remoting and load balancing

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • msuk

    C# remoting and load balancing

    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
  • Nicholas Paldino [.NET/C# MVP]

    #2
    Re: C# remoting and load balancing

    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.

    --
    - Nicholas Paldino [.NET/C# MVP]
    - mvp@spam.guard. caspershouse.co m

    "msuk" <msuk@discussio ns.microsoft.co m> wrote in message
    news:538A0B95-6846-4C7F-BF5D-DA8C26A85502@mi crosoft.com...[color=blue]
    > 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[/color]


    Comment

    Working...