in reply to Re^5: IPC via named pipes, losing some messages
in thread IPC via named pipes, losing some messages

Ah, I see. Thanks for you time ikegami. The new code works like a charm. Not only does it improve on mine in readability, it appears to be a whole lot more efficient. The load on the machine has gone down! John
  • Comment on Re^6: IPC via named pipes, losing some messages

Replies are listed 'Best First'.
Re^7: IPC via named pipes, losing some messages
by ikegami (Patriarch) on May 14, 2008 at 14:50 UTC
    Interesting. Your version only processed data when there's a lull in reading. If the data comes in fast enough, it could be the selects become expensive no-ops and $data .= $buf; builds up to something huge. In my version, I process data as soon as it comes in.