|
Michael Ryan wrote: > Does the client read the data queue with the key? Do all the clients > post a read and the one with the matching key gets the data? I would say yes ... the client sends the request to the input data queue with it's job id in the data, the server processes the request, then sends the response to the output data queue keyed by the job id, so only the requester will receive the response. > Do you break out of the read after a period of time to check for EOJ? > Actually, I would have to checks for end of job ... 1) A client request to shutdown the server (sent by an admin or controlling client application), and 2) If no requests have been received in a certain amount of time, check to see if some condition is set that requires the server to be shutdown. david
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 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.