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 Tugdual Grallhttps://plus.google.com/103667961621022786141noreply@blogger.com6

Introduction
Developers are often asking me how to "version" documents with Couchbase 2.0. The short answer is: the clients and server do not expose such feature, but it is quite easy to implement.
In this article I will use a basic approach, and you will be able to extend it depending of your business requirements.
Design
The first thing to do is to select how to "store/organize" the Tugdual Grallhttps://plus.google.com/103667961621022786141noreply@blogger.com0

Introduction
Clever Cloud is the first PaaS to provide Couchbase as a service allowing developers to run applications in a fully managed environment. This article shows how to deploy an existing application to Clever Cloud.
I am using a very simple Node application that I have documented in a previous article: “Easy application development with Couchbase, Angular and Node”.
Clever Tugdual Grallhttps://plus.google.com/103667961621022786141noreply@blogger.com0

TL;DR: Look at the project on Github.
Introduction
During my last interactions with the Couchbase community, I had the question how can I easily import my data from my current database into Couchbase. And my answer was always the same:
Take an ETL such as Talend to do it
Just write a small program to copy the data from your RDBMS to Couchbase...
So I have written this small program thatTugdual Grallhttps://plus.google.com/103667961621022786141noreply@blogger.com2

TL;DR: Look at the Couchbase Ansible Playbook on my Github.
Introduction
When I was looking for a more effective way to create my cluster I asked some sysadmins which tools I should use to do it. The answer I got during OSDC was not Puppet, nor Chef, but was Ansible.
This article shows you how you can easily configure and create a Couchbase cluster deployed and many linux boxes...and the Tugdual Grallhttps://plus.google.com/103667961621022786141noreply@blogger.com1

Already 6 months! Already 6 months that I have joined Couchbase as Technical Evangelist. This is a good opportunity to take some time to look back.
So first of all what is a Developer/Technical Evangelist?
Hmm it depends of each company/product, but let me tell you what it is for me, inside Couchbase. This is one of the most exciting job I ever had. And I think it is the best job you can haveTugdual Grallhttps://plus.google.com/103667961621022786141noreply@blogger.com0

I have created this simple screencast to show how you can, using Couchbase do some realtime analysis based on Twitter feed.
The key steps of this demonstration are
Inject Tweets using a simple program available on my Github Couchbase-Twitter-Injector
Create views to index and query the Tweets by
User name
Tags
Date
The views that I used in this demonstration are available at the bottom of Tugdual Grallhttps://plus.google.com/103667961621022786141noreply@blogger.com0

Note : This article has been written in March 2013, since Couchbase and its drivers have a changed a lot. I am not working with/for Couchbase anymore, with no time to udpate the code.
A friend of mine wants to build a simple system to capture ideas, and votes. Even if you can find many online services to do that, I think it is a good opportunity to show how easy it is to develop new Tugdual Grallhttps://plus.google.com/103667961621022786141noreply@blogger.com2

I read this question on Twitter, let me answer the question in this short article.
First of all you need to be sure your documents have an attribute that contains a date ;), something like :
To get the "latest hired employee" you need to create a view, and emit the hire date as key. The important part is to check that this date is emitted in a format that is sorted properly, for example an Tugdual Grallhttps://plus.google.com/103667961621022786141noreply@blogger.com2

Most of the applications have to deal with "master/detail" type of data:
breweries and beer
department and employees
invoices and items
...
This is necessary for example to create application view like the following:
With Couchbase, and many of the document oriented databases you have different ways to deal with this, you can:
Create a single document for each master and embed all the Tugdual Grallhttps://plus.google.com/103667961621022786141noreply@blogger.com0

In a previous post I have explained how to use Couchbase and Node.js on OS X. Since it is quite different on Windows here another article about it.
Install Couchbase Server 2.0
If you have not installed Couchbase Server already, do the following :
Download Couchbase Server from here
Run the installer
Configure the database at http://localhost:8091 (if you have issue take a look to this Tugdual Grallhttps://plus.google.com/103667961621022786141noreply@blogger.com6