Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Distributed Processing Design Question
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows XP
Miscellaneous
Thread ID:
01137136
Message ID:
01137322
Views:
15
Craig, I created a COM+ MTDLL and put it on one of our stronger servers and got it running through DCOM. Pretty cool and not as difficult as I thought it would be.

Here's the next challenge though.

I've got a simple method of the COM server that counts from 1 to half a billion. It runs on my machine in about 33 seconds and takes the CPU utilization to 99%. When I run it from the COM+ component on the server, the server only runs at 25% utilization and runs it in 25 seconds.

My machine is a laptop, 1.4Ghz with 1.25GB RAM. The Server is a dual 3.6 Xeon with 4GB RAM. It seems to me that the server should stomp my laptop, no?. I realize that only one processor would be working on this thread, but still doesn't that disparity seem odd?

I wouldn't want it to max out the server's processor, but I'd think somewhere in the neigborhood of 70% for short bursts should be alright. Do you know if there's a way to set a higher priority for COM+ components?

One other question too, you mentioned Asynchronous. Right now when I run a method of the COM+ server my client computer waits until the server process completes. What do I need to do to make this Asynchronous?

Thanks,

-m@
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform