Category: High Performance

Prepared Statements – by the Numbers!
Prepared Statements – by the Numbers!

Always be Prepared…. In our last discussion on prepared statements in couchbase we talked about the performance gains that are possible using prepared statements. I thought I’d post a “sequel” with a few real world examples and numbers using the...

Prepare for This!
Prepare for This!

Get Prepared…. One of the more impressive aspects of using N1QL is the ability to use prepared statements. What are prepared statements? Why use them? What’s the big deal? Consider the following example from the travel-sample bucket and dataset that are bundled...

Indexes for N1QL: or how I got an order magnitude speed increase
Indexes for N1QL: or how I got an order magnitude speed increase

Indexes for N1QL: or how I got an order magnitude speed increase In Couchbase 4.0 we introduced N1QL query language: a flexible query language that brings SQL-like query to JSON documents. Whenever we talk about N1QL the conversation always opens...

MongoDB and DataStax, In the Rearview Mirror
MongoDB and DataStax, In the Rearview Mirror

Thumbtack published an excellent blog post today (link). It highlights the preliminary results of performance tests executed with Couchbase Server, MongoDB and DataStax Enterprise (Apache Cassandra). The final results will be included in a benchmark report. Thumbtack consulted with Couchbase,...

Couchbase Labs Expiry Callbacks
Couchbase Labs Expiry Callbacks

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...

DataStax FUD
DataStax FUD

This is not the first time I've addressed FUD (link). However, it is the first time I've addressed FUD directed at Couchbase and that's a great thing. After all, I know what happens next. First they ignore you, then they...

Dissecting the NoSQL Benchmark
Dissecting the NoSQL Benchmark

Let's dissect the Fall 2014 NoSQL Benchmark. Apache Cassandra / DataStax Enterprise. MongoDB. Couchbase Server. Go. Hardware   Server (8) Client (32) Processor Intel Xeon E5-2620 V2 (2) Intel Core i5-4440 Memory 64GB 8GB Storage (Data) 100GB SATA 6Gb/s SSD...

Caching queries in Couchbase for high performance
Caching queries in Couchbase for high performance

This blog provides examples of how query results can be cached into Couchbase to be retrieved from the cache instead of being served from index on disk.

MongoDB and Apache Cassandra / DataStax, where art thou?
MongoDB and Apache Cassandra / DataStax, where art thou?

See how Couchbase Server leverages memory effectively with a integrated, managed object cache unlike Cassandra and MongoDB.

Performance: Managing threads in Couchbase 2.x
Performance: Managing threads in Couchbase 2.x

In this blog post you will get an overview of two related performance optimizations that you can do for Couchbase 2.5.1 and below. This is not for 3.x for reasons you can read at the bottom of this post. The two changes...

Performance Oriented Architecture
Performance Oriented Architecture

“How should I access my data?” is often asked by developers as they contemplate a storage solution. To answer that question one first needs to understand the application under consideration. Who are the most important users, and which use cases...