Questions tagged [cassandra]

Cassandra is a highly scalable, eventually consistent, distributed, structured row/column store.

Filter by
Sorted by
Tagged with
12
votes
1answer
13k views

Storing a ByteBuffer into a Cassandra database

I have a couple of fields which I am trying to put together into a single ByteBuffer before storing it in a Cassandra database. That byte array which I will be ...
4
votes
1answer
2k views

Cassandra slow query log analysis tool

Cassandra, when debugging is enabled, logs slow queries to the debug log file. Typical entries look like: ...
3
votes
1answer
106 views

Initializing metadata and then update it from the background thread

I am working on creating a scheduler which will connect to cassandra database and extract data from few tables and store it in few variables. Then from my main thread I will be using those variables ...
2
votes
1answer
103 views

Inserting data into column family

I have started working with Cassandra database recently and I was trying to insert some data into one of my column family that I have created. Below is the code by which I am trying to insert into ...
2
votes
0answers
135 views

How to efficiently execute multiple async calls in parallel to cassandra in C#?

I am working with Cassandra where I am getting some stuff out of it using Datastax C# driver. Below is my code which interacts with Cassandra db and in my ...
2
votes
0answers
163 views

Optimizing Cassandra Schema to avoid deleting data

I come from MySQL type of mind frame but have worked with MongoDB and ElasticSearch type of NoSQL. I'm using a small use case of Cassandra to able to scale a playlist format for users. In C* Summit ...
1
vote
1answer
1k views

Thread safe singleton class to connect to Cassandra

I am working with Cassandra and using the Datastax Java driver for it. Here is my singleton class where it makes a connection to Cassandra: ...
0
votes
1answer
54 views

Pass Cassandra session reference to http handlers

I'm building a golang backend using gorilla/mux and gocql. My objective is to create a session to a remote cassandra and share the very same session to a serie of handlers. I came out with this ...
0
votes
1answer
103 views

Multitenant Cassandra Query in Clojure

The following code handles querying for user data in a multitenant Cassandra database. Each tenant has their own keyspace and within that keyspace data about each tenants users is stored. This code ...