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 7673179
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T16:27:05+00:00 2026-05-31T16:27:05+00:00

I am currently benchmarking Cassandra with 3 nodes using CassandraSharp. My main concern is

  • 0

I am currently benchmarking Cassandra with 3 nodes using CassandraSharp.
My main concern is more latency than throughput, so after a bit of GC tuning here are my numbers (on 100 000K inserts, mono-thread):

  • Iter/sec: 1600
  • Average: 600µs
  • 95 cent: 600µs
  • 99 cent: 5000µs
  • Max: 50 000µs

My problem here is that once in a while I get a “bad” latency (50ms), my goal being to have consistent latency, even at the cost of a higher average.

I believe that this is caused by the GC, and I’m wondering if it could be avoided.

(As a side note, is it a good practice to send a big amount of inserts to one node and let it handle it or should I “load balance” it in the client?)

  • 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-31T16:27:06+00:00Added an answer on May 31, 2026 at 4:27 pm

    50ms is within the normal range for a young-generation garbage collection. You can enable GC logging in cassandra-env.sh by uncommenting the appropriate lines towards the bottom to verify that this is the problem.

    (Flushes do not block inserts unless your disk is so slow it can’t keep up with insert volume, which is unusual since flushes are sequential i/o.)

    If young generation collections are indeed correlated with the higher latencies, you can reduce try making the young generation smaller (also configured in cassandra-env.sh), at the potential cost of trading latency for throughput.

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

Sidebar

Related Questions

I'm currently benchmarking partitioned tables with SQL Server 2005 to compare them to using
Currently, I am writing up a bit of a product-based CMS as my first
Currently I am using Amazon Cloudfront to service static objects on my ASP.Net MVC3
I'm currently working on benchmarking a RESTful service I've made, and part of that
Currently using Oracle/BEA/Plumtree ALUI Portal 6.1, and am trying to display a client's IP
Currently I'm transferring a String across the network, using DataInput/OutputStream's. The String I am
Currently the way I store strings is by using Localizable.strings, for example English: URL
Currently, I don't really have a good method of debugging JavaScript in Internet Explorer and
Currently my workflow with Emacs when I am coding in C or C++ involves
Currently we have a hybrid ASP/PHP setup connecting to a SQL Server 2005 database.

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.