Re: Is there a plan for Feature like this in C* ?

2018-07-02 Thread Kant Kodali
Hi Justin, Thanks, Looks like a very early stage feature and no integration with Kafka yet I suppose. Thanks! On Mon, Jul 2, 2018 at 6:24 PM, Justin Cameron wrote: > yes, take a look at http://cassandra.apache.org/ > doc/latest/operating/cdc.html > > On Tue, 3 Jul 2018 at 01:20

Is there a plan for Feature like this in C* ?

2018-07-02 Thread Kant Kodali
https://www.cockroachlabs.com/docs/v2.1/change-data-capture.html

UDF related question

2018-04-03 Thread Kant Kodali
Hi All, I was reading the article below and I was wondering how did one manage to block all I/O calls given that there is no byte code instruction for I/O in java instead all the I/O calls in java will go through *invokevirtual *byte code instruction. But this can call a C function that just add t

Re: Cassandra/Spark failing to process large table

2018-03-03 Thread Kant Kodali
The fact that cqlsh itself gives different results tells me that this has nothing to do with spark. Moreover, spark results are monotonically increasing which seem to be more consistent than cqlsh. so I believe spark can be taken out of the equation. Now, while you are running these queries is th

Re: Jon Haddad on Diagnosing Performance Problems in Production

2018-02-27 Thread Kant Kodali
+1 That was a nice talk! I don't know why I haven't come across that video before! On Tue, Feb 27, 2018 at 9:12 AM, Jonathan Haddad wrote: > There isn't a ton from that talk I'd consider "wrong" at this point, but > some of it is a little stale. I always start off looking at system > metrics.

Re: How to Parse raw CQL text?

2018-02-26 Thread Kant Kodali
/rustyrazorblade-examples/blob/ > master/privatevaraccess/src/main/kotlin/com/rustyrazorblade/ > privatevaraccess/CreateTableParser.kt > [2] http://rustyrazorblade.com/post/2018/2018-02-25- > accessing-private-variables-in-jvm/ > > On Mon, Feb 5, 2018 at 2:27 PM Kant Kodali

Re: How to Parse raw CQL text?

2018-02-05 Thread Kant Kodali
.values() .stream() .forEach(cd -> System.out.println(cd)); } } } On Mon, Feb 5, 2018 at 2:13 PM, Kant Kodali wrote: > Hi Anant, > > I just have CQL create table statement as a string I want to extract all > the parts like, tableNa

Re: How to Parse raw CQL text?

2018-02-05 Thread Kant Kodali
> Did you look into this unit test folder? > > https://github.com/apache/cassandra/blob/trunk/test/ > unit/org/apache/cassandra/cql3/CQLTester.java > > -- > Rahul Singh > rahul.si...@anant.us > > Anant Corporation > > On Feb 5, 2018, 4:06 PM -0500, Kant Kodali ,

How to Parse raw CQL text?

2018-02-05 Thread Kant Kodali
Hi All, I have a need where I get a raw CQL create table statement as a String and I need to parse the keyspace, tablename, columns and so on..so I can use it for various queries and send it to C*. I used the example below from this link . I get the

Re: unable to start cassandra 3.11.1

2018-02-02 Thread Kant Kodali
ithub.com/be >> obal/cassandra/tree/14173-3.11 >> and compile yourself a compatible version (unreleased), in case you are >> bound to >> the latest java runtime for any reason. >> >> Marcus Haarmann >> >> -- >> *Von: *

Re: unable to start cassandra 3.11.1

2018-02-01 Thread Kant Kodali
Ok I saw the ticket looks like this java version "1.8.0_162" wont work! On Thu, Feb 1, 2018 at 2:43 PM, Kant Kodali wrote: > Hi Justin, > > I am using > > java version "1.8.0_162" > > Java(TM) SE Runtime Environment (build 1.8.0_162-b12) > > >

Re: unable to start cassandra 3.11.1

