Category: Best Practices and Tutorials

self signed cert

Certificate Pinning in your Couchbase Mobile iOS App

Communication between Couchbase Lite and Sync Gateway is encryped and secured using SSL/TLS. The SSL/TLS protocol relies on a Public Key Infrastructure (PKI) mechanism using a X.509 certificate to establish the Sync Gateway server’s identity. The certificate is typically issued/signed...

Getting Started with NoSQL Using Couchbase Server and PHP

A few days ago I wrote about using PHP with Docker and Couchbase, but I never really got into best practices of going all in with NoSQL. For example, how do you read and write data with Couchbase Server while...

Deploy a PHP with Couchbase Application as Docker Containers

Earlier in the year I wrote about containerizing applications written in various development technologies that communicate with Couchbase Server. For example, I had written about deploying a Golang application with Docker, a Java application with Docker, and a Node.js application...

Pruning Explained

Managing Database Sizes in Couchbase Mobile and Conflict Resolution

Couchbase Mobile uses a Multi Version Concurrency Control (MVCC) technique for handling conflicts. One of the challenges in a MVCC based system is that over time, a document can grow to have multiple revisions. One can conclude that if all...

Simplifying Your NoSQL Cluster Design by Moving From MongoDB to Couchbase

When I’m out at events and talking to NoSQL users and advocates, I often hear stories on why people have decided to start using Couchbase after having come from MongoDB.  Take, for example, an interview I did with Tom Coates...

NDP Episode #19: Mobile Development with Realm

I am pleased to announce that the latest episode of The NoSQL Database Podcast has been published to all the popular podcast networks.  Episode 19, Mobile Development with Realm, focuses on a very popular NoSQL database for use in mobile development,...

Conflict Resolution

Demystifying Conflict Resolution in Couchbase Mobile

Conflicts can occur in replication environments where a document can be updated concurrently by one or more writers. This is especially common in mobile environments wherein unreliable network connections may result in concurrent changes from multiple devices not being synchronized in...

Synchronizing Images Between Android and iOS with NativeScript, Angular, and Couchbase

A few weeks ago I had written a guide that demonstrated saving captured images to Couchbase Lite as base64 encoded string data in a NativeScript with Angular mobile application. While the previous guide worked for both Android and iOS, the...

NDP Episode #18: Microsoft DocumentDB for NoSQL in the Cloud

I am pleased to announce that the latest episode of the NoSQL Database Podcast titled, Microsoft DocumentDB for NoSQL in the Cloud, has been published to all the major podcasting networks.  In this episode I am joined by Kirill Gavrylyuk from Microsoft’s...

Data Modeling NoSQL Documents in MongoDB vs Couchbase Server

When I’m out at events, I get a lot of questions regarding the differences between MongoDB and Couchbase Server as they are both in the NoSQL space and are both document databases. One particular question is related to data modeling....