× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



On 13-Aug-2014 15:39 -0500, Vinay Gavankar wrote:
I think that using the timestamp (retrieved when writing to the data
queue), instead of the sequence number will work. I will have to use
an API to get UTC or something, otherwise if I use System Time,
wouldn't it go back when Daylight Saving time ends?

I believe the requirement to use GMT\UTC due to TIMEZONE issues is dependent upon how the system achieves the transition to the new time [either a reset or clock slowed] and if the timestamp has sufficient accuracy to guarantee uniqueness both in standard operation and when the clock is slowed to effect the transition. Seems ensuring UTC is probably the safest, because IIRC the implementation of the time change is hardware dependent; possibly until Power7?

For performance reasons previously discussed, obtaining a timestamp when the data is dequeued is probably a better choice.? Of course, the added benefit of having the timestamp of the actual I\O [versus an arbitrary but also chronologically\serially maintained timestamp] may outweigh the cost of obtaining the timestamp in the trigger program.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.