Couchbase Blog

August 7, 2013

Multiple Bucket Connections in Couchbase and Ruby

c = Couchbase.new("http://localhost:8091/pools/default/buckets/my-bucket")

I believe it’s safe to say we are mostly all familiar with the above Ruby code.  It establishes a connection from the Ruby SDK to a bucket of our choosing inside our Couchbase cluster.  There are, of course, multiple ways of writing this line, such as specifying the URI and Port as Ruby Symbols (:pool => "default", :bucket => "my-bucket")etc.  The point I am making here is that we write these simple one line commands, and get 1 simple connection to our chosen bucket.  But what if our application uses multiple buckets? In this article, I’m going to back to basics, and take you through setting up, and connecting to Multiple Buckets.

Read more »

July 29, 2013

Couchbase Developer Days and LivePerson: Who, What and Why?

I've recently returned from a rather brilliant Couchbase trip to Israel. My colleague Tug Grall and I lead the Couchbase Developer Day held at the LivePerson offices, which was followed by a Couchbase meetup with ILTechTalks.

Israel has an ever-growing, yet established, tech startup scene and Couchbase are becoming key players in supplying NoSQL solutions to tech companies who require the flexibility and performance that Couchbase delivers.  A short drive out of Tel Aviv city centre, in which I am staying, live the offices of LivePerson. A marvelously open-plan outfit, with a great atmosphere and even authentic home cooked meals for any late workers!  What seems to be a great place to work and a focused environment dedicated to new technologies, the LivePerson offices played host to a fantastic Couchbase Developer Day and evening Community Meetup.

Read more »

July 25, 2013

Caching queries in Couchbase for high performance

Starting from version 2.0, Couchbase server offers a powerful way of creating indexes for JSON documents through the concept of views.

Read more »

July 22, 2013

Deploying Couchbase with Chef

If you are an administrator looking for an automated way to deploy Couchbase at scale, look no further - Chef is a great platform solution. Once setup, it is a very clean solution that can work across any number of physical, virtual, or cloud servers, no matter what the size of the infrastructure. Chef enables you to script your infrastructure deployment using code so that you can automate your provisioning and deployment process without much effort. 

Read more »

July 21, 2013

How to : Implement Document Versioning with Couchbase

[This blog was syndicated from http://blog.grallandco.com]

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. 
 

Read more »

July 18, 2013

Couchbase @ Clickspace : Transforming digital signage

Clickspace has built an advanced digital signage platform specifically designed for the hospitality industry. This platform is designed to boost customer engagement levels and to keep them continuously entertained. Clickspace heavily uses Couchbase Server, a NoSQL document database to power this platform. Read this blog to learn more...

Read more »

July 9, 2013

From MySQL to Couchbase using Talend ETL

Couchbase offers an unique NoSQL database combining integrated cache and storage technology. NoSQL is gaining strong popularity and a number of customers are looking to export or map some of the data they have in RDBMS to Couchbase NoSQL; this is where Talend’s offering can be leveraged.

Read more »

July 8, 2013

SQL to NoSQL : Copy your data from MySQL to Couchbase

[This blog was syndicated from http://blog.grallandco.com]

 

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 that allows you to import the content of a RDBMS into Couchbase. This tools could be used as it is, or you can look at the code to adapt it to your application.
 

 

 

Read more »

June 28, 2013

Using nginx & PHP-FPM with Couchbase – The How, and the Why

Before we get started, I’d like to point you a blog by my colleague Michael Nitschinger, in which you can learn about the best way to set up your basic PHP and Couchbase Environment, if not using nginx & PHP-FPM: 
http://nitschinger.at/Getting-Started-with-Couchbase-and-PHP

Read more »