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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T22:42:36+00:00 2026-06-09T22:42:36+00:00

Background We have been working very hard to try come up with solutions for

  • 0

Background

We have been working very hard to try come up with solutions for a “High Performance” application. The application is basically a high throughput in-memory manager, with a sync back to disk. The “reads” and “writes” are tremendously high, around 3000 transactions a second. We try and do as much as possible in memory, but eventually the data gets stale and needs to be flushed to disk, and this is where a huge “bottleneck” ensues. The app is multi-threaded, with about 50 threads. There is no IPC (inter-process comms)

Attempts

We initially wrote this in Java, and it worked quite well, up until a certain load, the bottleneck was hit and it just couldn’t keep up.
Then we tried it in C#, and the same bottle-neck was reached.
We tried this with unmanaged code (C#), and though on initial tests was blindingly fast using MMF (Memory-map files), in production, reading was slow (are using Views).
We did try CouchBase, but we stumbled into problems surround high network utilization. This might be poor configuration on our part!

Extra Info: In our Java attempt (non-MMF), our thread with the Queue of information that needs to get flushed to disk builds to the extent of being unable to keep up “writing” to disk.
In our C# Memory-Map File Approach, the problems is that READS are very slow, and the WRITES working perfectly. For some reason, the Views are slow!

Question

So the question is, situations where you intend of transferring massive amounts of data; can someone please assist with a possible approach or architectural design that might be able to assist? I know this seems a bit broad, but I think the specific nature of high performance, high throughput should narrow down the answers.

Can anyone vouch for using Couchbase, MongoDB or Cassandra at such a level? Other ideas or
solutions would be appreciated.

  • 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-06-09T22:42:37+00:00Added an answer on June 9, 2026 at 10:42 pm

    Massive amounts of data and disk access. What kind of disk are we talking about? HDDs tend to spend a lot of time moving the head around if you work with more than one file. (That shouldn’t be a problem if you use SSDs, though.) Also, you should take advantage of the fact that memory-mapped files are managed in page-sized chunks. Data structures should be aligned to page boundaries, if possible.

    But in any case, you must make sure you know what the bottleneck is. Optimizing data structures wouldn’t help much if you actually lose the time due to thread synchronization, for example. And if you’re using a HDD, page alignment might not help as much as stuffing everything into a single file somehow. So use appropriate tools to figure out which brakes are still holding you back.

    Using a general-purpose database implementation might not help you as much as you hope. They are, after all, general-purpose. If performance really is that much of an issue, a special implementation with your requirements in mind might outperform these more general implementations.

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

Sidebar

Related Questions

I come from a Java background and have been using C# for the last
I am very new to javascript and ajax/jquery and have been working on trying
First a bit of background. I have been working on the MS platform for
To give you a little background I have been working with phonegap and jquery
Background : I have been trying to display a sentence with Bold and Italic
I have been all over the place, seems the UITableView with a static background
Unfortunately I've got a bug that I have been working on for 1 full
I have just started working with a new company in a very small IT
I have been working on a site for a client and I am about
I have been working on a new menu and I'm almost there, but the

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.