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

  • Home
  • SEARCH
  • 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 4610406
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T01:07:36+00:00 2026-05-22T01:07:36+00:00

ok. I was reading about cassandra and every article i read mentioned that writes

  • 0

ok. I was reading about cassandra and every article i read mentioned that writes in cassandra are very “fast” due to eventual consistency.

I setup cassandra on a linux box, created a schema, and created a client via c# using fluent cassandra client. well , it didnt work cause i wasnt able to access to remote cassandra instance via the fluent cassandra client.

So i installed cassandra on windows, created schema etc.

Next, I inserted 1 million entries to cassandra, which took about 12 minutes. The client and server are on the same machine which is quad core with 8GB ram.

This isnt fast. I did similar test with MongoDB which took 4 minutes to write 1 million documents to it.

I did a smiliar test with ObjectivityOODBMS, it took 30 seconds to insert 1 million objects.

What s the catch with cassandra, it wasnt fast according to my test?
Would it behave different on a linux server with different client like Java?

  • 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-22T01:07:37+00:00Added an answer on May 22, 2026 at 1:07 am

    I haven’t used Cassandra beyond doing a bit research on it, but have used MongoDB. Hopefully these thoughts/notes will help.

    On a standalone machine, using mongoimport I was able to loaded about 24 million documents into MongoDB in about 6 minutes. Your 4 minutes to write 1 million does seem slow – factors could be: disk speed / how you are inserting – e.g. if you insert 1 doc at a time, then it will be slower. Especially if you use SafeMode (I don’t know if Cassandra has the same kind of thing). You should instead insert via one of the batch APIs (e.g. InsertBatch on the C# driver). The same kind of thing would be true for Cassandra (1 by 1 = slow, batched inserts = faster). It’s this ability to easily add nodes to scale out writes/reads that really gives you the full (and fair) picture of these technologies.

    Obviously on a standalone machine, you will have contention which could be a factor.

    The thing to note, is that technologies like MongoDB and Cassandra make it very easy to scale out. e.g. in MongoDB terminology, you can scale your writes (i.e. increase throughput) by using sharding. Especially when you get to larger data volumes, being able to have a dozen nodes all accepting writes at the same time is obviously going to help the IO situation and increase writes. Likewise, you can scale reads with replica sets.

    In summary, my question would be how are you inserting those documents – is it done in the most efficient/batched manner?

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

Sidebar

Related Questions

I'm currently reading about algorithmic analysis and I read that a certain algorithm (weighted
In reading about design patterns I read that the advantage of strategy over template
While reading about tuning SQL queries, I read somewhere that 'Always use table alias
While reading about memmove I read that it can handle MEMORY OVERLAPS but I
When reading about pipes in Advanced Programming in the UNIX Environment, I noticed that
After reading about CCR : http://www.infoq.com/news/2008/12/CCR I get the impression that it does pretty
After reading about the System.Diagnostics.Contracts.Contract static class that has been influenced by the awesomeness
In reading about the Observer design pattern, I noticed that it is implemented using
Reading about the problem of creating a read only primitive vector in C# (basically,
After reading about Erlang's lighweight processes I was pretty much sure that they were

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.