Trond Norbye | Couchbase Blog

Author

All posts by Trond Norbye

Trond Norbye is a Software Architect at Couchbase. Core contributor to Couchbase & Memcached projects. Created the C/C++ & node.js Couchbase client libraries.

libmembase – a C interface to Membase
libmembase – a C interface to Membase

Membase is “on the wire” compatible with any memcached server if you connect to the standard memcached port (registered by myself back in 2009), so that you should should be able to access membase with any “memcapable” client. Backing this...

libcouchbase –  Explore the full features of your Couchbase server from C
libcouchbase – Explore the full features of your Couchbase server from C

I started the implementation of libcouchbase almost year ago out of my personal need to test the inner workings of Couchbase. Since I work in “core” of Couchase I needed an easy way to test out the changes I made...

So whats the story about libcouchbase and Windows?
So whats the story about libcouchbase and Windows?

A couple of days ago I showed you an example program using libcouchbase to create a small application to put data into a Couchbase cluster, but the code wouldn't compile on Windows. That does by no means imply that libcouchbase...

Building membase from the sources…
Building membase from the sources…

I thought I should share some information about my personal development model for membase. I've set up a “sandbox” where I'm doing all of my development in with the following commands: trond@opensolaris> pfexec zfs create -o mountpoint=/source rpool/sourcetrond@opensolaris> pfexec chown...

Want to know what your memcached servers are doing? Tap them.
Want to know what your memcached servers are doing? Tap them.

It is possible to dump parts of the cache by using “stats dump …” to get some of the keys in the cache (and then you can go ahead and fetch each value). Here is an example on how to...

Writing your own storage engine for Memcached, part 2
Writing your own storage engine for Memcached, part 2

In the previous blog post I described the engine initialization and destruction. This blog post will cover the memory allocation model in the engine interface. The memcached core is responsible for allocating all of the memory it needs for its connections (send /...