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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T16:48:01+00:00 2026-06-18T16:48:01+00:00

I think that Couchbase may be able to solve a lot of problems in

  • 0

I think that Couchbase may be able to solve a lot of problems in my current project but there are a few basic things that I need to be sure of first:

1) Say I have a cluster with 10 nodes, I add a document to node A. I then ask node B for that document, will I definitely get the document back? Is there a risk that I ask node B and it thinks the document doesn’t exist?

2) Now say I write a view so that I can see all documents for a certain author. I add a document to node A. I know that there is a certain lag time for this document to appear in the view as it is being indexed. What I want to know is will that lag time be very very small as I am only indexing 1 document?

Basically I have a website which manages something in the order of 100 million documents. There are thousands of users at any one time so there are around 10 – 20 servers running. With the current architecture, if I insert a document into node A, when I look for that document I may well be accessing node B to get it. So my overall question is:

The user inserts a document into node A, I then show them a screen of all their documents. If I were using Couchbase, this screen would be the result of querying a view keyed on Author. How likely is it that the user won’t be able to see the document they just posted?

  • 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-18T16:48:02+00:00Added an answer on June 18, 2026 at 4:48 pm
    1. You will always be able to get the document back no matter what node you ask. If you use one of the Couchbase SDK’s then they will always make sure they ask the node that has the document. If you use moxi then it will do the same so you shouldn’t need to worry about this.

    2. This depends on how heavy your write workload is. In the current architecture (2.0) a document must hit disk before it is indexed. If you have a heavy write workload then the lag will increase since there will be a longer line of items that need to be written to disk. I suggest doing benchmarking with your specific application requirements in mind for this use case and posting any problems or issues you have on the Couchbase forums.

    Also, you will want to take a look at the commands that have durability requirements and doing queries with the stale query parameter set to false. The durability commands will allow you to have you application block until an item hits disk and doing a query with stale set to false will make sure your view is up to date with the latest items put into Couchbase. This process will ensure your users always see the latest results of you

    EDIT: Couchbase 3.0 no longer requires items to be persisted to disk before they can be queried.

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

Sidebar

Related Questions

I think that this should be easy, but I'm not able to get it
I don't think that what I want to do is possible, but there are
I think that it is a very basic question, but I have spent hours
I think that some newer languages like JS can do this natively, but I
I realize that Couchbase provides a client to their memcached server, but I'm trying
I think that my code can be easier, but I'm not sure. Look and
I think that I have a rather simple question, but I can't figure out
I think that I'm experiencing a database connection timeout with my SQLite connection, but
I think that such a list would be useful, but I have been unable
I think that it's really crazy question but anyway I want to know if

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.