Re: Guaranteeing globally unique TimeUUID's in a high throughput distributed system

2013-03-16 Thread Philip O'Toole
ng within the row. > > Thanks Philip! > > On Saturday, March 16, 2013 at 2:56 PM, Philip O'Toole wrote: > > On Sat, Mar 16, 2013 at 2:50 PM, Josh Dzielak wrote: > > Thanks Philip. I see where you are coming from; that'd be much simpler and > avoid these bumps.

Re: Guaranteeing globally unique TimeUUID's in a high throughput distributed system

2013-03-16 Thread Philip O'Toole
s within a given range by performing the modulo math on the requested time range (you must choose the interval as part of your design, and stick with it). You do not need a secondary index. > > On Saturday, March 16, 2013 at 2:40 PM, Philip O'Toole wrote: > > On Sat, Mar 16, 2013

Re: Guaranteeing globally unique TimeUUID's in a high throughput distributed system

2013-03-16 Thread Philip O'Toole
On Sat, Mar 16, 2013 at 2:40 PM, Philip O'Toole wrote: > It is a mistake, IMHO, to use the timestamp contained within the event > to generate the time-based UUID. While it will work, it suffers from > exactly the problem you describe. Instead, use the clock of the host > syste

Re: Guaranteeing globally unique TimeUUID's in a high throughput distributed system

2013-03-16 Thread Philip O'Toole
On Sat, Mar 16, 2013 at 2:31 PM, Ariel Weisberg wrote: > Hi, > > This has been solved a couple of times, and always pretty much the same way. > Encode the id of the worker generating the id into the timestamp, and as you > mentioned, maintain a counter for each millisecond. > > https://github.com/

Re: Guaranteeing globally unique TimeUUID's in a high throughput distributed system

2013-03-16 Thread Philip O'Toole
On Sat, Mar 16, 2013 at 2:24 PM, Josh Dzielak wrote: > I have a system where a client sends me arbitrary JSON events containing a > timestamp at millisecond resolution. The timestamp is used to generate > column names of type TimeUUIDType. > > The problem I run into is this - if I client sends me

Re: Backup solution

2013-03-15 Thread Philip O'Toole
You can consider using a WAN optimization appliance such as a Riverbed Steelhead to significantly speed up your transfers, though that will cost. It is a common approach to speed up inter-datacenter transfers. Steelheads for the AWS EC2 cloud are also available. (Disclaimer: I used to write so

Re: Astyanax - build

2012-09-14 Thread Philip O'Toole
On Fri, Sep 14, 2012 at 10:49 AM, Hiller, Dean wrote: > I didn't need to compile it. It is up in the maven repositories as we > > http://mvnrepository.com/artifact/com.netflix.astyanax/astyanax Actually, yeah, that's what I ended up doing with my ghetto set up too, but I did compile my examples

Re: Astyanax - build

2012-09-14 Thread Philip O'Toole
on from > linux command line ? I am relatively new to Java and Astyanax too, and created a set up for exactly this purpose. You can learn what I did here: http://www.philipotoole.com/bootstrapping-cassandra Not the most elegant, but I wanted to get some stuff up-and-running quickly. > > Tha

Re: QUORUM writes, QUORUM reads -- and eventual consistency

2012-08-27 Thread Philip O'Toole
Cool - thanks to all for the replies. I believe I have what I need now. Philip On Aug 25, 2012, at 12:17 AM, Guillermo Winkler wrote: > Hi Philip, > > From http://wiki.apache.org/cassandra/ArchitectureOverview > > Quorum write: blocks until quorum is reached > > By my understanding if you

Re: QUORUM writes, QUORUM reads -- and eventual consistency

2012-08-24 Thread Philip O'Toole
Hi Derek -- thanks. More inline. On Fri, Aug 24, 2012 at 11:52:49PM -0600, Derek Williams wrote: > On Fri, Aug 24, 2012 at 10:55 PM, Philip O'Toole wrote: > > > But consider this. Say I have a replication factor of 3. I request a > > QUORUM write, and it fails because t

QUORUM writes, QUORUM reads -- and eventual consistency

2012-08-24 Thread Philip O'Toole
is very unlikely to happen in practise, but I want to be sure I understand all this. Perhaps the documentation would be more correct if the statement read as "...reflect the most recent SUCCESSFUL write..."? Thanks, Philip -- Philip O'Toole Senior Developer Loggly, Inc. San Francisco, CA

Re: Is it possible to design queries to retrieve columns which match acronyms of col names ?

2012-07-23 Thread Philip O'Toole
;particular" strings ahead of time? Or only at runtime? -- Philip O'Toole Senior Developer Loggly, Inc. San Francisco, Calif. www.loggly.com