Re: Handle Leap Seconds with Cassandra

2016-11-03 Thread Eric Stevens
ain monotonic timestamp classes in > Java however these will not help you if you have multiple clients that may > overwrite data. > > As for the interleaving or out of order problem, this is hard to address > in Cassandra without resorting to external coordination or LWTs. If you a

Re: Handle Leap Seconds with Cassandra

2016-11-02 Thread Ben Bromhead
mary keys even > for data inserted at the exact same timestamp. > > The blog post also suggests using certain monotonic timestamp classes in > Java however these will not help you if you have multiple clients that may > overwrite data. > > As for the interleaving or

Re: Handle Leap Seconds with Cassandra

2016-11-02 Thread Anuj Wadehra
ernal coordination or LWTs. If you are relying on a wall clock to guarantee order in a distributed system you will get yourself into trouble even without leap seconds (clock drift, NTP inaccuracy etc).   On Thu, 20 Oct 2016 at 10:30 Anuj Wadehra <anujw_2...@yahoo.co.in> wrote: Hi, I would like

Re: Handle Leap Seconds with Cassandra

2016-10-27 Thread Ben Bromhead
tion or LWTs. If you are > relying on a wall clock to guarantee order in a distributed system you will > get yourself into trouble even without leap seconds (clock drift, NTP > inaccuracy etc). > > On Thu, 20 Oct 2016 at 10:30 Anuj Wadehra <anujw_2...@yahoo.co.in> wrote: > &

Re: Handle Leap Seconds with Cassandra

2016-10-27 Thread Edward Capriolo
on a wall clock to guarantee order in a distributed system you will > get yourself into trouble even without leap seconds (clock drift, NTP > inaccuracy etc). > > On Thu, 20 Oct 2016 at 10:30 Anuj Wadehra <anujw_2...@yahoo.co.in> wrote: > >> Hi, >> >> I would like t

Re: Handle Leap Seconds with Cassandra

2016-10-27 Thread Anuj Wadehra
rouble even without leap seconds (clock drift, NTP inaccuracy etc).   On Thu, 20 Oct 2016 at 10:30 Anuj Wadehra <anujw_2...@yahoo.co.in> wrote: Hi, I would like to know how you guys handle leap seconds with Cassandra.  I am not bothered about the livelock issue as we are using appropri

Re: Handle Leap Seconds with Cassandra

2016-10-20 Thread Ben Bromhead
w_2...@yahoo.co.in> wrote: > Hi, > > I would like to know how you guys handle leap seconds with Cassandra. > > I am not bothered about the livelock issue as we are using appropriate > versions of Linux and Java. I am more interested in finding an optimum > answer for the followi

Handle Leap Seconds with Cassandra

2016-10-20 Thread Anuj Wadehra
Hi, I would like to know how you guys handle leap seconds with Cassandra.  I am not bothered about the livelock issue as we are using appropriate versions of Linux and Java. I am more interested in finding an optimum answer for the following question: How do you handle wrong ordering of multiple