×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

MTS : Capacity Planning

MTS : Capacity Planning

MTS : Capacity Planning

(OP)
Current setup:
We have  4 objects (DLLs) in a single MTS package that are being called by our VB application in a 3-tier environment.

Question:
What is the maximum no. of concurrent users that MTS can handle?

Server configuration:
CPU : Pentium III 550MHz x 2
Memory : 1GB
Disk : 4 x 18GB

Appreciate any advise. Thank you.  

RE: MTS : Capacity Planning

It is not quite as simple as that (things never are with MTS). There is not a limit on how many users you can have connected to MTS, but after a point you will notice that performance will start to degrade.

The point where performance drops off is also not a set point, but depends on what your objects are doing, and how many will be instantiated at once. For example if you have an object that handles a complex task it may use more resource than an object that just performs a simple task. The ammount of processor usage and memory usage that your objects use up, along with how intensively they are used is what will determine how many users you can have before performance starts to degrade.

Unfortunately the best method is trial and error !

Hope this helps (but probobally not quite the hoped for answer),

Dan.

RE: MTS : Capacity Planning

MTS will dynamically allocate 100 threads/processor(or process) so it basically is a question of what is the hardware configuration.

In u'r case it will allocate a max of 200 threads(at peak load) to various activities created.Once it goes beyond this level it will go for co-operative thread switching.

But just b'cas u'r system is powerful the performance is not correspondingly high since u will have to code as per MTS coding specs and practices.

Hope this was OK.

RE: MTS : Capacity Planning

I'm assuming that your components are compiled with VB6, and not VB.NET or VC++.  In which case you aren't going to get the performance you might expect.  

VB6 does what's known as apartment-model threading.  Unfortunately, apartment-threaded components in COM+ and MTS get degraded to single-threaded behavior.  This is because MTS can't be sure of the isolation between instances of apartment-threaded objects.  As a result callers to your objects have to wait in line to use them.

To get the most out of MTS and COM+ your components need to be free-threaded, which at the present requires you to write them in the beta .NET or in C++.  Once you have free-threaded components you can tell MTS/COM+ to create a pool of them, with 5, 10, 20, or more instances waiting for callers, and your performance then becomes limited by your hardware and database lock contention.

Chip H.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close