Avahi optimisations

Morgan Collett morgan.collett at collabora.co.uk
Tue Feb 26 04:24:11 EST 2008


Morgan Collett wrote:
> Ivan Krstić wrote:
>> On Feb 26, 2008, at 2:49 AM, Sjoerd Simons wrote:
>>> Does sugar make any assumptions about the size of the key? IOW can we
>>> instead of removing the key completely, use a smaller key?
>>
>> As I've told daf, smcv et al many months ago in Boston, there's no point
>> in advertising the whole key. Advertising a digest is enough as long as
>> nodes support an on-demand operation that returns their whole key.
> 
> As long as Sugar gets a unique value as the key, nothing will break (for
> very short term changes for testing...) so you could just replace the
> key in the TXT record with its hash.

I've logged #6572 against Presence Service with a patch, to replace the
public key with its sha1 hash. Works in jhbuild.

Morgan



More information about the Devel mailing list