2018-02-01 Thread Kant Kodali
ade to Java 1.8.0.151-5 or wait for C* 3.11.2 > (see https://issues.apache.org/jira/browse/CASSANDRA-14173 for details) > > On Fri, 2 Feb 2018 at 09:35 Kant Kodali wrote: > >> Hi All, >> >> I am unable to start cassandra 3.11.1. Below is the stack trace. >> >&g

unable to start cassandra 3.11.1

2018-02-01 Thread Kant Kodali
Hi All, I am unable to start cassandra 3.11.1. Below is the stack trace. Exception (java.lang.AbstractMethodError) encountered during startup: org.apache.cassandra.utils.JMXServerUtils$Exporter.exportObject(Ljava/rmi/Remote;ILjava/rmi/server/RMIClientSocketFactory;Ljava/rmi/server/RMIServerSocket

Re: What happens if multiple processes send create table if not exist statement to cassandra?

2018-01-28 Thread Kant Kodali
but doesn’t exist in any released version now > > So again, don’t programmatically create tables if there’s a race possible, it > may work fine most of the time, but there’s a risk of ugly failure. > > -- > Jeff Jirsa > > >> On Jan 27, 2018, at 1:23 PM, Kant Kodali wrot

Re: What happens if multiple processes send create table if not exist statement to cassandra?

2018-01-27 Thread Kant Kodali
May I know why? Sent from my iPhone > On Jan 27, 2018, at 12:36 PM, Jeff Jirsa wrote: > > Yes it causes issues > > > -- > Jeff Jirsa > > >> On Jan 27, 2018, at 12:17 PM, Kant Kodali wrote: >> >> Schema changes I assume you guys are talk

Re: What happens if multiple processes send create table if not exist statement to cassandra?

2018-01-27 Thread Kant Kodali
gt; >> On Sat, Jan 27, 2018 at 7:25 PM, Jeff Jirsa wrote: >> It’s not LWT. Don’t do programmatic schema changes that can race, it’s >> likely to cause problems >> >> >> -- >> Jeff Jirsa >> >> >> > On Jan 27, 2018, at 10:19 AM, Kant

What happens if multiple processes send create table if not exist statement to cassandra?

2018-01-27 Thread Kant Kodali
Hi All, What happens if multiple processes send create table if not exist statement to cassandra? will there be any data corruption or any other issues if I send "create table if not exist" request often? I dont see any entry in system.paxos table so is it fair to say "IF NOT EXISTS" doesn't auto

Re: Weird error (unable to start cassandra)

2017-09-11 Thread Kant Kodali
I had to do brew upgrade jemalloc to fix this issue. On Mon, Sep 11, 2017 at 4:25 AM, Kant Kodali wrote: > Hi All, > > I am trying to start cassandra 3.11 on Mac OS Sierra 10.12.6. when invoke > cassandra binary I get the following error > > java(2981,0x7f

Weird error (unable to start cassandra)

2017-09-11 Thread Kant Kodali
Hi All, I am trying to start cassandra 3.11 on Mac OS Sierra 10.12.6. when invoke cassandra binary I get the following error java(2981,0x7fffedb763c0) malloc: *** malloc_zone_unregister() failed for 0x7fffedb6c000 I have xcode version 8.3.3 installed (latest). Any clue ? Thanks!

Re: Cassandra & Spark

2017-06-08 Thread Kant Kodali
If you use Containers like Docker Plan A can work provided you do the resource and capacity planning. I tend to think that Plan B is more Standard and easier Although you can wait to hear from others for a second opinion. Caution: Data Locality will make sense if the Disk throughput is significant

Is there a C* summit this year?

2017-05-19 Thread Kant Kodali
Hi All, I was wondering if there is going to be a C* summit this year? If so, when can we expect? Thanks!

Re: Cassandra 3.10 has partial partition key search but does it result in a table scan?

2017-05-09 Thread Kant Kodali
also do a full table >> scan (again, I don’t see how it would be avoided). >> >> I recommend firing up a 3 node cluster using CCM, creating a key space >> with RF=1, and seeing what it does. >> >> On May 9, 2017, at 9:12 AM, Kant Kodali wrote: >> >> Hi,

Cassandra 3.10 has partial partition key search but does it result in a table scan?

2017-05-09 Thread Kant Kodali
Hi All, It looks like Cassandra 3.10 has partial partition key search but does it result in a table scan? for example I can have the following create table hello( a text, b int, c text, d text, primary key((a,b), c) ); Now I can do select * from hello where a='foo' allow filtering;// This works

is static column thread safe or only counter column is thread safe?

2017-05-08 Thread Kant Kodali
Hi All, is static column thread safe or only counter column is thread safe? Thanks!

Re: scylladb

2017-03-12 Thread Kant Kodali
t" (use us, not Cassandra) isn't cool, IMHO. > > > On Sun, Mar 12, 2017 at 5:04 PM Kant Kodali wrote: > > yes. > > On Sun, Mar 12, 2017 at 2:01 PM, James Carman > wrote: > > Does all of this Scylla talk really even belong on the Cassandra user > mailin

Re: scylladb

2017-03-12 Thread Kant Kodali
yes. On Sun, Mar 12, 2017 at 2:01 PM, James Carman wrote: > Does all of this Scylla talk really even belong on the Cassandra user > mailing list in the first place? > > > > > On Sun, Mar 12, 2017 at 4:07 PM Jeff Jirsa wrote: > > > > On 2017-03-11 22:33 (-0700), Dor Laor wrote: > > On Sat, Mar

Re: scylladb

2017-03-12 Thread Kant Kodali
One more thing. Pretty much every database that is written in C++ or Java uses native kernel threads for non-blocking I/O as well. They didn't use Seaster or Quasar but anyways I am going to read up on Seaster and see what it really does. On Sun, Mar 12, 2017 at 3:48 AM, Kant Kodali

Re: scylladb

2017-03-12 Thread Kant Kodali
essors for threading/scheduling (Hyperthreading, NUMA, many-core), the second order nature seriously limits the ability of M:N threading. On Sun, Mar 12, 2017 at 1:33 AM, Kant Kodali wrote: > Sorry I made some typo's here is a better version. > > @Avi > > "User-level

Re: scylladb

2017-03-12 Thread Kant Kodali
> If you have thread-per-core and N (logical) cores, and have M tasks > running concurrently where M > N, then you need a scheduler to decide which > of those M tasks gets to run on those N kernel threads. Whether those M > tasks are user-level threads, or callbacks, or a mix of the two is > immat

Re: scylladb

2017-03-12 Thread Kant Kodali
code base [1] and documentation [2] > to see how we handled those problems. I'll also comment a bit below. > > > [1] https://github.com/scylladb/seastar > > [2] http://www.seastar-project.org/ > > On 03/12/2017 11:07 AM, Kant Kodali wrote: > > @Avi > > "U

Re: scylladb

2017-03-12 Thread Kant Kodali
On Sun, Mar 12, 2017 at 12:23 AM, Avi Kivity wrote: > > > On 03/12/2017 12:19 AM, Kant Kodali wrote: > > My response is inline. > > On Sat, Mar 11, 2017 at 1:43 PM, Avi Kivity wrote: > >> There are several issues at play here. >> >> First, a database ru

Re: scylladb

2017-03-12 Thread Kant Kodali
on your node and then you mostly underutilize it. > > On 03/12/2017 10:23 AM, Avi Kivity wrote: > > > > On 03/12/2017 12:19 AM, Kant Kodali wrote: > > My response is inline. > > On Sat, Mar 11, 2017 at 1:43 PM, Avi Kivity wrote: > >> There are several iss

Re: scylladb

2017-03-11 Thread Kant Kodali
trol. > > None of this is new btw, it's pretty common in the storage world. > > Avi > > > On 03/11/2017 11:18 PM, Kant Kodali wrote: > > Here is the Java version http://docs.paralleluniverse.co/quasar/ but I > still don't see how user level scheduling can be

Re: scylladb

2017-03-11 Thread Kant Kodali
gt; transparent hugepages). > > > On 03/11/2017 10:26 PM, Kant Kodali wrote: > > @Dor > > 1) You guys have a CPU scheduler? you mean user level thread Scheduler > that maps user level threads to kernel level threads? I thought C++ by > default creates native kernel threads b

Re: scylladb

2017-03-11 Thread Kant Kodali
@Dor 1) You guys have a CPU scheduler? you mean user level thread Scheduler that maps user level threads to kernel level threads? I thought C++ by default creates native kernel threads but sure nothing will stop someone to create a user level scheduling library if that's what you are talking about

