On 10/26/21 7:27 AM, Patrik Schindler wrote:
Do I get this correct? You had a socket listener running (as PJ?),
and dynamically spawn workers?

I did something like that for my TCP servers.

Although I had a user configurable number of workers pre-spawned.

I didn't use PJ jobs ... I just submitted regular batch jobs to QUSRNOMAX.

I don't really understand what the queue is meant to do. A deposit
for communication between the socket listener and the peer

The data queue is used to hand the socket descriptor from the monitor
job to the worker job.

Each time the monitor job hands off a descriptor to a worker job, a new
worker job was spawned to take the place of the job being used.

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 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.