tsp-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Tsp-devel] Flooding the BB msg queue


From: Frederik Deweerdt
Subject: Re: [Tsp-devel] Flooding the BB msg queue
Date: Wed, 20 Jun 2007 17:08:29 +0200
User-agent: mutt-ng/devel-r804 (Linux)

On Wed, Jun 20, 2007 at 04:01:37PM +0200, Eric Noulard wrote:
> 2007/6/20, Frederik Deweerdt <address@hidden>:
> 
> >
> >My use case is more or less like sync, but I use the PID of the client
> >as mtype, so that I can tell several clients that value X vas
> >modified. Otherwise, only the first one that gets the msg is notified. If
> >one subscriber suddenly dissapears, the queue fills up and no one ever
> >gets the sync after a few messages.
> 
> Just a thought but if your BB "server" already know that there is
> "several" client then I think you ought to create 1 new msg queue
> by "client".
> 
The thing I don't like here is the eternal CPU consumption for sending
messages to a dead client. But this would work otherwise, yes. I could
also periodically check whenever a client is dead or not. It just seemed
weird to have to resort to that instead of having msgsnd scream :)

Fred




reply via email to

[Prev in Thread] Current Thread [Next in Thread]