DB-EnginesInfluxDB: Focus on building software with an easy-to-use serverless, scalable time series platformEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > CockroachDB vs. Firebase Realtime Database vs. HarperDB vs. LokiJS

System Properties Comparison CockroachDB vs. Firebase Realtime Database vs. HarperDB vs. LokiJS

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameCockroachDB  Xexclude from comparisonFirebase Realtime Database  Xexclude from comparisonHarperDB  Xexclude from comparisonLokiJS  Xexclude from comparison
DescriptionCockroachDB is a distributed database architected for modern cloud applications. It is wire compatible with PostgreSQL and backed by a Key-Value Store, which is either RocksDB or a purpose-built derivative, called Pebble.Cloud-hosted realtime document store. iOS, Android, and JavaScript clients share one Realtime Database instance and automatically receive updates with the newest data.Ultra-low latency distributed database with an intuitive REST API supporting NoSQL and SQL (including joins). Deployment of functions and databases simultaneously with a consolidated node-level architecture.In-memory JavaScript DBMS
Primary database modelRelational DBMSDocument storeDocument storeDocument store
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score6.15
Rank#55  Overall
#33  Relational DBMS
Score14.29
Rank#39  Overall
#6  Document stores
Score0.55
Rank#248  Overall
#38  Document stores
Score0.43
Rank#264  Overall
#42  Document stores
Websitewww.cockroachlabs.comfirebase.google.com/­products/­realtime-databasewww.harperdb.iogithub.com/­techfort/­LokiJS
Technical documentationwww.cockroachlabs.com/­docsfirebase.google.com/­docs/­databasedocs.harperdb.io/­docstechfort.github.io/­LokiJS
DeveloperCockroach LabsGoogle infoacquired by Google 2014HarperDB
Initial release2015201220172014
Current release24.1.0, May 20243.1, August 2021
License infoCommercial or Open SourceOpen Source infoApache 2.0, commercial license availablecommercialcommercial infofree community edition availableOpen Source
Cloud-based only infoOnly available as a cloud servicenoyesnono
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
Implementation languageGoNode.jsJavaScript
Server operating systemsLinux
macOS
Windows
hostedLinux
OS X
server-less, requires a JavaScript environment (browser, Node.js)
Data schemedynamic schemaschema-freedynamic schemaschema-free
Typing infopredefined data types such as float or dateyesyesyes infoJSON data typesno
XML support infoSome form of processing data in XML format, e.g. support for XML data structures, and/or support for XPath, XQuery or XSLT.nononono
Secondary indexesyesyesyesyes infovia views
SQL infoSupport of SQLyes, wire compatible with PostgreSQLnoSQL-like data manipulation statementsno
APIs and other access methodsJDBCAndroid
iOS
JavaScript API
RESTful HTTP API
JDBC
ODBC
React Hooks
RESTful HTTP/JSON API
WebSocket
JavaScript API
Supported programming languagesC#
C++
Clojure
Go
Java
JavaScript (Node.js)
PHP
Python
Ruby
Rust
Java
JavaScript
Objective-C
.Net
C
C#
C++
ColdFusion
D
Dart
Delphi
Erlang
Go
Haskell
Java
JavaScript (Node.js)
Lisp
MatLab
Objective C
Perl
PHP
PowerShell
Prolog
Python
R
Ruby
Rust
Scala
Swift
JavaScript
Server-side scripts infoStored proceduresnolimited functionality with using 'rules'Custom Functions infosince release 3.1View functions in JavaScript
TriggersnoCallbacks are triggered when data changesnoyes
Partitioning methods infoMethods for storing different data on different nodeshorizontal partitioning (by key range) infoall tables are translated to an ordered KV store and then broken down into 64MB ranges, which are then used as replicas in RAFTA table resides as a whole on one (or more) nodes in a clusternone
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-source replication using RAFTyes infothe nodes on which a table resides can be definednone
MapReduce infoOffers an API for user-defined Map/Reduce methodsnononoyes
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyEventual Consistency infoif the client is offline
Immediate Consistency infoif the client is online
Immediate Consistencynone
Foreign keys infoReferential integrityyesnonono
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDyesAtomic execution of specific operationsno infoatomic operations within a single collection possible
Concurrency infoSupport for concurrent manipulation of datayesyesyes
Durability infoSupport for making data persistentyesyesyes, using LMDByes infoSerialization of a DB in a Node.JS/Cordova/PhoneGap environment. Usage of the IndexedDB-API in a browser.
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.noyesyes
User concepts infoAccess controlRole-based access controlyes, based on authentication and database rulesAccess rights for users and rolesno

More information provided by the system vendor

We invite representatives of system vendors to contact us for updating and extending the system information,
and for displaying vendor-provided information such as key customers, competitive advantages and market metrics.

Related products and services

We invite representatives of vendors of related products to contact us for presenting information about their offerings here.

More resources
CockroachDBFirebase Realtime DatabaseHarperDBLokiJS
DB-Engines blog posts

Cloud-based DBMS's popularity grows at high rates
12 December 2019, Paul Andlinger

show all

New kids on the block: database management systems implemented in JavaScript
1 December 2014, Matthias Gelbmann

show all

Recent citations in the news

Cockroach Labs Deepens Partnership with Google Cloud, CockroachDB Selected to Join Google Distributed Cloud
9 April 2024, PR Newswire

CockroachDB tempts legacy databases to crawl into the cloud age
29 January 2024, The Register

How DoorDash Migrated from Aurora Postgres to CockroachDB
5 December 2023, The New Stack

DoorDash Uses CockroachDB to Create Config Management Platform for Microservices
14 February 2024, InfoQ.com

How to Unlock Real-Time Data Streams with CockroachDB and Amazon MSK | Amazon Web Services
6 November 2023, AWS Blog

provided by Google News

Realtime vs Cloud Firestore: Which Firebase Database to go?
8 March 2024, Appinventiv

Atos cybersecurity blog: Misconfigured Firebase: A real-time cyber threat
18 January 2024, Atos

Don't be like these 900+ websites and expose millions of passwords via Firebase
18 March 2024, The Register

Google Firebase may have exposed 125M records from misconfigurations
19 March 2024, SC Media

Google launches Firebase Genkit, a new open source framework for building AI-powered apps
14 May 2024, TechCrunch

provided by Google News

Meet HarperDB, Winner of the Startups of the Year in Denver
9 February 2024, hackernoon.com

Startups of the Year 2023: Meet HarperDB - A Database and Application Development Platform
22 June 2023, hackernoon.com

Unlocking immersive golfing experiences with AWS Wavelength | Amazon Web Services
29 November 2022, AWS Blog

A sharper HarperDB, connectivity done auspiciously
16 January 2023, Techzine Europe

Stephen Goldberg Named 2023 Bill Daniels Ethical Leader of the Year | CU Denver Business School News
9 January 2023, business-news.ucdenver.edu

provided by Google News

LokiJS - A JavaScript Database
18 November 2014, iProgrammer

provided by Google News



Share this page

Featured Products

Datastax Astra logo

Bring all your data to Generative AI applications with vector search enabled by the most scalable
vector database available.
Try for Free

Milvus logo

Vector database designed for GenAI, fully equipped for enterprise implementation.
Try Managed Milvus for Free

RaimaDB logo

RaimaDB, embedded database for mission-critical applications. When performance, footprint and reliability matters.
Try RaimaDB for free.

SingleStore logo

Database for your real-time AI and Analytics Apps.
Try it today.

Neo4j logo

See for yourself how a graph database can make your life easier.
Use Neo4j online for free.

Present your product here