[Freeipa-devel] [PATCH] initial commit of log watcher (lwatch)
John Dennis
jdennis at redhat.com
Sat Jul 25 15:13:54 UTC 2009
On 07/23/2009 09:01 PM, Dmitri Pal wrote:
> We are considering combining the log monitor with audit collection.
> These are two separate functions it would be logical
> to have them in separate threads.
The architecture is and will be event driven with a main event loop. In
most cases event loops are superior to threads, both from a performance
and complexity perspective. The only reason I could envision needing to
use threads is if some operation was subject to blocking. But then again
event loops are particularly adept at handling non-blocking IO so the
only reason I could see a need for threads is if there were some reason
we couldn't use asynchronous non-blocking methods.
Asynchronous non-blocking methods are to the best of my knowledge the
preferred approach in the project.
--
John Dennis <jdennis at redhat.com>
Looking to carve out IT costs?
www.redhat.com/carveoutcosts/
More information about the Freeipa-devel
mailing list