Results 1 to 3 of 3

Thread: Distributing load

  1. #1

    Thread Starter
    New Member
    Join Date
    Nov 2004
    Location
    US
    Posts
    1

    Distributing load

    Is there any way to distribute load over multiple computers using vb.net or 6, easily?

  2. #2
    Member appdalesolution's Avatar
    Join Date
    Nov 2004
    Location
    London
    Posts
    37

    Re: Distributing load

    You can only really do this with 2000 Advanced server and 2000 Datacentre i believe.

    You need to install your component into a COM+ application and configure your load balancing through the Component Services MMC. This is by far the easiest way but assumes you know how to write components for use in COM+.

    here is a good article explaining how to use it CLICK HERE

    There is another way to call objects on different servers and that done through the CreateObject function. By supplying a server name as the second argument iin the function it will call the component on that server. This assumes you have identicle components on each server.

    e.g.

    Dim MyObj as Object

    Set MyObj = CreateObject("MyClass.MyObject", "SERVERNAME")

    This of course is not true load balancing as you have to work out what server to call yourself.
    Lee Dale
    http://www.appdalesolutions.co.uk
    Web Design, Database/Software Developement, Hardware Upgrades, Network design/maintenance.

  3. #3
    PowerPoster Dave Sell's Avatar
    Join Date
    Mar 2004
    Location
    /dev/null
    Posts
    2,961

    Re: Distributing load

    Fantastic article. I esp. liked this statement:

    If the infrastructure could handle the ability to introduce load balancing into the activation process of the COM object, the programming model wouldn't need to change at all.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width