Re: Code quality, principles and rules

2017-03-17 Thread Ryan Svihla
Different DI frameworks have different initialization costs, even inside of spring even depending on how you wire up dependencies (did it use autowire with reflection, parse a giant XML of explicit dependencies, etc). To back this assertion up for awhile in that community benching different DI fra

Consistency improvement idea for cutting down on the new user ramp up time.

2017-03-09 Thread Ryan Svihla
istently and not require advanced learnings in distributed theory, when put this way, the correct CL choice takes seconds and is often self evident. -- Thanks, Ryan Svihla

Re: What is the best way to model this JSON ??

2016-03-28 Thread Ryan Svihla
Lokesh, The modeling will change a bit depending on your queries, the rate of update and your tooling (Spring-data-cassandra makes a mess of updating collections for example). I suggest asking the Cassandra users mailing list for help since this list is for development OF Cassandra. > On Mar

Re: Keyspaces not found in cqlsh

2016-02-11 Thread Ryan Svihla
Kedar, I recommend asking the user list u...@cassandra.apache.org this list is for the development of cassandra and you're more likely to find someone on the user list who may have hit this issue. Curious issue though I haven't seen that myself. Regards, Ryan Svihla > On Feb 1

Re: DSE Release Planned That Corresponds with Cassandra 3.2

2016-02-03 Thread Ryan Svihla
I’d just contact sa...@datastax.com instead. > On Feb 3, 2016, at 9:32 AM, Corry Opdenakker wrote: > > You are Right Ryan, but since there is no DSE mailinglist, I thought I > could ask it overhere. > Thanks anyway for the reply. > Regards, Corry > > On Wed, Feb 3, 2016

Re: DSE Release Planned That Corresponds with Cassandra 3.2

2016-02-03 Thread Ryan Svihla
Corry, This is the Cassandra developer mailing list aimed at contributors to the Cassandra code base (not all of whom work for DataStax for example). Can I suggest you contact DataStax and ask the same question? Regards, Ryan Svihla > On Feb 3, 2016, at 9:27 AM, Corry Opdenakker wr

Re: Missing rows while scanning table using java driver

2016-02-02 Thread Ryan Svihla
leading to this situation, can I suggest you respond on the user list with the following: - Keyspace (RF especially), data center and table configuration. - Any errors in the logs on the Cassandra nodes. Regards, Ryan Svihla > On Feb 2, 2016, at 4:58 AM, Priyanka Gugale wrote: > > I

Re: Modeling nested collection with C* 2.0

2016-01-28 Thread Ryan Svihla
Ahmed, Just using text and serializing as Json is the easy way and a common approach. However, this list is for Cassandra commiter discussion, please be so kind as to use the regular user list for data modeling questions or for any future responses to this email thread. Regards, Ryan Svihla

Re: Proposal: deprecate Thrift now and remove support in 4.0

2015-12-28 Thread Ryan Svihla
gt; > > > http://mail-archives.apache.org/mod_mbox/cassandra-dev/201403.mbox/%3ccaldd-zim6knmr7f_zcpvpqk0b2g919tttathiuofnvlztaw...@mail.gmail.com%3E > > > > > > [2] > > > > > > https://docs.google.com/spreadsheets/d/1FegCArZgj2DNAjNkcXi1n2Y1Kfvf6cdZedkMPYQdvC0/edit#gid=0 > > > > > > [3] https://issues.apache.org/jira/browse/CASSANDRA-10857 > > > > > > > > -- Thanks, Ryan Svihla

Re: Network transfer to one node twice as others

2015-04-22 Thread Ryan Svihla
Totally depends on the load balancing policy of your driver, your data model, consistently level and you’re replication factor. The default token aware policy for the DataStax java driver up to 2.1.4 and 2.0.9 would largely behave this way if you combined it with a hot partition, and all other l

Re: How to bulkload into a specific data center?

2015-01-08 Thread Ryan Svihla
ytics data center as > Intialial address. > > However, I found my jobs were connecting to the REST service data center. > > How can I specify the data center? > -- Thanks, Ryan Svihla

Re: How to bulkload into a specific data center?

2015-01-08 Thread Ryan Svihla
Just noticed you'd sent this to the dev list, this is a question for only the user list, and please do not send questions of this type to the developer list. On Thu, Jan 8, 2015 at 8:33 AM, Ryan Svihla wrote: > The nature of replication factor is such that writes will go wherever &g

Re: streaming got stuck at bootstrapping process

2014-12-11 Thread Ryan Svihla
27;s possible to commit no errors and still lose. That is not weakness. > That is life". By Captain Jean-Luc Picard. > -- [image: datastax_logo.png] <http://www.datastax.com/> Ryan Svihla Solution Architect [image: twitter.png] <https://twitter.com/foundev> [image

Re: Performance Difference between Batch Insert and Bulk Load

2014-12-02 Thread Ryan Svihla
ll likely not own all the data in a batch" Token awareness has no effect on that fact. On Tue, Dec 2, 2014 at 9:13 AM, Ryan Svihla wrote: > > > On Mon, Dec 1, 2014 at 1:52 PM, Dong Dai wrote: > >> Thanks Ryan, and also thanks for your great blog post. >> >&g

Re: Performance Difference between Batch Insert and Bulk Load

2014-12-02 Thread Ryan Svihla
s you've designed it to be that way, either by some token aware batch generation in the client or by only batching on the same partition key (strategy covered in that blog). PS Every time I've had a customer tell me batch is faster than async, it's been a code problem such as not stori

Re: Performance Difference between Batch Insert and Bulk Load

2014-12-01 Thread Ryan Svihla
hese SSTables into Cassandra directly. > >> > >> The question is can I expect a better performance using the BulkLoader > this way comparing with using Batch insert? > >> > >> I am not so familiar with the implementation of Bulk Load. But i do see > a huge performanc

Re: CQL unit tests vs dtests

2014-05-21 Thread Ryan Svihla
The standard reasoning for unit tests is specificity of errors. Well written tests suites tell you where you screwed up exactly just by the success and failure pattern, often cutting down the need for a debugger. System tests standard rational is validating these units are wired up correctly. Henc