Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7187401
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T18:50:12+00:00 2026-05-28T18:50:12+00:00

I am currently struggling with the correct data format to use with Cassandra. I

  • 0

I am currently struggling with the correct data format to use with Cassandra. I guess this is because of the additional depth it offers over standard key-value storages.

My data format is currently defined like this:

  • Keyspaces for different Applications.
  • Column Families for different Application parts.
  • In these Column Families I have the data.

Most of the data is stored within a single Column Family in the format:

Key: UUID-1|UUID-2|UUID-3
Value: Array of PHP Values

After inserting several 100.000 entries (<1kb each) I see a performance degradation when reading data.

From my understanding the Column Families should be exactly where to store the main part of my data. Having most of my data in a single Column Family instead of several different ones should not be the point.

Should I look into splitting my data into different Column Families or is the approach correct but something else likely to be the reason for the problem?


Edit to answer DNA’s questions in the comment:

I am comparing the read time needed for a single key I have inserted before starting my tests.

The test key consistently read within <0.0010s for >1.000 times in the beginning while the database is still empty. The data written in the tests is structured like this:

  • A row identified by a Key built with 5 chars + 20 numbers
  • with one Column (1 Character) containing the current unix timestamp

I added entries and re-ran the same read test to compare how the read times. The read times I am listing here are the lower numbers:

   Entries | Read Time
         0 |   0.0010
   150.000 |   0.0013
   300.000 |   0.0014
   500.000 |   0.0016
   750.000 |   0.0019
 1.000.000 |   0.0022

Because this is only for basic testing this is only run on a single node (ec2 instance) at Amazon. The read time seems to increase by about 0.0003s for every 250.000 new rows.

I know that these are really small numbers and they are great, but the linear growing of the read time is not what I expected.

I am planning to move a big MySQL Server with a huge amount of small entries to Cassandra. It currently contains about 75 billion entries and the amount of new datasets it is collecting is really fast, a linear increase for read time is therefore making me wonder if am going into the right direction.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T18:50:12+00:00Added an answer on May 28, 2026 at 6:50 pm

    Thanks for updating the question.

    You should probably read this article about the Netflix benchmarking.

    Benchmarking with relatively small numbers of rows won’t tell you anything about the scalability for large datasets. It’s not difficult to run this kind of test for many millions of rows.

    If you are just testing at the moment, you should probably upgrade to the 1.0 branch (currently 1.0.7) as this is significantly faster than 0.7.

    Performance on cloud servers may not be very representative of the performance on real local hardware – although cloud servers are a great idea for cluster testing. See http://wiki.apache.org/cassandra/CassandraHardware

    If read latency is your key concern, then make sure you are familiar with the cache settings in Cassandra (keys_cached and rows_cached) – see http://wiki.apache.org/cassandra/StorageConfiguration, for example.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Because I'm currently struggling to learn IBM Rational ClearCase, I'd like to hear your
I'm currently struggling to use UI elements in Interface Builder. I keep trying to
I'm currently struggling with this Collection was modified; enumeration operation may not execute issue.
I am struggling to figure out the correct control to use for a list
I've been struggling with this problem for two weeks now. I've searched all over
I'm currently struggling with this issue. I need to check if the device, where
I'm currently struggling with a core data issue with my app that defies (my)
I am struggling with how to understand the correct usage of models. Currently i
I'm struggling sending POST data to a server and receiving the correct response. I
I am currently struggling with HTTP Session replication on tomcat with complex objects. Some

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.