ENXF NET
Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
- Joined
- Nov 13, 2018
- Messages
- 27,147
- Points
- 823
Reputation:
php's
Consider the case;
Read more
Continue reading...
time()
function is non-monotomic. This means it can technically go backwards, noticeable on machines which use a timesync service on a very busy forumConsider the case;
- UserA starts replying
- finalSetup - Clock N,
Post.post_date
= N
- finalSetup - Clock N,
- Clock progress to N+1
- Another users posts, updating the
xf_thread
recordxf_thread.last_post_date
= N+1
- Timsync causes the clock to be set to Clock N
- UserA's request reloads the last post...
Read more
Continue reading...