Re: scylladb

2017-03-10 Thread Kant Kodali
ables, cache, and working memory needed to handle requests in flight. >> Memory is statically partitioned across cores, allowing us to exploit NUMA >> fully. You can't do these things in Java. >> >> I would say the major contributors to Scylla performance are: >&

Re: scylladb

2017-03-09 Thread Kant Kodali
I dont think ScyllaDB performance is because of C++. The design decisions in scylladb are indeed different from Cassandra such as getting rid of SEDA and moving to TPC and so on. If someone thinks it is because of C++ then just show the benchmarks that proves it is indeed the C++ which gave 10X pe

Re: Attached profiled data but need help understanding it

2017-03-06 Thread Kant Kodali
Hi Romain, We may be able to achieve what we need without LWT but that would require bunch of changes from the application side and possibly introducing caching layers and designing solution around that. But for now, we are constrained to use LWT's for another month or so. All said, I still would

Re: Attached profiled data but need help understanding it

2017-02-28 Thread Kant Kodali
On Tue, Feb 28, 2017 at 7:51 PM, Kant Kodali wrote: > Hi Romain, > > Thanks again. My response are inline. > > kant > > On Tue, Feb 28, 2017 at 10:04 AM, Romain Hardouin > wrote: > >> > we are currently using 3.0.9. should we use 3.8 or 3.10 >> >> No

