One step further is to have a second reader program fire off.  Data queues
are great for processing FIFO on a many to many relationship.  Our reader
programs look at the time stamp of when an entry was posted to the queue.
If greater than xx seconds, submit another reader.  Of course we have on one
box we have 46 devices plus 3 web server that send to the queues and at
least 2 readers at all times.  Every time a new reader is started, it sends
a message to the operator stating so with the on queue time that signaled
the new reader to start.



-----Original Message-----
From: András Cser [mailto:cserandras@hotmail.com]
Sent: Sunday, June 17, 2001 11:49 PM
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.
+---
| 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 thread ...

Follow-Ups:

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

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.