Questions tagged [membase]

Membase is a key-value database management system that supports on-the-wire client protocol compatibility with memcached. However unlike memcached it provides disk persistence and data replication.

101 questions
1
vote
1 answer

Membase Blocking on Key Eviction?

We've been using Memcached for a while and recently started testing Membase in AWS. We're testing a single instance of Membase 1.6.0 on a large EC2 instance with 5GB RAM, 750GB disk (Linux FC8). We've noticed that SQLite seems to block on eviction…
1
vote
1 answer

Trouble Building Membase

On Ubuntu 10.04 command line: sudo apt-get install build-essential automake libtool pkg-config check libssl-dev sqlite3 libevent-dev libcurl libcurl4-gnutls-dev Reading package lists... Done Building dependency tree Reading state…
user462432
  • 11
  • 1
1
vote
1 answer

How to check Contains in the view key in couch base

I have a view like function (doc, meta) { if(doc.Tenant) { emit([doc.Tenant.Id,doc.Tenant.User.Name],doc); } } In this view I want all the value belongs to Tenant.Id == 1 and User.Name where Contains "a" I can search…
1
vote
1 answer

How do I clean out all data from membase database

I have being looking through online documentation but cant seem to find any CLI command to remove all data from membase. I am running some performance tuning and need to clean out DB each time. Thanks,
morrrowgi
  • 171
  • 3
  • 10
1
vote
1 answer

Couchbase Java getAndLock confusion

I have two questions. I have a multithreaded Java application. What happens when a thread calls getAndLock on a key, and immediately after that another thread calls getAndLock on the same key? Will the second thread automatically block until the…
Tarandeep Gill
  • 1,506
  • 18
  • 34
1
vote
1 answer

membase(couchbase) stats(cbstats) show 70% of get_misses

I am using couchbase 1.8.1. This is the output cbstats command ubuntu@ip-10-128-117-9:~$ /MEMBASEDATA/opt/couchbase/bin/cbstats localhost:11210 all | egrep "hit|miss" cas_hits: 0 cas_misses: 0 decr_hits: …
hridayesh
  • 1,123
  • 1
  • 14
  • 36
1
vote
1 answer

Does membase support tranactions?

I have a multi threaded evn. And I have to put/update two keys or not to update any keys. Does Membase supports it ? Is there any strategy I can follow ?
Arjit
  • 565
  • 9
  • 27
1
vote
2 answers

Enyim.Caching.Memcached - Failed to read from Socket

I'm currently building an environment for deploying a web.application. The Web.Application uses Enyim.Caching. There looks to be an issues with the sockets I'm unfamiliar with membase server, if there is any additional information that I can include…
user617850
  • 35
  • 1
  • 8
1
vote
2 answers

On AWS EC2: membase SERVER_ERROR proxy write to downstream

I have setup membase server on AWS EC2 instance. I security groups I have opened all ports for client's IP address. When I access it through telnet (using port 11211) I get following error membase SERVER_ERROR proxy write to downstream But when I…
hridayesh
  • 1,123
  • 1
  • 14
  • 36
0
votes
1 answer

Membase cache expire policy

I add a value to couchbase cache with expiration 1 seconds, however it was expired in more than 20 seconds. What is cache expiration policy of membase? Here is my code public string TestCache() { String spoon = null; using…
user929794
  • 223
  • 1
  • 11
0
votes
1 answer

Membase? How does this work?

When I add an IP address and make connection, does the client gets All server's available IP addresses? Or does client need to know at least 2 IP addresses for when one of them goes down? This is the code I've been testing with (JAVA) List addrList…
Jae Park
  • 621
  • 4
  • 13
  • 27
0
votes
1 answer

Couchbase - Unable to store key and value though bucket is connected to successfully

I've been trying to set up a Couchbase server. But unable to store any value and value. Following Couchbase manual, I simply install Couchbase, refer the Couchbase Client .NET (Enyim.Caching) into project, then re-configure Couchbase section in app…
Undefined Identity
  • 475
  • 3
  • 7
  • 16
0
votes
1 answer

database events or polling in nodejs (membase)

In my application I have a global state, which I distribute to different nodes on different servers through membase. The nodes themselves have clients who need to be informed when the global state has been changed, but the only way I see is to poll…
K..
  • 4,044
  • 6
  • 40
  • 85
0
votes
1 answer

Installing Membase from source

I am trying to build and install membase from source tarball. The steps I followed are: Un-archive the tar membase-server_src-1.7.1.1.tar.gz Issue make (from within the untarred folder) Once done, I enter into directory install/bin and invoke the…
Praveen D
  • 21
  • 1
0
votes
1 answer

Membase and Redis when they have to store on the disk

I see a lot of benchmark in which people compare Membase with Redis, only when the database can be stored all in memory. Obviously Redis is much better, but, if both start to store the data on the disk, which is better?
M4rk
  • 2,172
  • 5
  • 36
  • 70