LibraryActive

RxDB

RxDB is a NoSQL client-side database for local-first apps, with observable queries, replication, and encryption.

Open source page

Field note

What it does

RxDB is a NoSQL client-side database designed for local-first applications, particularly hybrid apps like Ionic. It offers a local-first approach, observable queries, a NoSQL query engine, EventReduce for performance, document-based replication, offline capability, TypeScript support, and schema migration.

Capabilities

Available capabilities

Tags

Tags

Ways to use it

Ways to use it

sdk

TypeScript / Not filed

npm

JavaScript / Not filed

npm

JavaScript / rxdb

npm

Not filed / Not filed

sdk

JavaScript / Not filed

Product features

Product features

Angular Integration

Seamless integration with Angular applications.

Compression

Conflict Resolution

Handles conflict resolution during data replication.

Cost-Effective

Document-Based Replication

EventReduce

Optimizes observation by filtering and batching changes for smooth UI updates.

Horizontal Scaling

Hybrid Storage

Memory-mapped storage combines in-memory performance with persistence.

In-Memory Database

Use Memory RxStorage for fast in-memory data storage.

IndexedDB Backed

Built on top of IndexedDB, the native browser database.

Local-First Approach

Enables applications to function seamlessly in offline scenarios, storing data locally and syncing when reconnected.

Multiple Storage Engines

Supports FoundationDB, SQLite, LokiJS, Memory, and memory-mapped storage.

Node.js Support

Optimized for server-side use in Node.js.

Offline-First

Reactive Data Handling

Automatically notifies subscribers when data changes occur, simplifying code and enhancing responsiveness.

Reactive Database

Automatically updates subscribed components when data changes.

Realtime Replication

Supports realtime replication with servers or other clients.

RxJS Based

Leverages the RxJS library for reactive data handling.

RxStorage abstraction

A pluggable storage layer allowing different backends.

Schema Migration

SQLite Storage

Recommended storage for Capacitor apps using SQLite on the filesystem.

Subscribe to State Changes

Subscribe to all state changes such as query results or document fields.

TypeScript Support

Vector search

RxDB provides utility functions to build custom vector search systems.