|
Do I get this correct? You had a socket listener running (asI did something like that for my TCP servers. Although I had a user
PJ?), and dynamically spawn workers?
configurable number of workers pre-spawned.
Like the Apache httpd does.
I didn't use PJ jobs ... I just submitted regular batch jobs to
QUSRNOMAX.
I understand. But submitting these would impose a penalty in terms of
CPU spikes and time until the batch job is ready to run, and can
continue servicing requests from the socket connection. As said, I
want to make my idea run as efficient as possible on my 150. :-)
The data queue is used to hand the socket descriptor from the
monitor job to the worker job.
The socket descriptor is AFAIR just a number. Why not pass it as a
parameter? Or is "entry arrived in the *DTAQ" the signal for the
already running worker to, well, start work?
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.