Todd Greenstein's blog

October 7, 2014

Couchbase Connect 2014 Keynote Demo Application - How We Did It

Node.js + Couchbase 3.0 + SDK 2.0 + Bootstrap


When it came time to build a product demonstration for the Couchbase Connect Conference the following requirements were established:

Read more »

June 30, 2014

Indexes and Selectivity

Indexes in Couchbase

Indexes in Couchbase are a flexible means of performing back end processing.   When utilizing indexes it's possible to create decision tree type aggregations and selectivity functionality, such as those found in an inventory control system.   By using a well defined and flexible data model in conjuction with Couchbase's indexing subsystem, it's possible to build applications that offer a high degree of selectivity.   Couchbase provides the ability to pass parameters in for a dynamic querying experience.

Read more »

May 14, 2014

Expiry Callbacks for Couchbase Server

TTL's and Expiry Notification

Couchbase includes a TTL (Time To Live) as part of the meta data fields for each document.  All of the client SDK's includes support for setting/querying/touching this value.   The value is set as the "number of seconds a document should live" for documents that are to expire in 30 days or less.  For values longer than 30 days a unix epoch time value must be passed.  TTL's are often used in high performance session stores and caching applications.

Read more »