|
András, Consider coding this as a normal part of you DtaQ reader process. If you see entries growing larger than your desired threshold, start another instance of the reader program to help process the backlog. When workload goes down again, the additional job/jobs can be ended. I'd use a data area or user space to keep track of the reader jobs that are activated. Eric DeLong Sally Beauty Company MIS-Sr. Programmer/Analyst 940-898-7863 or ext. 1863 -----Original Message----- From: András Cser [mailto:cserandras@hotmail.com] Sent: Monday, June 18, 2001 1:49 AM To: MIDRANGE-L@midrange.com Subject: Re: Number of Data Queue entries Ken, I never said I am storing data in data queue. We have a client-server application, one writes the data queue and the other reads it. The problem was, that the 'writer' program - accidentally - generated too many entries, and the 'reader' was not able to process them in time. As a result, the data queue was overfilled. I am thinking of a program which periodically - 15 sec, or so - checks the number of entries and can warn the operator in case a ceratin threshold has benn reached. All, thanks for your comments. :) Andras >From: Ken.Slaugh@cm-inc.com >Reply-To: MIDRANGE-L@midrange.com >To: MIDRANGE-L@midrange.com >Subject: Re: Number of Data Queue entries >Date: Fri, 15 Jun 2001 08:57:52 -0700 > > >STOP STORING DATA IN A DATAQ!!! > _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +--- +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
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.