Re: Best practice: Multiple clusters vs multiple tables in a single cluster?

2015-04-02 Thread daemeon reiydelle
Jack did a superb job of explaining all of your issues, and his last sentence seems to fit your needs (and my experience) very well. The only other point I would add is to ascertain if the use patterns commend microservices to abstract from data locality, even if the initial deployment is a noop to

Re: Cross-datacenter requests taking a very long time.

2015-03-31 Thread daemeon reiydelle
What is your replication factor? Any idea how much data has to be processed under the query? With that few nodes (3) in each DC, even with replication=1, you are probably not getting much inter-node data transfer in a local quorum, until of course you do cross data centers and at least one full c

Re: SSTable structure

2015-03-30 Thread daemeon reiydelle
why? Then there are 2 places 2 maintain or get jira'ed for a discrepancy. On Mar 30, 2015 4:46 PM, "Robert Coli" wrote: > On Mon, Mar 30, 2015 at 1:38 AM, Pierre wrote: > >> Does anyone know if there is a more complete and up to date documentation >> about the sstable files structure (data, inde

Re: Arbitrary nested tree hierarchy data model

2015-03-28 Thread daemeon reiydelle
Fascinating. Both the mysql front and and this delightful inverted search solution. Your creativity makes me wonder what other delights your query solutions might expose!! sent from my mobile Daemeon C.M. Reiydelle USA 415.501.0198 London +44.0.20.8144.9872 On Mar 27, 2015 7:08 PM, "Robert Wille"

Re: Is Table created in all the nodes if the default consistency level used

2015-03-17 Thread daemeon reiydelle
data node? Because master node is down, table can not be created on data > nodes. > > > > Regards, > > Peter > > > > > > > > *发件人:* daemeon reiydelle [mailto:daeme...@gmail.com] > *发送时间:* 2015年3月17日 13:38 > *收件人:* user@cassandra.apache.org; Saladi Naidu >

Re: Is Table created in all the nodes if the default consistency level used

2015-03-16 Thread daemeon reiydelle
y” strategy for “Table_test”, > but “System keyspace” is Cassandra internal keyspace, its strategy is > localStrategy. > So my question is how to guarantee “Table_test” is created in all the > nodes before any R/W opertions? > > Thanks. > > Peter > > > > > *

Re: Is Table created in all the nodes if the default consistency level used

2015-03-15 Thread daemeon reiydelle
If you want to guarantee that the data is written to all nodes before the code returns, then yes you have to use "consistency all". Otherwise there is a small risk of outdated data being served if a node goes offline longer than hints timeouts. Somewhat looser options that can assure multiple copi

Re: Does it makes sense to split Gossip from Thrift network

2015-03-04 Thread daemeon reiydelle
If your cluster is typical, your most critical resource is your network bandwidth, if this is the case, I would not do this split you are proposing. One issue with large MTU's is that they are often split at the switch fabric. Switches are not generally known for having processors that are idle, so

Re: Inconsistent count(*) and distinct results from Cassandra

2015-03-04 Thread daemeon reiydelle
What is the replication? Could you be serving stale data from a node that was not properly replicated (hints timeout exceeded by a node being down?) On Wed, Mar 4, 2015 at 11:03 AM, Jens Rantil wrote: > Frens, > > What consistency are you querying with? Could be you are simply receiving > resu

Re: OOM and high SSTables count

2015-03-04 Thread daemeon reiydelle
Are you finding a correlation between the shards on the OOM DC1 nodes and the OOM DC2 nodes? Does your monitoring tool indicate that the DC1 nodes are using significantly more CPU (and memory) than the nodes that are NOT failing? I am leading you down the path to suspect that your sharding is givin

Re: Possible problem with disk latency

2015-02-25 Thread daemeon reiydelle
I think you may have a vicious circle of errors: because your data is not properly replicated to the neighbour, it is not replicating to the secondary data center (yeah, obvious). I would suspect the GC errors are (also obviously) the result of a backlog of compactions that take out the neighbour (

<    1   2