Re: Can extra processing threads help in this case?



Peter Olcott wrote:

But you can use:

TCP/IP <<--- What we use for ICP
UPD <<--- What we use for ICP
HTTP <<--- What we use for ICP
RPC <<--- What we use for ICP
DCOM

But as I understand it these will not automatically grow a queue to any arbitrary length.


Your queue is as good and fast as you request it, pipe or otherwise.


And a 2003 Dr. Dobbs article on how to handle named pipes correctly, even though it seems so "simple":

http://www.drdobbs.com/architecture-and-design/184416624;jsessionid=BVL3ABP0UVUSJQE1GHPSKH4ATMY32JVN


OK so the Unix/Linux people say that it is well know that MS named pipes are borked, yet, they have never had any problem with Unix/Linux name pipes.


You didn't go a google. did you? Figures you would ignore it.

But even then, I can understand why the success. Unix is not traditionally known to work with threads, and the piping has permanent storage - your DISK - making it easy to allow for easy recovery. Simple.

--
HLS
.



Relevant Pages

  • Re: Can extra processing threads help in this case?
    ... a queue to any arbitrary length. ... MS named pipes are borked, yet, they have never had any ... to allow for easy recovery. ...
    (microsoft.public.vc.mfc)
  • Re: Can extra processing threads help in this case?
    ... But as I understand it these will not automatically grow a queue to any arbitrary length. ... Now you have 4 Named Pipes that you have to manage. ... Is the 1 OCR process going to handle all four pipes? ... The data is not supposed to ever actually hit the disk. ...
    (microsoft.public.vc.mfc)
  • Re: Can extra processing threads help in this case?
    ... a queue to any arbitrary length. ... that grow (if this is actually true of linux named pipes). ... flawed design of yours. ... if queue sizes no longer infinite, ...
    (microsoft.public.vc.mfc)
  • Re: dummynet dropping too many packets
    ... and so the queue is driven differently. ... you should check which pipes are dropping packets and whether ... 8664 output packets dropped due to no bufs, ... The packets intentionally dropped in dummynet because queues are full ...
    (freebsd-net)
  • Re: Thread Checking the Queue data in an infinite loop
    ... Yes I want to drain the Queue once I compelete the wait..Since the ... Remember also that the reader has to acquire the mutex. ... to my project has used Pipes which signal an event whenever there is ... Implicit in a "monitor" class is the locking of a mutex by every ...
    (microsoft.public.vc.mfc)