Featured in Architecture & Design

Monal Daxini presents a blueprint for streaming data architectures and a review of desirable features of a streaming engine. He also talks about streaming application patterns and anti-patterns, and use cases and concrete examples using Apache Flink.

Featured in AI, ML & Data Engineering

Joy Gao talks about how database streaming is essential to WePay's infrastructure and the many functions that database streaming serves. She provides information on how the database streaming infrastructure was created & managed so that others can leverage their work to develop their own database streaming solutions. She goes over challenges faced with streaming peer-to-peer distributed databases.

Latest version of Document NoSQL database Couchbase Server supports multi-dimensional scaling, geospatial indexes and new query language called N1QL. Couchbase team announced earlier this month the general availability of Couchbase Server 4.0 version which also supports new filtering capabilities on Cross Datacenter Replication (XDCR) and enhanced security.

Multi-dimensional scaling and global secondary indexes help with improving the query performance in a distributed database like Couchbase.

Multidimensional Scaling (MDS): This feature allows organizations to provision hardware to isolate different workloads and independently scale the index, query, and data services. DBAs can assign different workloads to specific hardware resources to meet performance requirements and SLAs of the applications.

Global Secondary Indexes: In a horizontally scaling system, the index is typically spread across every server in the cluster, which can potentially slow down query execution by creating a broad "scatter/gather" requirement. In Couchbase Server 4.0, multi-dimensional scaling makes it possible for global secondary indexes to be assigned to specific hardware resources. This helps reduce the magnitude of scatter/gather, resulting in better query execution within the distributed system.

N1QL: Pronounced “nickel”, N1QL is a declarative query language that can be used by developers who are familiar with SQL, to build applications on top of a JSON data model. N1QL offers the following advantages:

Leverage the declarative query language to express the logic executed in the database, instead of writing and executing it in the application code.

Create new indexes and queries without restructuring the data model.

Read, write, and query the data using different programming languages and frameworks, with options for asynchronous and reactive data access.

Leverage JSON to nest data within a single document or leverage N1QL to model and query data that is stored across multiple JSON documents.

Cross Datacenter Replication (XDCR): Couchbase Server 4.0 extends its Cross Datacenter Replication (XDCR) functionality with new filtering capabilities. XDCR is used for high availability and disaster recovery. With the new filtering functionality, subsets of data can be 'filtered' for geographic replication without requiring the entire data set to be replicated between datacenters. This helps with making data available to geographically distributed locations with low latency, minimizing network traffic by replicating only the data relevant to a specific geography and the ability to replicate relevant data between private datacenters, public clouds, or both to leverage hybrid cloud infrastructure.

Other features in the new version include the geospatial Indexes which are useful in developing location-aware applications. and enhanced security to be in compliance with security standards, LDAP integration, and auditing capabilities.

Related Editorial

Related Vendor Content

Related Sponsor

Aerospike is a distributed NoSQL database and key-value store architected for the performance needs of today’s web-scale applications; providing robustness and strong consistency with no downtime. Learn more

The InfoQ Newsletter

A round-up of last week’s content on InfoQ sent out every Tuesday. Join a community of over 250,000 senior developers.
View an example