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 <jden...@redhat.com>

Looking to carve out IT costs?
www.redhat.com/carveoutcosts/

_______________________________________________
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel

Reply via email to