Category: Application Design
N1QL query with Self Referencing Hierarchy
A data construct that often appears in business application is the hierarchical data structure. Hierarchy captures the parent-child relationship often between the same object. For instance a company structure captures the reporting line between employees. Business organization captures the relationship...
Meeting data protection needs for Couchbase Data Platform
In the world where data is the currency, backup & recovery for a database is as essential as any other defining parameter such as consistency or performance because the customers cannot afford data loss under any circumstance. Couchbase offers a...
Understanding Cross Datacenter Replication (XDCR) – Part 1
If you have any familiarity with Couchbase, you definitely know XDCR. If you use Couchbase for any of your applications, you are very likely using XDCR. I wouldn’t be wrong if I said, XDCR is indeed one of our customers’...
YCSB-JSON: Implementation for Couchbase and MongoDB
YCSB is a great benchmarking tool built to be easily extended by any driver which supports and implements basic operations like: insert, read, update, delete and scan. Plain synthetic data introduced by YCSB fits this paradigm perfectly. But when it comes...
The Couchbase Data Platform in Action: Analytics
Contents What is CBAS and how does it compare to “standard” Couchbase? Example Data and Configuration Code and Queries Web Client Web Server and Queries Querying with SQL++ Query Optimization Query Results and REST Response Conclusion Postscript With the release...
Create a GraphQL Powered API with PHP and NoSQL
If you’ve been keeping up, you’ll know that I’ve been writing a sort-of mega series around developing with GraphQL and Couchbase. In past tutorials we’ve explored how to use GraphQL with Java, how to use GraphQL with Node.js, and how...
Developing a Typeahead with Couchbase, Node.js, and Full Text Search
Over the past year or so I’ve written a variety of tutorials around the full text search (FTS) service of Couchbase, most of which being specific examples of how to do something with one of the SDKs and never really...
Processing GraphQL Queries with Java, Spring Boot, and NoSQL
Over the span of the past few months I’ve been learning about GraphQL and how to use it as an alternative to RESTful API development. The focus thus far had been around GraphQL and Golang as well as GraphQL and...
Authorization with GraphQL, Golang, and Couchbase NoSQL using JWT
Over the past few months I’ve been writing a GraphQL series using the Go programming language. First we saw how to get started with GraphQL and Go, followed by an alternative way to handle data relationships by using resolvers on...
JWT Authentication with GraphQL, Node.js, and Couchbase NoSQL
A few months ago when I had first started learning about GraphQL, I had written a previous tutorial for using it with Couchbase and Node.js. The tutorial focused on the basics which included creating GraphQL objects and querying those objects...
Couchbase with Kotlin, Spring Boot and Spring Data
Last year I started learning Kotlin and I was surprised at how easy it was to convert a Java application. IntelliJ and a few other IDEs offer nice tools for automatic conversion, and with a few adjustments you can end...
The Couchbase Data Platform in Action: IoT Temperature Sensing Up Close
During Couchbase Connect Silicon Valley last Fall, we went through an extensive demonstration application that showed many of the capabilities of the Couchbase Data Platform. You can see the full video of the demonstration here. In some parts of the...