On Mon, Aug 06, 2007 at 10:22:22PM +0200, SZALAY Attila wrote:
> At first if you poll for an fd in more than one thread you can balance
> the load. (When a thread handle a message another thread can read. Just
> like in spamassassin :)

There's a risk of reordering the messages if subsequent messages may
take different routes within the application (ie a different receiving
thread); even subsequent messages from the same application, if it is 
not using TCP. 

I wonder if syslog is expected to preserve message order. It could be 
quite confusing...

> At second there may be more than one destionation or you can connect to
> a database with more than one connection. So it can be parallelable too.

Same potential for reordering here.


Hamish
-- 
Hamish Moffatt VK3SB <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to