TIP: Click on subject to list as thread! ANSI
echo: asian_link
to: August Abolins
from: Maurice Kinal
date: 2021-04-13 21:15:00
subject: anyway the wind blows

-={ 2021-04-13 21:15:41.032014984+00:00 }=-

Hey August!

 AA> Is that a way to reduce the probability of collisions within a
 AA> certain span of allotted time?

Good question.  I've heard of a few different methods for doing this none of which I am currently deploying.  Mind you I take care of MSGIDs in the creation of the MSG so the possiblity of collisions is near zero.  There is a way but if that happens then it is a signal that something is seriously wrong on my system.  It has yet to happen.

Just for fun here is the output of 10 potential MSGID serailno's, the first column being unixtime 32-bit hex based, the second being the random 8 character [:alnum:] regex dealies;

60760e0b kUBdI5RO
60760e0b G5T1LBae
60760e0b mFSS1Gxc
60760e0b Daxpq9EE
60760e0b XVCgstYj
60760e0b uWuB7Jqj
60760e0b J0qZbQIo
60760e0b kGrnLcEZ
60760e0b NQGnXOVM
60760e0b kK7htVJO

Note that only one method produced zero collisions while the other produced nothing but collisions.  Based on this very simple test the random 8 character [:alnum:] regex thingies are obviously superior.


Life is good,
Maurice

... Lofd‘dum sceal in m‘g¨a gehw‘re man ge¨eon.
    By praiseworthy deeds shall one prosper among peoples everywhere.
--- GNU bash, version 5.1.4(1)-release (x86_64-motorshed-linux-gnu)
                                                         
* Origin: Little Mikey's Brain - Ladysmith BC, Canada (1:153/7001)

SOURCE: echomail via QWK@pharcyde.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.