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 j...@keen.io 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

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

2013-03-16 Thread Philip O'Toole
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 at 2:24 PM, Josh Dzielak j...@keen.io wrote: I have a system where a client sends

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

2013-03-16 Thread Philip O'Toole
, 2013 at 2:56 PM, Philip O'Toole wrote: On Sat, Mar 16, 2013 at 2:50 PM, Josh Dzielak j...@keen.io wrote: Thanks Philip. I see where you are coming from; that'd be much simpler and avoid these bumps. The only downside is that I'd have to separately maintain an index of event timestamps

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

Re: Astyanax - build

2012-09-14 Thread Philip O'Toole
? 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. Thanks. -- Philip O'Toole Senior

Re: Astyanax - build

2012-09-14 Thread Philip O'Toole
On Fri, Sep 14, 2012 at 10:49 AM, Hiller, Dean dean.hil...@nrel.gov 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

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 gwink...@inconcertcc.com wrote: Hi Philip, From http://wiki.apache.org/cassandra/ArchitectureOverview Quorum write: blocks until quorum is reached By my

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

2012-08-25 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 phi...@loggly.com wrote: But consider this. Say I have a replication factor of 3. I request a QUORUM write, and it fails because the write only

QUORUM writes, QUORUM reads -- and eventual consistency

2012-08-24 Thread Philip O'Toole
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
of time? Or only at runtime? -- Philip O'Toole Senior Developer Loggly, Inc. San Francisco, Calif. www.loggly.com