Geschiedenis van de FOK!.nl-crew. Overzichten per user en forum.

License: Apache-2.0

Language: Erlang

The Couchbase Server

This application represents the top of the hierarchy of all memcached smart services. It is an application in the Erlang OTP sense.


Build dependencies include...

  • erlang R14 (make sure to have functional crypto)


You should use top level make file and repo manifest as explained here: https://github.com/membase/manifest/blob/master/README.markdown

Runtime dependencies

Before you start the server, you may need to do the following

  • Make sure the needed ports are not being used (these include 8091, 11211, 11212, etc).


After building everything via top level makefile you'll have couchbase-server script in your $REPO/install/bin (or other prefix if you specified so). You can run this script for normal single node startup.

During development it's convenient to have several 'nodes' on your machine. There's ./cluster_run script in root directory for achiving that. Feel free to ask --help. You normally need something like -n2 where 2 is number of nodes you want.

It'll start REST API on ports 9000...9000+n. memcached on ports 12000+2i and 11999-i and moxi ports on 12001+2i ports. CAPI (which was originally expected to be couch-compatible http API implementation) is 9500...9500+n

Note that blank nodes are not configured and need to be setup. I suggest trying web UI first to get the feeling of what's possible. Just visit REST API port(s) via browser. For development mode clusters it's port 9000 and higher. For production mode it's port 8091.

Other alternative is setting up and clustering nodes via REST API. couchbase-cli allows that. And you can easily write your own script(s).

There's ./cluster_connect script that eases cluster configuration for development clusters. Ask --help.

Sometimes during debugging/development you want smaller number of vbuckets. You can change vbuckets number by setting COUCHBASE_NUM_VBUCKETS environment variable to desired number of vbuckets before creating new couchbase bucket.

Other tools

Couchbase ships with a bunch of nice tools. Feel free to check $REPO/install/bin (or $PREFIX/bin). One of notable tools is mbstats. It allows you to query buckets for all kinds of internal stats.

Another notable tool is couchbase-cli. Script is called just couchbase.

Copyright (c) 2012, Couchbase, Inc.

Project Statistics

Sourcerank 3
Repository Size 55.9 MB
Stars 0
Forks 0
Watchers 11
Open issues 0
Dependencies 1
Contributors 40
Tags 43
Last updated

Top Contributors See all

Steve Yen Aliaksey Artamonau Sean Lynch BigBlueHat Artem Stemkovski pavel-blagodov Dustin Sallings Matt Ingenthron Volker Mische codriter Bin Cui Filipe Manana Dale  Harvey Damien Katz Trond Norbye Darrell Brogdon Eric Lambert Aaron Miller Sriram Melkote Mike Wiederhold

Recent Tags See all

v0.0.3 June 16, 2014
v0.0.2 June 15, 2014
v0.0.1 June 15, 2014
1.6.0beta4 September 23, 2010
1.6.0beta4rc1 September 20, 2010
1.6.0beta3.2b September 14, 2010
1.6.0beta3.1 September 07, 2010
1.6.0beta3 August 30, 2010
1.6.0beta3c August 27, 2010
1.6.0beta3b August 12, 2010
1.0.3maint1 August 03, 2010
1.6.0beta3a July 26, 2010
1.6.0beta2 July 21, 2010
1.6.0beta2rc3 July 20, 2010
1.6.0beta2rc2 July 20, 2010

Something wrong with this page? Make a suggestion

Last synced: 2017-04-04 14:24:17 UTC

Login to resync this repository