Is there any way to distribute load over multiple computers using vb.net or 6, easily?
Printable View
Is there any way to distribute load over multiple computers using vb.net or 6, easily?
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.
Fantastic article. I esp. liked this statement:
Quote:
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.