pipe or unix-stream to feed another program ?
Hello, I am doing a new syslog-ng log server setup and I want to find the more robust way (minize lost messages) to feed a perl script with log messages "in real-time". In case the perl script die during the process of the messages there while be a process to restart it, But what mechanism between the "pipe" or the "unix-stream" while give me more control on the number of messages that can be buffer during the restart of my perl script ? Thanks
On Wed, 2007-02-14 at 17:36 -0500, Yves D'Astous wrote:
Hello,
I am doing a new syslog-ng log server setup and I want to find the more robust way (minize lost messages) to feed a perl script with log messages "in real-time".
In case the perl script die during the process of the messages there while be a process to restart it,
But what mechanism between the "pipe" or the "unix-stream" while give me more control on the number of messages that can be buffer during the restart of my perl script ?
Both should provide about the same resistance, log_fifo_size() can be set for both. I'd appreciate some testing in this area though. -- Bazsi
participants (2)
-
Balazs Scheidler
-
Yves D'Astous