Couchbase Questions: node.js SDK

Have a Question? Get it answered by our community

teriyaki's picture
Asked 4 months 3 hours ago

Is accessing memcached bucket slower than direct memory array read/write?

I have a nodejs project needs to store/read temporary data.
Somebody suggest me use memcached bucket.
As I know couchbase server always separate from application server.
Just wonder if memcached bucket is in another physical server, nodejs app access memcached bucket via...

jasonfill's picture
Asked 4 months 16 hours ago

Getting Most Updated/Reliable Data Back From A View

I am looking for best practices for getting updated and reliable data back from a view. I have read a bit about the stale parameter and I understand that sending stale=false will force a reindex prior to returning the results - however it is clear there is a performance hit for this. (...

team.avesta's picture
Asked 4 months 17 hours ago

GetMulti returns null

I am using couchbase version 2.2.0 community edition and couchbase nodejs client lib version 1.2.1

I have created a view that returns all the documents of type 'Brand'

Here is my view code :

...
pithu's picture
Asked 4 months 1 day ago

node process do not exit until connection shutdown

Hi Couchbase,

running the following code with node.js never exits.

var Couchbase = require('couchbase');
var connection = new Couchbase.Connection({bucket: "default"}, function(err){
//
...
a4xrbj1's picture
Asked 4 months 2 days ago
Latest activity 3 months 2 weeks ago

Key exists error while using ADD (via node.js)

Hi guys,

posted my question already on Stackoverflow.com (http://stackoverflow.com/questions/22611021/key-exists-error-while-using...) but to no avail. Hopefully some expert here can...

mxav@yahoo.com's picture
Asked 5 months 1 week ago
Latest activity 5 months 1 week ago

[couchnode] How does couchnode handle unavailability from one or some nodes of the couchbase cluster

Hello,

We are using couchnode for a couple of months now and we really like it, but we have experienced an issue a couple of days ago while adding a new node to an existing couchbase cluster and we would like to understand better the way couchnode handles unavailability from one or some...

saransh2012's picture
Asked 5 months 2 weeks ago
Latest activity 5 months 1 day ago

How is buffer stored?

I am trying to use crypt module of node.js to encrypt the password of the user. The function return me a buffer which I store in couchbase. I want to know how does the node SDK of couchbase store the buffers? When I am trying to verify if the passwords are correct or not, it doesn't match....

christoph's picture
Asked 6 months 1 week ago
Latest activity 6 months 5 days ago

Connection to multiple nodes

Hi,

I tried the following code;

var db = new couchbase.Connection({
host: ["<host1>:8091","<host2>:8091"]
bucket:'default',
}

Now, if I shut down host1, than I get a connection. If I shut down host2, than the...

christoph's picture
Asked 6 months 1 week ago

Connection to multiple nodes

Hi,

I tried the following code;

var db = new couchbase.Connection({
host: [":8091",":8091"]
bucket:'default',
}

Now, if I shut down host1, than I get a connection. If I shut down host2, than the connection fails.

BTW: The following works:...

jonathonl's picture
Asked 6 months 2 weeks ago
Latest activity 5 months 3 weeks ago

Expiry for getMulti?

Is there no way to do a touch and get with getMulti? According to the docs, the (singular) get method has "format" and "expiry" as possible options but getMulti has "format" and "spooled".

What's the point of a non-spooled option anyway? If you want separate callbacks for each document,...

Pages