Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VB 6 & MTS Performance Issues

Status
Not open for further replies.

colinr

Programmer
Jan 30, 2002
4
US
Hi..
We are having a serious peformance problems calling an MTS object from a base Client i.e. (it takes about 10-20 seconds to Created a reference to the MTS Dll.)
Configuration is.. MTS & SQL Server on same machine and part of a NT 4.0 cluster.
Client's are base clients located on a Terminal Server box connecting to the MTS Components via DCOM.
We have narrowed the problem down to the CreateObject call from the client. Declaring the object AS NEW is just as slow.
e.g. Dim obj as component.
Set obj = CreatObject("Dll.Classname").. This line of code hangs for at least 10 seconds.. However, once the MTS Object is created, calling this line of code again is Istantaneous..
We would greatly appreciate any help on the matter...!
 
Hi,
Even i am facing exactly same problem with the same configureation. In our case, CreateObject is taking more time than New. Pl. Do let me know if u find any solution .
 
Result !!!

We have resolved this problem by looking at a number of areas..
Firstly we changed the way in which our MTS objects were instantiating other MTS objects. We now use 'CreateInstance" and NOT "Dim As New" or "CreateObject"
Secondly we looked at the binding order of the Network cards on both of the servers in the cluster. This yielded the most dramatic improvement in performance.
Have a look at <
We now have a usable system ! x-)

Good luck to all
Colin
 
We had the same performance problem, taking 30 seconds or more. We solved the problem by reordering the network cards. The middle tier, where MTS is installed, has 2 network cards. We tried everyting we could think of until we found the following solution. The solution was found at Following this simple solution worked wonders.

Hope this works for you.
sueo
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top