Couchbase Questions: Python SDK

Have a Question? Get it answered by our community

sunchen's picture
Asked 5 days 12 hours ago

some errors with python client under concurrency

I am a new guy to couchbase.I try to use couchbase and couchbase's python client in my python-base web APIs.But I find some errors when I use ab(a tool to test the web api performence) to test the api with some concurrecny http requests. The errors of the python clinet throwed bellow here.I want...

gzz's picture
Asked 2 months 11 hours ago
Latest activity 1 month 2 weeks ago

Getting TxAsyncConnection to work

Hi all,

I'm currently writing a ms sql to couchbase bulk transfer module. For speed I want to use TxAsync, but somehow it seems I'm missing something :) It never transfers data, but the error callback is always triggered with "Operation timed out". What am I doing wrong?

Thx!...

matteo.giacomazzi's picture
Asked 2 months 3 weeks ago
Latest activity 2 months 3 weeks ago

Couchbase Python SDK in Ubuntu 14.04

Is there any known way to install Python SDK on Ubuntu 14.04?
Actually, trying to follow instructions for 12.04 - which is currently two years old - without any luck.

Thank you!

simonh10's picture
Asked 3 months 1 week ago
Latest activity 3 months 1 week ago

Pure Python API

Hi,
I know there has been some very brief discussion of a pure python couchbase API, but did anything actually happen with it?
A reliance on a C library makes deploying on a heterogeneous environment practically impossible.
Mixed environment of clients (Mac, Linux, Windows)....

stclaird's picture
Asked 3 months 2 weeks ago
Latest activity 3 months 1 week ago

Simple Search Question

Hello

I am in the process of getting to grips with couchbase and python but I have hit a question that I would like some help with:

I want to check for the existance of a document element/value in couchbase before I decide to add a new document.

So for example in my case I...

arachide99's picture
Asked 4 months 3 weeks ago
Latest activity 4 months 3 weeks ago

Can app on GAE(google app engine) access Couchbase server host on VPS/dedicated server?

python

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

Timeouts on a couchbase cluster using gevent on simple get calls

I'm using the latest python SDK (1.2) with gevent and I'm getting timeout errors on simple get operations. The cluster has 3 couchbase nodes hosted on Amazon and the client runs locally on one of them. When the client is restarted the errors no longer appear.
The exception I get is:...

youknowho's picture
Asked 6 months 4 hours ago
Latest activity 5 months 3 weeks ago

Timeouts on certain document queries

I have a "flagged" view that emits documents with a "f" property equal to 1. I'm simply using get_multi and set_multi to process 500 documents at a time from this view (code sets the "f" property to 0, adds the document to a dict, calls set_multi with this dict when all documents are processed...

zaraki's picture
Asked 6 months 1 week ago
Latest activity 6 months 1 week ago

How to query a view for a given date?

Hello,
The key format that we have is [YYYY,MM,DD,u'alphanumeric_string']
I have been trying unsuccessfully to get all the keys for a given day via
the python client.
eg. for 5th Jan 2014
In the query's map_key argument
view = views.iterator.View(cb,design='...

WillFuks's picture
Asked 7 months 2 weeks ago
Latest activity 7 months 2 weeks ago

Problems Accessing Full Set in Couchbase

I've created a bucket called "data" with roughly 1.5 million keys that consumes 464 MB of RAM. As an example of key:

key: 2000006394700604500@1384480800
value: {
"products": {
"CA534APF87KKQ": 2,
"CA534APF07KJW": 0.5,
"AT573APF09KPQ": 0.5,...

Pages