Re: Attached profiled data but need help understanding it

2017-02-28 Thread Kant Kodali
Hi Romain, Thanks again. My response are inline. kant On Tue, Feb 28, 2017 at 10:04 AM, Romain Hardouin wrote: > > we are currently using 3.0.9. should we use 3.8 or 3.10 > > No, don't use 3.X in production unless you really need a major feature. > I would advise to stick to 3.0.X (i.e. 3.0.1

Re: Attached profiled data but need help understanding it

2017-02-27 Thread Kant Kodali
Hi! My answers are inline. On Mon, Feb 27, 2017 at 11:48 AM, Kant Kodali wrote: > > > On Mon, Feb 27, 2017 at 10:30 AM, Romain Hardouin > wrote: > >> Hi, >> >> Regarding shared pool workers see CASSANDRA-11966. You may have to >> backport it depending on

Re: Attached profiled data but need help understanding it

2017-02-27 Thread Kant Kodali
hieve? *5000 is the target.* > > Best, > > Romain > > > > Le Lundi 27 février 2017 12h48, Kant Kodali a écrit : > > > Also Attached is a flamed graph generated from a thread dump. > > On Mon, Feb 27, 2017 at 2:32 AM, Kant Kodali wrote: > > Hi, > &

Re: Attached profiled data but need help understanding it

2017-02-27 Thread Kant Kodali
Also Attached is a flamed graph generated from a thread dump. On Mon, Feb 27, 2017 at 2:32 AM, Kant Kodali wrote: > Hi, > > Attached are the stats of my Cassandra node running on a 4-core CPU. I am > using sjk-plus tool for the first time so what are the things I should > watche

Re: How does cassandra achieve Linearizability?

2017-02-26 Thread Kant Kodali
w feature tickets that should really > say 4.x. > > -- > Kind regards, > Michael > > On 02/22/2017 07:28 PM, Kant Kodali wrote: > > I hope that patch is reviewed as quickly as possible. We use LWT's > > heavily and we are getting a throughput of 600 w

Re: How does cassandra achieve Linearizability?

2017-02-22 Thread Kant Kodali
wrote: > >> Hi, >> >> No it's not going to be in 3.11.x. The earliest release it could make it >> into is 4.0. >> >> Ariel >> >> On Wed, Feb 22, 2017, at 03:34 AM, Kant Kodali wrote: >> >> Hi Ariel, >> >> Can we really

Re: How does cassandra achieve Linearizability?

2017-02-22 Thread Kant Kodali
> > That paper does go on to discuss electing a distinguished proposer, but > that was never done for C*. I believe it's not considered a good fit for C* > philosophically. > > Ariel > > On Thu, Feb 16, 2017, at 04:20 PM, Kant Kodali wrote: > > @Ariel Weisberg EPaxos looks very

Re: Does C* coordinator writes to replicas in same order or different order?

2017-02-21 Thread Kant Kodali
It looks like there is ordering within one client (ordering based on timestamp) and looks like this *order is preserved across all replicas* however the benefits of async given the ordering restriction are slightly blur for me. On Tue, Feb 21, 2017 at 2:35 AM, Kant Kodali wrote: > Agreed w

Re: Does C* coordinator writes to replicas in same order or different order?

2017-02-21 Thread Kant Kodali
der based on > PK (locally) and update "the pointer" on every write (also locally). If you > then store your pointer with the last known timestamp of your base data, > you also have a LWW on your pointer so also the last pointer wins when > reading with > CL_ONE. > But t

Re: Does C* coordinator writes to replicas in same order or different order?

2017-02-21 Thread Kant Kodali
was not designed to guarantee order. It was build to be linear > scalable, highly concurrent and eventual consistent. > To me it sounds like a ACID DB better serves what you are asking for. > > 2017-02-21 10:17 GMT+01:00 Kant Kodali : > >> Agreed that async performs better than sync i

Re: Does C* coordinator writes to replicas in same order or different order?

2017-02-21 Thread Kant Kodali
s, you'll have a large penalty for latency. > > On Mon, Feb 20, 2017 at 10:11 PM, Kant Kodali wrote: > >> Thanks again for the response! if they mean it between client and server >> I am not sure why they would use the word "replication" in the statement >>

Does C* coordinator writes to replicas in same order or different order?

