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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T01:34:26+00:00 2026-06-02T01:34:26+00:00

The case I have is that I currently have 3 memcached instances running at

  • 0

The case I have is that I currently have 3 memcached instances running at 3 different servers. My application is currently at the same 3 different nodes. All the applications servers know of all the memcached servers, but if one of them goes down, I have no way of notice.
The idea is to move the memcached servers to own nodes.

I have begun to look at CouchBase as maybe an alternative of solving this, but are unsure of exactly it will work.

Will it work so that I have a CouchBase cluster, on each application node, and then connect them to the different memcached servers, and CouchBase will then monitor and know which ones is alive?

In that case, how does the application which are currently tied to the memcached instances know how to get the data if one of the memcached instances are down? Or is it CouchBase that will be the middle-man taking care of where to store it?

  • 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-02T01:34:29+00:00Added an answer on June 2, 2026 at 1:34 am

    Couchbase is a very adaptive platform to use when replacing a standard memcached instance. It allows you to move a lot of fault tolerances from your application to the couchbase instances.

    As you are using PHP, I recommend that you use the PHP SDK when accessing the Couchbase cluster. It can be obtained here: http://www.couchbase.com/develop/php/current

    Now, the important thing to know is that the SDK for PHP is ‘vbucket aware’. What this means is that when you use it to connect to the Couchbase cluster it will gather all of the information for all of the nodes from the address you put into the constructor. For example:

    #Create the Couchbase object
    $cb_obj = new Couchbase("127.0.0.1:8091", "user", "pass", "default");
    

    This will create an object that you are able to run commands through that will, on it’s own, be able to handle all of the failovers should a node go down, etc that is required. Each language has it’s own little code processes (I generally use Python myself) but once you are familiar with them they are very effective.

    The cluster can be managed through a command line interface or though a web URL by accessing http://<nodehostname>:8091/. This is also the URL you will access to setup the initial cluster after installing it.

    I would highly recommend Couchbase as an alternative to standalone memcached.

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

Sidebar

Related Questions

I currently have a select-case that will read a name field from a recordset,
I have a regular .NET application. In this case I have a part that's
I have an Access application that's currently using the fhandlefile() procedure here: http://access.mvps.org/access/api/api0018.htm ...to
I currently have a client-server application that involves a Silverlight client and a .NET
Given a case where I have an object that may be in one or
I am trying to learn Microsoft MVC 2, and have in that case found
I have a case statement that returns a date; case when (ma.first_active_date is not
I have an algorithm that finds a value in a cell, for this case
My use case is this... I have a project that has two production branches.
I have a switch case statement that doesn't work. I've checked the input, it's

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.