Couchbase Blog

October 2, 2013

Python SDK 1.1.0 Released

The Python SDK for Couchbase has just been release with a new version -- 1.1.0. This blog post will go into some of the enhancements that have gone into this release.

The 1.1.0 SDK utilizes a newer version of libcouchbase (2.1.x) with additional features, bugfixes, and performance improvements. Note that it is also possible to use the older 1.0.0 SDK with the newer libcouchbase.

Read more »

October 1, 2013

Pagination with Couchbase

[This blog was syndicated from]


If you have to deal with a large number of documents when doing queries against a Couchbase cluster it is important to use pagination to get rows by page. You can find some information in the documentation in the chapter "Pagination", but I want to go in more details and sample code in this article.

For this example I will start by creating a simple view based on the beer-sample dataset, the view is used to find brewery by country:

function (doc, meta) {
  if (doc.type == "brewery" &&{


This view list all the breweries by country, the index looks like:

Doc id Key Value
bersaglier Argentina null
cervecera_jerome Argentina null
brouwerij_nacional_balashi Aruba null
australian_brewing_corporation Australia null
carlton_and_united_breweries Australia null
coopers_brewery Australia null
foster_s_australia_ltd Australia null
gold_coast_brewery Australia null
lion_nathan_australia_hunter_street Australia null
little_creatures_brewery Australia null
malt_shovel_brewery Australia null
matilda_bay_brewing Australia null
... ... ...
... ... ...
... ... ...
yellowstone_valley_brewing United States null
yuengling_son_brewing United States null
zea_rotisserie_and_brewery United States null
fosters_tien_gang Viet Nam null
hue_brewery Viet Nam null

So now you want to navigate in this index with a page size of 5 rows.

Read more »

September 30, 2013

September 30: The Week in Couchbase NoSQL

Here's what's coming up this week at Couchbase.


Read more »

September 23, 2013

libcouchbase with C++ and threads (1/2)

I decided to play around a bit last week trying to create a more standard set of C++ bindings for libcouchbase.

Read more »

September 19, 2013

Ruby on Rails and Couchbase-Model for a Social Application!

Also using HAML, SASS, Bootstrap, And Twitter OmniAuth...

Before we start – Here’s the GitHub code for this App…

We recently had our 3rd Couchbase San Francisco conference which, by the way,  was a great success and a fantastic day / night.  At the conference, I gave an 80-minute session based on the very sample application we are going to be building today.  The purpose of my talk was to show how we can model JSON documents within Couchbase and utilise the full Map/Reduce capabilities to build an application end-to-end.

Read more »

September 16, 2013

September 16: The week in Couchbase NoSQL

We had some major announcements last week! Here's what's coming up this week at Couchbase.


Read more »

September 13, 2013

Intro and Couchnode 1.0.0

Hey Everyone!
My name is Brett Lawson and I am the new Couchbase Node.js SDK developer.  I have worked for Couchbase for about 3 weeks now, but I haven’t had a chance to get a blog out until now.  I have been a regular contributor to the Node.js SDK for over 10 months now.
I bring experience with me from the social games industry, wher

Read more »

September 13, 2013

Couchbase ‘JSON Anywhere’ Mobile Strategy - First NoSQL database for mobile

Today we made another big announcement that has the potential to shake up the NoSQL landscape.  Our JSON Anywhere mobile strategy allows us to leapfrog the competition with significant new data management capabilities targeted specifically at mobile app developers.

Read more »

September 13, 2013

The Awesome Power of Technology to Disrupt

A close friend once said to me  – “never underestimate the awesome power of technology to disrupt.”  We are in the midst of sweeping disruptions in a post-PC era with radical changes in hardware, operating systems, database systems, software frameworks and applications.

Read more »