Re: JVM safepoints, mmap, and slow disks

2016-10-07 Thread Vladimir Yudovin
Hi Josh, Running with increased heap size would reduce GC frequency, at the cost of page cache. Actually it's recommended to run C* without virtual memory enabled. So if there is no enough memory JVM fails instead of blocking Best regards, Vladimir Yudovin, Winguzone - Hosted Cloud Cassandra

JVM safepoints, mmap, and slow disks

2016-10-07 Thread Josh Snyder
Hello cassandra-users, I'm investigating an issue with JVMs taking a while to reach a safepoint. I'd like the list's input on confirming my hypothesis and finding mitigations. My hypothesis is that slow block devices are causing Cassandra's JVM to pause completely while attempting to reach a

Re: Rationale for using Hazelcast in front of Cassandra?

2016-10-07 Thread Benjamin Roth
@Peter: Thanks for that comment! Thats pretty much what I thought when reading the phrase why not to use CS as a cache. Thoughts to sth in front of sth else: If your real world case requires more performance, one option is always to add a cache in front of it. How much overall gain you have from

Re: Rationale for using Hazelcast in front of Cassandra?

2016-10-07 Thread Peter Lin
Cassandra is a database, not an in-memory cache. Please don't abuse Cassandra like that when there's plenty of existing distributed cache products designed for that purpose. That's like asking "why can't I drag race with a school bus?" You could and it might be fun, but that's not what it was

RE: Rationale for using Hazelcast in front of Cassandra?

2016-10-07 Thread KARR, DAVID
No, I haven’t “thought why people don’t use Cassandra as a cache”, that’s why I’m asking this here. I’m asking the community for their POV when it might make sense to front Cassandra with Hazelcast. This is even mentioned as a use case in the Hazelcast documentation (“As a front layer for a

Re: Running Cassandra in Integration Tests

2016-10-07 Thread Eric Stevens
If you happen to be using Scala, we recently released some tooling we wrote around using CCM for integration testing: https://github.com/protectwise/cassandra-util You define clusters and nodes in configuration, then ask the service to go:

Re: cql-maven-plugin

2016-10-07 Thread Brice Dutheil
At this moment no, as this is a maven plugin. Extracting such code would be relatively trivial. -- Brice On Fri, Oct 7, 2016 at 1:24 PM, Ali Akhtar wrote: > Is there a way to call this programatically such as from unit tests, to > create keyspace / table schema from a cql

Re: cql-maven-plugin

2016-10-07 Thread Ali Akhtar
Is there a way to call this programatically such as from unit tests, to create keyspace / table schema from a cql file? On Fri, Oct 7, 2016 at 2:40 PM, Brice Dutheil wrote: > Hi there, > > I’d like to share a very simple project around handling CQL files with > maven.

Re: Rationale for using Hazelcast in front of Cassandra?

2016-10-07 Thread Dorian Hoxha
Primary-key select is pretty fast in rdbms too and they also have caches. By "close to" you mean in latency ? Have you thought why people don't use cassandra as a cache ? While it doesn't have LRU, it has TTL,replicatio,sharding. On Fri, Oct 7, 2016 at 12:00 AM, KARR, DAVID

cql-maven-plugin

2016-10-07 Thread Brice Dutheil
Hi there, I’d like to share a very simple project around handling CQL files with maven. We were using the cassandra-maven-plugin before, but with limitations on the authentication and the use of thrift protocol. I was tempted to write a replacement focused only the execution of CQL statements, in