2017-02-20 Thread Kant Kodali
Hi, when C* coordinator writes to replicas does it write it in same order or different order? other words, Does the replication happen synchronously or asynchrnoulsy ? Also does this depend sync or async client? What happens in the case of concurrent writes to a coordinator ? Thanks, kant

Are Cassandra Triggers Thread Safe? ("Tough questions perhaps!")

2017-02-20 Thread Kant Kodali
Hi, 1. Are Cassandra Triggers Thread Safe? what happens if two writes invoke the trigger where the trigger is trying to modify same row in a partition? 2. Had anyone used it successfully on production? If so, any issues? (I am using the latest version of C* 3.10) 3. I have partitions that are abou

question on uda/udf

2017-02-18 Thread Kant Kodali
Hi All, Goal: want to create check_duplicate UDA on a blob column Context: I have a partition of 10Million rows with size of 10GB (I know this is bad). I want to check if there are duplicate in a blob column in this partition. The blob column can at most be 256 bytes. Question: can I create stat

Re: is there a query to find out the largest partition in a table?

2017-02-18 Thread Kant Kodali
61.21 802187.44 10299432635 43388628 Min 0.00 5.72 9.89 125 5 Max 6.00 668489.538582860.53 10299432635 43388628 On Sat, Feb 18, 2017 at 12:28 AM, Kant Kodali wrote

is there a query to find out the largest partition in a table?

2017-02-18 Thread Kant Kodali
is there a query to find out the largest partition in a table? Does the query below give me the largest partition? select max(mean_partition_size) from size_estimates ; Thanks, Kant

Re: How does cassandra achieve Linearizability?

2017-02-16 Thread Kant Kodali
o satisfy N = 2F + 1 constraint to tolerate F failures ? I understand it is not needed when not using LWT's since Cassandra is a master-less system. On Fri, Feb 10, 2017 at 10:25 AM, Kant Kodali wrote: > Thanks Ariel! Yes I knew there are so many variations and optimizations of > Paxos. I j

Re: Why does Cassandra recommends Oracle JVM instead of OpenJDK?

2017-02-11 Thread Kant Kodali
Saw this one today... https://news.ycombinator.com/item?id=13624062 On Tue, Jan 3, 2017 at 6:27 AM, Eric Evans wrote: > On Mon, Jan 2, 2017 at 2:26 PM, Edward Capriolo > wrote: > > Lets be clear: > > What I am saying is avoiding being loose with the word "free" > > > > https://en.wikipedia.org

Re: How does cassandra achieve Linearizability?

2017-02-10 Thread Kant Kodali
pensive. CS is made for > A+P mostly with tunable C. In ACID databases this is a completely different > thing as they are mostly either not partition tolerant, not highly > available or not scalable (in a distributed manner, not speaking of > "monolithic super servers").

Re: How does cassandra achieve Linearizability?

2017-02-10 Thread Kant Kodali
"That’s the safety blanket everyone wants but is extremely expensive, especially in Cassandra." yes LWT's are expensive. Are there any plans to make this better? On Fri, Feb 10, 2017 at 12:17 AM, Kant Kodali wrote: > Hi Jon, > > Thanks a lot for your response. I am

Re: How does cassandra achieve Linearizability?

2017-02-10 Thread Kant Kodali
going away anytime soon. > This problem is sometimes addressed with event sourcing rather than > mutating in place. > > Hope this helps. > > Jon > > > On Feb 9, 2017, at 5:21 PM, Kant Kodali wrote: > > @Justin I read this article http://www.datastax.com/dev/ > blo

Re: How does cassandra achieve Linearizability?

2017-02-09 Thread Kant Kodali
ably stratum 2 or 3) source. > > As Jonathan mentioned, there's no guarantee from Cassandra, but if you > need as close as you can get, you'll probably need to do it yourself. > > (I run several stratum 2 ntpd servers for pool.ntp.org) > > -- > Kind regards, &

Re: How does cassandra achieve Linearizability?

2017-02-09 Thread Kant Kodali
stamps/ > > We use our own NTP cluster to reduce clock drift as much as possible, but > public NTP servers are good enough for most uses. https://www.instaclustr. > com/blog/2015/11/05/apache-cassandra-synchronization/ > > Cheers, > Justin > > On Thu, 9 Feb 2017 at 16:0

How does cassandra achieve Linearizability?

2017-02-09 Thread Kant Kodali
How does Cassandra achieve Linearizability with “Last write wins” (conflict resolution methods based on time-of-day clocks) ? Relying on synchronized clocks are almost certainly non-linearizable, because clock timestamps cannot be guaranteed to be consistent with actual event ordering due to clock

