Featured Post

N1QL example

On Demand Recommendations with N1QL

Last month I posted a Market Basket Analysis example using Couchbase and Spark: Combining Operational and Analytical Big Data Using Couchbase and Spark: A Market Basket Analysis Example. I used Couchbase as an operational data store for market basket data, transported the data using the Couchbase Spark Connector, then did the MBA in Spark. It was a batch approach that updated a list of recommendations for all of our products all at once. With the imminent GA release of Couchbase 4.0, I thought I would revisit this example with features available in the new release. There will be many new features in Couchbase 4.0 including the GA release of N1QL. N1QL has been available in an experimental fashion, but it will become available out of the box with Couchbase 4.0. Why use N1QL? Because taking advantage of this new query language will allow us to construct our product recommendations in an on-demand fashion using real-time data as opposed to batch data. You can find the code for this … [Read More...]

Other Recent Posts


Modernizing the Online HR System

In the mid-1990s, one of my first assignments as an IT Consultant was to build an online HR system.  The client wanted an extranet portal system enabling searching capabilities on personnel by departments or names or location, accessible to partners as well as … [Read More...]


Combining Operational and Analytical Big Data Using Couchbase and Spark: A Market Basket Analysis Example

Couchbase is emerging as a platform of choice in the Enterprise NoSQL market. Couchbase is engineered for handling the operational aspects of big data. However, the platform is continually being enhanced to support integration with related technologies that … [Read More...]

on consulting

On Consulting

As an IT Consultant, I wear many different hats from project to project - from Project Manager to Architect to System Developer to Subject Matter Expert and so on.  No matter which role, I encourage my clients to think about options.  Options are a critical … [Read More...]

download (4)

Annotating Javascript

Anyone who has written code knows that documenting code is important. They also know that it is a pain in the butt, is difficult to do well, and in most cases the comments that are added inline to code are more along the lines of: // I have more work I need … [Read More...]


Querying JSON with N1QL – Couchbase Reimagines SQL

A traditional relational database makes use of an encoding strategy laying out tables, each of which has a particular known schema, and then uses the Structured Query Language (SQL) to find specific matching values within the various tables, using principles … [Read More...]

Robot from The Terminator

Artificial Intelligence and the Future of Work

Artificial intelligence - and the potential that such intelligence could be a danger to humanity - has been a staple of literary and cinematic horror for decades. Fritz Lang's Metropolis (1927) featured a robot disguised as a young woman, who ended up toppling … [Read More...]