Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Time::HiRes gettimeofday producing timestamps out of order

by (anonymized user) (Curate)
on May 06, 2016 at 18:39 UTC ( #1162373=note: print w/replies, xml ) Need Help??


in reply to Time::HiRes gettimeofday producing timestamps out of order

I see two more areas of possibility:

1) if the DB is on a different system than where the perl code runs, then you have two system clocks in play.

2) it is possible in a DB for the IDs to be allocated in a different order than the inserts are issued for other reasons e.g. self-locking or even certain DB constraints.

One world, one people

  • Comment on Re: Time::HiRes gettimeofday producing timestamps out of order

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1162373]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (7)
As of 2020-01-28 19:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?