[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: Why do messages destined for paging not get assigned mes
timfox
do-not-reply at jboss.com
Sat Sep 27 05:25:11 EDT 2008
| // The date portion would be repeated on every 397 days
|
I don't think this is good enough. If a server stay up longer than 397 days, we could get overlaps.
What you could do, is instead of taking the full time value down to the milliseconds, ignore the rightmost 9 or 10 bits, so the time is only precise to the nearest second or so.
There is more possibility of the counter wrapping then, but it means the server can stay up many years without overlaps.
Also why 20 ms? and the <0 loop looks suspicious to me
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179173#4179173
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179173
More information about the jboss-dev-forums
mailing list