[Standards-JIG] Re: JEP-0124: datatype for 'rid' attribute

Peter Saint-Andre stpeter at jabber.org
Fri Feb 10 01:37:39 UTC 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ian Paterson wrote:
> Hi Mridul,
> 
> Ian wrote:
>>> A limit of 2147483647 would seem to offer a range large 
>>> enough to provide both 'unpredicability', and the 'certainty' 
>>> that the limit will never be reached. Choosing a random 
>>> initial rid to be anything up to 1 billion, would allow a 
>>> session with ten requests every second to last over 3.5 years.
>>> Do we need to be more conservative than that to allow for 
>>> future non-IM XMPP applications? IMHO 9007199254740991 = 
>>> 2^53-1 would be another possible candidate (higher 
>>> limits would be tricky for server connection managers 
>>> written in some weakly typed higher-level languages).
> 
> Mridul wrote:
>> Makes sense to make it unsigned long so that we dont box 
>> ourselves in for the future.
>> Also allows a higher space for random number generation...
> 
> Yes, and it also removes the necessity for client and server
> implementations to include code that handles wrapping back to 1, since
> it is trivial for clients to select an initial rid that will never be
> incremented above the maximum value.
> 
> This change has been made to the final paragraph in Section 7 of the JEP
> in the CVS:
> http://www.jabberstudio.org/cgi-bin/viewcvs.cgi/*checkout*/cvs/jeps/0124
> /jep-0124.xml?rev=1.52#wrapper

We'll put those changes on the agenda for the next Council meeting.

Peter

- --
Peter Saint-Andre
Jabber Software Foundation
http://www.jabber.org/people/stpeter.shtml

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFD6+5jNF1RSzyt3NURAoXzAJ4uLXWRqxmdTfGjQ/RFOmkSsbsIYACgqtiR
yLe3Xf4hMbFQAkUrQYv0MXE=
=ITPt
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3641 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://mail.jabber.org/pipermail/standards/attachments/20060209/fec290d0/attachment.bin>


More information about the Standards mailing list