Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
So what's left to explain?.....Well nothing much, but I gave a commitment to one of my readers
that I shall write something about concurrent managers today. And now when I begin to write, I
realize it is worth writing something in plain English on this topic.
Question: When I submit a concurrent program( or call it concurrent request), how does
concurrent manager pick this up?
Answer: Concurrent manager will be running in the background waiting for a concurrent
program to be submitted. As soon as a concurrent program is submitted, it then gets put in an
execution queue by concurrent manager.
Question: Why does the Concurrent manager put a concurrent program into a queue? Why
doesn't the manager simply let the program run?
Answer: Because at any given point in time a concurrent manager can run no more than say 10
programs concurrently. This figure of 10 is configurable of course. First the manager puts a
submitted program into a queue, next the manager checks if there is a slot available (i.e. Less
than 10 programs are currently running). If a slot is found available, the concurrent manager
then runs the program, or else it keeps the concurrent program in a queue with status Pending.
Question: If we have two concurrent programs, that must never run in parallel(oops I mean
concurrently)....can concurrent manager manage such scenarios?
Answer: Of course it can. When you define a concurrent program, you can specify if there are
any incompatible programs. If incompatible concurrent programs exist, then concurrent manager
will wait for the incompatible program to complete.
Optimization options:-
The concurrent program definition provides an option to specify optimization mode, like choose,
fist rows,all rows, rule based etc. The concurrent manager will alter the optimization mode of the
session before the submission of the program. Obviously this option has no relevance to Host
type concurrent program.
More? ...well I am bored with concurrent managers now, I guess you too are by now....