If reading from materialized view with a consistency level of quorum am I guaranteed to have the most recent view?

2017-02-09 Thread Kant Kodali
If reading from materialized view with a consistency level of quorum am I guaranteed to have the most recent view? other words is w + r > n contract maintained for MV's as well for both reads and writes? Thanks!

Re: AW: Why does CockroachDB github website say Cassandra has noAvailability on datacenter failure?

2017-02-07 Thread Kant Kodali
https://github.com/cockroachdb/cockroach/commit/f46a547827d3439b57baa5c3a11f8f9ad2d8b153 On Tue, Feb 7, 2017 at 3:20 PM, Kant Kodali wrote: > LOL They took down that image finally!! But I would still keep an eye on > what kind of fake benchmarks they might come up with. > > On Tue,

Re: AW: Why does CockroachDB github website say Cassandra has noAvailability on datacenter failure?

2017-02-07 Thread Kant Kodali
Re: Why does CockroachDB github website say Cassandra has > noAvailability on datacenter failure? > > > > The link you posted doesn't say anything about Cassandra > > Le 7 févr. 2017 11:41, "Kant Kodali" a écrit : > > Why does CockroachDB github website say Cassandra has no Availability on > datacenter failure? > > https://github.com/cockroachdb/cockroach > > > >

Re: Why does CockroachDB github website say Cassandra has no Availability on datacenter failure?

2017-02-07 Thread Kant Kodali
lol. But seriously are they even allowed to say something that is not true about another product ? On Tue, Feb 7, 2017 at 4:05 AM, kurt greaves wrote: > Marketing never lies. Ever >

Why does CockroachDB github website say Cassandra has no Availability on datacenter failure?

2017-02-07 Thread Kant Kodali
Why does CockroachDB github website say Cassandra has no Availability on datacenter failure? https://github.com/cockroachdb/cockroach

Re: quick question

2017-02-01 Thread Kant Kodali
Adding dev only for this thread. On Wed, Feb 1, 2017 at 4:39 AM, Kant Kodali wrote: > What is the difference between accepting a value and committing a value? > > > > On Wed, Feb 1, 2017 at 4:25 AM, Kant Kodali wrote: > >> Hi, >> >> Thanks for the response.

Re: quick question

2017-02-01 Thread Kant Kodali
What is the difference between accepting a value and committing a value? On Wed, Feb 1, 2017 at 4:25 AM, Kant Kodali wrote: > Hi, > > Thanks for the response. I finished watching this video but I still got > few questions. > > 1) The speaker seems to suggest that t

Re: quick question

2017-02-01 Thread Kant Kodali
- al...@thelastpickle.com > France > > The Last Pickle - Apache Cassandra Consulting > http://www.thelastpickle.com > > 2017-02-01 10:57 GMT+01:00 Kant Kodali : > >> When you initiate a LWT(write) and do a QUORUM read is there a chance >> that one might not see the LWT write ? If so, can someone explain a bit >> more? >> >> Thanks! >> > >

quick question

2017-02-01 Thread Kant Kodali
When you initiate a LWT(write) and do a QUORUM read is there a chance that one might not see the LWT write ? If so, can someone explain a bit more? Thanks!

question on multi DC setup and LWT's

2017-01-23 Thread Kant Kodali
HI Guys, Lets say I have 2 DC's and I have 3 node cluster on each DC and one replica on each DC. I would like to maintain Strong consistency and high availability so 1) First of all, How do I even set up one replica on each DC? 2) what should my read and write consistent levels be when I am using

Re: Cassandra cluster performance

2017-01-06 Thread Kant Kodali
yeah you should async writes also you cannot neglect data size so you might want to let us know what your data size is? On Thu, Jan 5, 2017 at 2:57 PM, kurt Greaves wrote: > you should try switching to async writes and then perform the test. sync > writes won't make much difference from a sing

Re: Why does Cassandra recommends Oracle JVM instead of OpenJDK?

2017-01-02 Thread Kant Kodali
ey. You look at Google or FB and see how much open source contribution they have done. Oracle doesnt come anywhere close to that. On Mon, Jan 2, 2017 at 8:08 PM, Edward Capriolo wrote: > > > On Mon, Jan 2, 2017 at 8:30 PM, Kant Kodali wrote: > >> This is a subjective question

Re: Why does Cassandra recommends Oracle JVM instead of OpenJDK?

2017-01-02 Thread Kant Kodali
This is a subjective question and of course it would turn into opinionated answers and I think we should welcome that (Nothing wrong in debating a topic). we have many such debates as SE's such as programming language comparisons, Architectural debates, Framework/Library debates and so on. people w

