Sergey Avseyev's blog

February 11, 2013

Using Couchbase Ruby Gem with EventMachine

As you may have noticed the new couchbase ruby gem has been released recently. The release 1.2.2 is mostly a maintenance release with several bug fixes, but yet you can try one new experimental feature: integration with EventMachine library. This post will give you a quick intro about how to start using Couchbase Server with your applications based on the EventMachine asynchronous model.

The EventMachine integration is only (currently) accessible on UNIX-like systems (like Linux, Solaris, BSD).  Because it uses fibers, it also requires MRI ruby version 1.9 or later.

Read more »

July 10, 2012

Couchbase Tools shipped with the Couchbase C Client Library (libcouchbase)

In this blog post, I will reveal some the less known features of the libcouchbase client library. It describes the libcouchbase tools which are collectively under cbc, the command originally written by Trond Norbye. You probably won’t use them for writing you high-level bindings or implementing your application, but they still useful in many ways.  They're a great example of libcouchbase usage, they're useful as diagnotic or debug tooling or you can even use them in your scripts.

Read more »