Hi all, I spent today on reviewing code and implementing a design approach that I worked on the past days. Good thinking seems to pay well, and so I ended up with a version that should have performance benefits over the previous versions. Actually, I hope that the performance is much better, even though the version currently dequeues in batches of 8 (soon to be configurable). If someone would like to give it a try, please use the "multi-dequeue" git branch. I will be actively working on it.
The current version is a proof of concept. It does NOT work fully correct. Most importantly, queue termination is not properly handled, nor are error conditions. If you use this version, you will probably lose message on HUP, shutdown and when something goes wrong. I have also not yet done any performance testing myself. My planned next steps are a) extend the test bench to ensure that DA-mode works properly b) add config statements c) work on either the termination conditions or a new output plugin interface Especially c) will require lots of additional doc work, so there will hopefully some additional reading for you. I would also like to mention that feedback in the current phase is very valuable. Most importantly, once I have finalized the new algorithms, it will probably very hard to convince me to change anything for the next couple of month. So if you are interested in performance and the output plugin interface, it would be useful to keep an eye on the list and provide comments where appropriate ;) Thanks, Rainer _______________________________________________ rsyslog mailing list http://lists.adiscon.net/mailman/listinfo/rsyslog http://www.rsyslog.com

