Re: dropped messages

2010-09-24 Thread Benjamin Black
Complete information, including everything in tpstats, is available for your monitoring systems via JMX. For production clusters, it is essential you at least collect the JMX stats, if not alarm on various problems (such as backed up stages). b On Wed, Sep 22, 2010 at 6:47 AM, Carl Bruecken wr

Re: handling client network connections in Cassandra

2010-09-01 Thread Benjamin Black
Think he means on the server side, yo. On Wed, Sep 1, 2010 at 12:31 PM, Jonathan Ellis wrote: > You might want to build on top of something like Hector that handles > the low level pooling, failover, etc. already instead of raw Thrift. > > On Wed, Sep 1, 2010 at 11:04 AM, Amol Deshpande > wrote:

Re: Order preserving partitioning strategy

2010-08-23 Thread Benjamin Black
Use OPP and prefix keys with a randomizing element when range queries will not be required. For keys that will be queried in ranges, don't use such a prefix. On Mon, Aug 23, 2010 at 8:36 PM, Hien. To Trong wrote: > Hi, > OrderPreservingPartitioner is efficient range queries but can cause unevent

Re: Order preserving partitioning strategy

2010-08-22 Thread Benjamin Black
https://svn.apache.org/repos/asf/cassandra/trunk/src/java/org/apache/cassandra/dht/OrderPreservingPartitioner.java On Sun, Aug 22, 2010 at 10:46 AM, Hien. To Trong wrote: > Hi, > I am developing a system with some features like cassandra. > I want to add order preserving partitioning strategy, bu

Re: Locking in cassandra

2010-08-16 Thread Benjamin Black
This is the locking implementation: http://commons.apache.org/lang/api-2.4/org/apache/commons/lang/NotImplementedException.html And you might benefit from reading these: http://www.allthingsdistributed.com/2007/10/amazons_dynamo.html http://www.slideshare.net/benjaminblack/introduction-to-cassan

Re: cassandra increment counters, Jira #1072

2010-08-13 Thread Benjamin Black
On Fri, Aug 13, 2010 at 6:24 AM, Jonathan Ellis wrote: >> >> This is simply not an acceptable alternative and just can't be called >> handling it "well". > > What part is it handling poorly, at a technical level?  This is almost > exactly what 1072 does internally -- we are concerned here with the

Re: cassandra increment counters, Jira #1072

2010-08-13 Thread Benjamin Black
On Thu, Aug 12, 2010 at 8:54 PM, Jonathan Ellis wrote: > There are two concerns that give me pause. > > The first is that 1072 is tackling a use case that Cassandra already > handles well: high volume of writes to a counter, with low volume > reads.  (This can be done by inserting uuids into a cou

Re: cassandra increment counters, Jira #1072

2010-08-12 Thread Benjamin Black
On Thu, Aug 12, 2010 at 10:23 AM, Kelvin Kakugawa wrote: > > I think the underlying unanswered question is whether #1072 is a niche > feature or whether it should be brought into trunk. > This should not be an unanswered question! #1072 should be considered essential, as it enables numerous use

Re: 3-node balanced system

2010-06-17 Thread Benjamin Black
in ruby: def token(nodes) 1.upto(nodes) {|i| p (2**127/nodes) * i}; end >> token(3) 56713727820156410577229101238628035242 113427455640312821154458202477256070484 170141183460469231731687303715884105726 On Thu, Jun 17, 2010 at 12:08 PM, Lev Stesin wrote: > Hi, > > What is the correct procedure

set_keyspace()

2010-06-06 Thread Benjamin Black
Can someone enlighten me as to the purpose of set_keyspace() and the elimination of the keyspace args from calls? I understand there was a discussion of the issue before I joined the list several months ago. For those with several keyspaces, or many keyspaces, as when using a keyspace per customer

Re: boonfilters

2010-04-07 Thread Benjamin Black
(Should mention: suggesting reading the Dynamo paper for general background, not for Bloom filters, which are fantastically covered in the Wikipedia entry). On Wed, Apr 7, 2010 at 4:11 PM, Benjamin Black wrote: > Please read this: > http://www.allthingsdistributed.com/2007/10/amazons_dynam

Re: boonfilters

2010-04-07 Thread Benjamin Black
Please read this: http://www.allthingsdistributed.com/2007/10/amazons_dynamo.html On Wed, Apr 7, 2010 at 1:27 PM, S Ahmed wrote: > Just reading up on boonfilters, few questions. > > Basically boonfilters let give you a true/false if a particular key exists, > and they *may* give you a false posit

Re: Grep for what?

2010-04-05 Thread Benjamin Black
ps auxww | grep cassandra (and upgrade to 0.6) On Mon, Apr 5, 2010 at 10:20 AM, JEFFERY SCHMITZ wrote: > Warning this is a newbie question - > > On startup I get > > [r...@marduk bin]# ./cassandra -f > Listening for transport dt_socket at address: > INFO - Sampling index for > /var/lib/cas