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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T23:52:54+00:00 2026-05-30T23:52:54+00:00

I am seeing a behavior with my mongos where the the C# driver SendMessage

  • 0

I am seeing a behavior with my mongos where the the C# driver SendMessage takes substantially longer when things get queued up on my one of my shards and mongos has to forward calls to that shard. Shouldn’t the SendMessage be independent from how busy the shard is and I should be able to queue things based on my network connection speed and not how busy the shard is?

  • 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-30T23:52:55+00:00Added an answer on May 30, 2026 at 11:52 pm

    Shouldn’t the SendMessage be independent from how busy the shard is and I should be able to queue things based on my network connection speed and not how busy the shard is?

    MongoDB does not use a buffer, but the operating system/network stack has one for all network traffic (and by socket/connection).

    What you are really talking about is the shard server’s network buffer. You’re saying “hey it doesn’t matter if you’re busy, just take this request”. However, the network buffer is not infinitely long. At some point, the buffer will be full and that connection will simply stop accepting more data until it clears up.

    If you are at the point where you are sending more operations/data than a single shard can handle, you have a limited number of options:

    1. More hardware (disk/mem) => more shards => less load on a single shard
    2. Double-check your shard key distribution (though it is almost impossible to change)
    3. Try some manual chunking to alleviate the load

    Unfortunately, none of these are easy solutions. MongoDB is great in that it provides the ability to shard data. But it has no automated features to handle “hot” nodes. If know which chunks are hot then you can split them and balancer will move them around but there is no automatic process which does this for you, if the data in chunk doesn’t change.

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

Sidebar

Related Questions

I'm seeing an odd behavior with trying to get seconds since epoch in objective
I am seeing some rather weird behavior with PowerShell, it looks like custom functions
I have this line of JavaScript and the behavior I am seeing is that
We are seeing bad behavior in an application when it runs on Server 2008
I'm seeing some strange behavior when I run Rails server with rails s -e
I'm seeing some different behavior between g++ and msvc around value initializing non-copyable objects.
I'm seeing a different behavior when I'm checking subclasses (Abstract->deriv) for type when I
I'm seeing behavior which looks like the READPAST hint is set on the database
I'm seeing different behavior with exceptions being caught or not being caught when I
I am seeing some behavior I really do not understand. In the first bit

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.