Maximum number of instances of APL+Win servers

General discussions related to APLNext's APLNextSupervisor product.

Maximum number of instances of APL+Win servers

Postby justinpursaga » August 8th, 2012, 2:48 pm

Below is an exceprt from the APLNextSupervisor Documentation on Version 0.9.35:

The „maxpool‟ element indicates the maximum number of instances of APL+Win that will be instantiated as ActiveX servers while the „Controlling Application‟ uses the APLNextSupervisor „BeginCall‟ method to request asynchronous execution of „kernel‟ functions. The actual number of instances of APL+Win as ActiveX servers that will exist while an instance of the APLNextSupervisor exists will vary with the number of outstanding requests for execution of
„kernel‟ functions. If the number of requests exceeds the number of available instances of APL+Win as an ActiveX server, the requests will be queued for FIFO processing.

What is the maximum number of available instances of APL+Win as an ActiveX server?

We have a virtual machine that has 32 dedicated processors available. We are trying to process 32 concurrent threads (APL+WIN as an ActiveX server).
This is in accordance with other questions that Karen Kazun has had for the support staff.

Thanks,

Justin
justinpursaga
 

Re: Maximum number of available instances of APL+Win as an A

Postby justinpursaga » August 8th, 2012, 3:23 pm

We currently seem to be reaching a 24 thread limit.
Does this make sense or are we experiencing other issues?
Thanks,
Justin
justinpursaga
 

Re: Maximum number of available instances of APL+Win as an A

Postby joe_blaze » August 10th, 2012, 4:34 pm

Hi Justin:

Q: What is the maximum number of available instances of APL+Win as an ActiveX server?
A: We have observed a limit of 260 instances of APL+Win ActiveX engine on several test machines. There is no inherent limit in APL+Win, however there appears to be a Microsoft WIndows limit on the number of COM instances. One can write a simple APL+Win function to investigate such a limit in your own environment.

Statement: We currently seem to be reaching a 24 thread limit.
Comment: The thread pool is controlled by Microsoft Windows

The attached document provide more detail about the issues you inquire about.

Also - it would be interesting to hear more about your application using APL+Win and the APLNext Supervisor.

Joe Blaze
Attachments
APLNext Supervisor Application System Considerations_20120809.pdf
(394.04 KiB) Downloaded 531 times
joe_blaze
 
Posts: 384
Joined: February 11th, 2007, 3:09 am
Location: Box 361 Brielle, NJ 08730-0361


Return to APLNextSupervisor

Who is online

Users browsing this forum: No registered users and 12 guests

cron