Links for 2013-09-05

This entry was posted in Uncategorized. Bookmark the permalink. Both comments and trackbacks are currently closed.


  1. Posted September 7, 2013 at 10:48 | Permalink

    With regards to the JVM issue: This is not the only program which will exhibit unpredicatble behaviour if the clock stops increasing monotonically, some programs are simply better at dealing with this (e.g. “dovecot”, a popular IMAP/POP3 server, will terminate itself).This being said, getting time right is pretty hard – do you remember the last leap second?

    To be fair, modern time synchronization mechanisms like NTP do their best to prevent the clock from stepping backwards, ever. So in all honesty, I’m unsure if this is really a problem, from an operations PoV.

  2. Posted September 9, 2013 at 21:53 | Permalink

    hi Stefan — yeah, I ran into these problems before in my own C++ code, using Boost (which called pthreads APIs). I imagine a lot of code out there would have these problems, and it’s not isolated to the JVM. I like the idea of NTP avoiding the problem arising in the first place….