Re: Why does Cassandra recommends Oracle JVM instead of OpenJDK?

2016-12-26 Thread Kant Kodali
> > > -- Brice > > On Mon, Dec 26, 2016 at 3:55 PM, Edward Capriolo > wrote: > >> >> >> On Sat, Dec 24, 2016 at 5:58 AM, Kant Kodali wrote: >> >>> @Edward Agreed JVM is awesome and it is a work of many smart people and >>> this is

Re: Why does Cassandra recommends Oracle JVM instead of OpenJDK?

2016-12-24 Thread Kant Kodali
nd by saying Oracle just has lot of self interest but I really hope that I am wrong since I am a big fan of JVM. On Fri, Dec 23, 2016 at 7:15 PM, Edward Capriolo wrote: > > On Fri, Dec 23, 2016 at 6:01 AM, Kant Kodali wrote: > >> Java 9 Module system looks really interest

Re: Why does Cassandra recommends Oracle JVM instead of OpenJDK?

2016-12-23 Thread Kant Kodali
Java 9 Module system looks really interesting. I would be very curious to see how Cassandra would leverage that. On Thu, Dec 22, 2016 at 9:09 AM, Kant Kodali wrote: > I would agree with Eric with his following statement. In fact, I was > trying to say the same thing. > > "I

Re: Why does Cassandra recommends Oracle JVM instead of OpenJDK?

2016-12-22 Thread Kant Kodali
uff that was never free is still not free - >> the change is that Oracle may actually be interested in the fact that some >> are using non-free products for free. >> >> Pretty much a non-story, it seems like. >> >> On Tue, Dec 20, 2016 at 11:55 PM, Kant Kodali wr

Re: Why does Cassandra recommends Oracle JVM instead of OpenJDK?

2016-12-21 Thread Kant Kodali
https://www.youtube.com/watch?v=9ei-rbULWoA On Wed, Dec 21, 2016 at 2:59 AM, Kant Kodali wrote: > https://www.elastic.co/guide/en/elasticsearch/guide/ > current/_java_virtual_machine.html > > On Wed, Dec 21, 2016 at 2:58 AM, Kant Kodali wrote: > >> The fact is Oracle is ho

Re: Why does Cassandra recommends Oracle JVM instead of OpenJDK?

2016-12-21 Thread Kant Kodali
https://www.elastic.co/guide/en/elasticsearch/guide/current/_java_virtual_machine.html On Wed, Dec 21, 2016 at 2:58 AM, Kant Kodali wrote: > The fact is Oracle is horrible :) > > > On Wed, Dec 21, 2016 at 2:54 AM, Brice Dutheil > wrote: > >> Let's not debate opin

Re: Why does Cassandra recommends Oracle JVM instead of OpenJDK?

2016-12-21 Thread Kant Kodali
ice > > On Wed, Dec 21, 2016 at 11:34 AM, Kant Kodali wrote: > >> yeah well I don't think Oracle is treating Java the way Google is >> treating Go and I am not a big fan of Go mainly because I understand the >> JVM is far more robust than anything that is out there.

Re: Why does Cassandra recommends Oracle JVM instead of OpenJDK?

2016-12-21 Thread Kant Kodali
offer support but maybe only for Oracle JDK. > >Twitter uses OpenJDK, but they have their own JVM support team. Not >sure everyone can afford that. > > As a side note I’ll add that Oracle is paying talented engineers to work > on the JVM to make it great. > > Cheers,

Why does Cassandra recommends Oracle JVM instead of OpenJDK?

2016-12-20 Thread Kant Kodali
Looking at this http://www.theregister.co.uk/2016/12/16/oracle_targets_java_users_non_compliance/?mt=1481919461669 I don't know why Cassandra recommends Oracle JVM? JVM is a great piece of software but I would like to stay away from Oracle as much as possible. Oracle is just horrible the way they

Re: quick questions

2016-12-18 Thread Kant Kodali
kload > > > > Option (a) will impact more the cluster stability than (b). > > > > Dominique > > > > [@@ THALES GROUP INTERNAL @@] > > > > *De :* Kant Kodali [mailto:k...@peernova.com] > *Envoyé :* samedi 17 décembre 2016 22:21 > *À :* user@cassandra.apache.o

Re: quick questions

2016-12-17 Thread Kant Kodali
; consistency then the read/write operation will fail. You could still do > reads/writes with CL=ONE, though (provided that at least 1 of the replicas > was up). > > - Max > > > On Dec 17, 2016, at 1:21 pm, Kant Kodali wrote: > > > > I keep hearing that the minim

