Category: Application Design

From N1QL to JavaScript and Back – Part 5: Prepared statements
In previous blogs, we covered executing N1QL (SQL++) from JavaScript functions, processing documents through iterators, manipulating data. and handling errors. We now move to executing dynamic statements. Prepared statements JavaScript functions can prepare and execute prepared statements, much like any request...

From N1QL to JavaScript and back – Part 4: Error Handling
In previous blogs, we have covered executing N1QL from JavaScript functions, processing documents through iterators, and manipulating data. We now move onto handling errors from N1QL statements. Error handling When an error of any nature is encountered, the jsevaluator by...

Designing the Couchbase Kotlin API
I’m pleased to announce the GA release of Couchbase Kotlin SDK version 1.0. In truth, I’m over the moon. This project has been a labor of love. After working with Java for decades, I have a new favorite language. In...

Build A Python Microservice With Couchbase – Part 3
Recap In the previous two installments of this series, we discussed the drivers behind creating microservices. We also looked at why Couchbase is the perfect datastore to use with such an architecture. We also looked at three variants of a...

Event Broker Integration with Couchbase, Solace & Java
In the previous blog post we discussed how Couchbase can seamlessly integrate into an Event-Driven Architecture. Using the Couchbase Eventing Service, document mutations can be published to a Solace PubSub+ queue from where the data is made available to subscribing...

Reuse SQL Queries between Server & Mobile App Databases
As we all know, code is expensive to maintain—the more complex the code, the higher the cost of maintaining it. Therefore, since the beginning of time, software developers have worked very hard to achieve the goal of code reusability. Couchbase...

Couchbase Mobile changes source code license to BSL 1.1
With the Couchbase Mobile 3 release, we are announcing that Couchbase is changing our source code license from Apache 2.0 to the Business Source License version 1.1 (BSL 1.1) for Sync Gateway and Couchbase Lite products. Last year, we announced...

Why Uplevel From MongoDB™
Today’s applications need to deliver a great experience to users anywhere, all the time. For business-critical applications, there is no downtime, they must support customers 24/7, 365. Applications are being architected to run on micro-services and to be developed in...

Couchbase 2022 Predictions: Technology Adoption Trends will Improve Developer Agility and Create Dynamic and Interactive CX in 2022
No doubt the pandemic is a unique situation that taught the world to expect the unexpected, ushering in new challenges that forced organizations to accelerate digital transformation efforts at unprecedented speeds. While what’s to come further into 2022 is still...

Investing in Mobile to Meet Consumer Holiday Shopping Demands
The boom in online mobile shopping is unprecedented. According to BigCommerce and PayPal’s 2021 Consumer Spending Report, two-thirds of consumers made at least one online purchase with their mobile devices each month. This has posed a challenge to companies that...

Support for Concurrent Index Creation in Indexing Service
Modern applications are implemented as a set of a large number of microservices. Each such microservice may run independently of many other microservices. Such applications expect underlying databases to support multi-tenancy. Couchbase Server 7.0 has introduced Scopes and Collections to...

PepsiCo’s Journey to Inventory Management Modernization
Retailers everywhere have been forced to modernize if not for changing consumer behaviors, then as a result of Covid-19. In this blog post, we illustrate the PepsiCo case study – why they chose to modernize now, and why they chose...