[jdev] That presence problem again

Joe Hildebrand hildjj at gmail.com
Mon Apr 23 10:50:22 CDT 2007


For mail notification, you might try <message type='headline'/> to  
avoid offline storage.

On Apr 20, 2007, at 5:52 PM, Bruce Campbell wrote:

>
> On Sat, 21 Apr 2007, Robin Redeker wrote:
>
>> On Fri, Apr 20, 2007 at 10:22:33PM +0000, Nathan Fritz wrote:
>>> I don't see this as being the client's job.
>> [.snip.]
>>> I don't believe that the client should take it upon itself to nag
>>> about presence, as presence is high traffic enough as it is.
>>
>> I indeed agree with that. Having clients polling is very undesireable
>> w.r.t. bandwidth and traffic.
>
> Either I could treat the existing presence push mechanism as being  
> partially broken, poll occasionally, and have reasonably updated  
> information and, or I could rely completely on the existing  
> presence push mechanism, and deal with complaints of, say, a mail  
> notification bot filling up an offline message store, or a pretty  
> web presence bot giving the wrong information for hours on end.
>
> In this particular situation (mail notification bot), I personally  
> prefer the fewer complaints option, since the poll traffic isn't  
> leaving the local server.
>
> I like the <iq/> option that JD supplied.
>
> -- 
>   Bruce Campbell.
>
>   Of course, I'll argue the other way when it comes to chat clients ;)




More information about the JDev mailing list