Re: quick questions

2016-12-17 Thread Kant Kodali
t, Dec 17, 2016 at 10:21 PM, Kant Kodali wrote: > >> I keep hearing that the minimum number of Cassandra nodes required to >> achieve Quorum consensus is 4 I wonder why not 3? In fact, many container >> deployments by default seem to deploy 4 nodes. Can anyone shine some light

quick questions

2016-12-17 Thread Kant Kodali
I keep hearing that the minimum number of Cassandra nodes required to achieve Quorum consensus is 4 I wonder why not 3? In fact, many container deployments by default seem to deploy 4 nodes. Can anyone shine some light on this? What happens if I have 3 nodes and replication factor of 3 and consist

Are Materialized views persisted on disk?

2016-12-13 Thread Kant Kodali
Are Materialized views persisted on disk? sorry for the naive question.

Re: What is the size of each Virtual Node token range?

2016-11-28 Thread Kant Kodali
ies and comparing them with a key you are looking for. > > This thesis is maybe more correct: > There can be no more than 2^64 nodes in a cluster as then 2 nodes would > share exactly the same token and this does not make really sense. > > 2016-11-28 17:28 GMT+01:00 Kant Kodali

What is the size of each Virtual Node token range?

2016-11-28 Thread Kant Kodali
1) What is the size of each Virtual Node token range? 2) Are all Vnode token ranges in one server are of the same size? 3) If these token ranges are predefined then isn't it implying that the maximum total number of rows in a server is also predefined? maximum total number of rows in a server = nu

Re: Java GC pauses, reality check

2016-11-28 Thread Kant Kodali
C4 (Zing's Garbage Collector?)* *What timeouts are you referring to ?* On Mon, Nov 28, 2016 at 7:39 AM, Harikrishnan Pillai < hpil...@walmartlabs.com> wrote: > Hi @Kant Kodali, > > 11 /11 , 11 nodes in DC1 and 11 nodes in DC2. > > > ------

Re: Java GC pauses, reality check

2016-11-28 Thread Kant Kodali
's Garbage Collector?) What timeouts are you referring to here? Thanks, kant On Sun, Nov 27, 2016 at 9:57 PM, Harikrishnan Pillai < hpil...@walmartlabs.com> wrote: > Hi @Kant Kodali, > > We have multiple clusters running zing . > > One cluster has 11/11 and another one

Re: Java GC pauses, reality check

2016-11-27 Thread Kant Kodali
looked very > interesting and promising! By the way it's written in C++. > > > 2016-11-27 7:06 GMT+01:00 Kant Kodali : > >> Automatic Reference counting sounds like college level idea that we all >> have been hearing for since GC is born! There seem to be bunch of co

Re: Java GC pauses, reality check

2016-11-26 Thread Kant Kodali
t; are build in c or c++ has never been such a pain. > > On the other Hand Java is easier to handle for Developers. And coding > plain c is also a pain. > > Thats why i Said its a philosophic discussion. > Anyway Cassandra rund on Java so We have to Deal with it. > > Am 2

Re: Java GC pauses, reality check

2016-11-26 Thread Kant Kodali
writes/s > with azul .we never had a major gc above 10 ms . > > Sent from my iPhone > > > On Nov 25, 2016, at 3:49 PM, Martin Schröder wrote: > > > > 2016-11-25 23:38 GMT+01:00 Kant Kodali : > >> I would also restate the following sentence "java GC pauses ar

Re: Java GC pauses, reality check

2016-11-26 Thread Kant Kodali
Good to know about Zing! I will have to take a look. On Sat, Nov 26, 2016 at 8:27 PM, Kant Kodali wrote: > Benjamin Roth: How do you know Arc eliminates GC pauses completely? By > completely I mean no GC pauses whatsoever. > > When you say Java is NOT the First choice for Server

Re: Java GC pauses, reality check

2016-11-26 Thread Kant Kodali
5.11.2016 23:38 schrieb "Kant Kodali" : > >> +1 Chris Lohfink response >> >> I would also restate the following sentence "java GC pauses are pretty >> much a fact of life" to "Any GC based system pauses are pretty much a >> fact of li

Re: Java GC pauses, reality check

2016-11-25 Thread Kant Kodali
+1 Chris Lohfink response I would also restate the following sentence "java GC pauses are pretty much a fact of life" to "Any GC based system pauses are pretty much a fact of life". I would be more than happy to see if someone can counter prove. On Fri, Nov 25, 2016 at 1:41 PM, Chris Lohfink

  1   2   >