Category: Application Design

Relational vs. Non-Relational Databases: Features and Benefits
Databases play a crucial role in storing, organizing, and retrieving information. Two main types of databases are relational (SQL) and non-relational (NoSQL) databases. Both have unique features and benefits, so choosing the right type of database is essential for building...

11 Effective Microservices Development Best Practices
Microservices architecture is increasingly popular in today’s fast-paced software development landscape. Because microservices run independently, developers can scale and maintain each application without disrupting other microservices, making them easier to work with than a monolithic architecture. Keep reading to find...

App Scaling (What It Is and How To Do It)
As organizations grow, their applications also face increased demand. This demand typically includes more data processing and additional users accessing the system simultaneously. If an application can’t handle this growing demand, it may become slow, unresponsive, or even crash, resulting...

Consistency Models & Performance: Couchbase vs. CockroachDB
Design decisions influenced by CAP Theorem The CAP theorem states that a database cannot simultaneously provide all three of the following guarantees: Consistency (the latest information is always available everywhere) Availability (every read and write request receives a response) Partitioning...

Extending .NET Caching Provider for Collections
To help .NET developers better use Couchbase in their applications, there is a collection of community-supported Couchbase Extensions. These include extensions for caching, session, multiop, compression, and locking. And there are some officially supported extensions for dependency injection, open telemetry,...

Updating Sensor Data: Exploring Couchbase’s Multi-Model Options
Couchbase has become a popular choice for IoT use cases, thanks to its flexible multi-model data management capabilities. Recently, I was working with a customer in the cruise industry that had a unique challenge – they needed Couchbase to receive...

App Development Costs (A Breakdown)
Developing an app can be very lucrative, but it requires some upfront costs. The cost of developing an app can vary dramatically depending on the size and complexity of the app being developed. Some apps cost as little as $5,000...

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