Couchbase Questions: node.js SDK

Have a Question? Get it answered by our community

christoph's picture
Asked 3 months 6 days ago
Latest activity 3 months 1 day 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 3 months 6 days 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 3 months 2 weeks ago
Latest activity 2 months 2 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,...

evantahler's picture
Asked 3 months 2 weeks ago
Latest activity 3 weeks 4 days ago

getAndLock for node library?

In previous versions of the node library, getAndLock() was implemented.... why was it removed?

saransh2012's picture
Asked 3 months 2 weeks ago
Latest activity 3 months 2 weeks ago

Best Mark-up Language suited for couchbase

I want to store text in couchbase for blogs where users are allowed to use different fonts, size, and colour in text in the text. Therefore I was looking for a markup language to store the text in couchbase.

What are the best mark-up language to use with couchbase?

Will it still...

Ryan Clark's picture
Asked 3 months 3 weeks ago

Connection NOT persisting.

When connecting to my couchbase cluster I seem to be able to make request successfully for a few minutes and then all request begin to fail with the following:

getMulti Error:
{ [Error: At least one of your operations failed, check the results object for more information.] code:...

fmarci's picture
Asked 4 months 1 week ago
Latest activity 3 weeks 4 days ago

open files/sockets

i'm quite new in node js/couchbase.
in my project i try to make a small web app to query data from a couchbase cluster. after some test i've realised (because of some mysterious errors) the app keeps open connections (files and or sockets) and the os limit (linux - 1024) is reached quite...

arachide99's picture
Asked 4 months 2 weeks ago
Latest activity 4 months 1 week ago

couchbase cluster and nodejs distributed architecture

I am working on a nodejs framework which is distributed (multi-process) architecture. It can integrate several physical servers with nodejs apps together. Just wonder if I can deploy a nodejs app on a physical server, at same time I can install a couchbase on the same physical server.

...

katsou's picture
Asked 4 months 2 weeks ago
Latest activity 4 months 1 week ago

Node couchbase module on Ubuntu server 12.04 throws “Invalid ELF header” error

I'm trying to install a node app with couchbase on an Ubuntu server.

I have downloaded Couchbase and installed it from here (as listed on download page): http://packages.couchbase.com/...

jesuslg123i's picture
Asked 5 months 1 day ago
Latest activity 4 months 3 weeks ago

Group level on Node.js

Hello,

I trying to make work the group_level in node.js but I always get this error:

{ [Error
...

Pages