[rsyslog] Development of failsafe disk based queue

Rainer Gerhards rgerhards at hq.adiscon.com
Wed Oct 1 15:34:40 CEST 2008


On Wed, 2008-10-01 at 06:31 -0700, david at lang.hm wrote:
> some of this can be done without doing a sync for every write with 
> barriers, which can guarentee that a write before the barrier takes place 
> before any writes after the barrier. this lets you do things like modify 
> the queue and then (after you know the data is safe) modify the metadata 
> to indicate that the new data is there.

That sounds interesting - can you point me to some API documentation? A
good place to do that would be inside the queue after the qi file has
been persisted. That could reduce performance toll of synchronous
writes. Especially if loss of a few messages is acceptable (as David
Ecker just said).

Rainer




More information about the rsyslog mailing list