Get Advice Icon

Need advice about which tool to choose?Ask the StackShare community!

LokiJS
LokiJS

11
16
+ 1
1
SQLite
SQLite

3.3K
2.5K
+ 1
504
Add tool

LokiJS vs SQLite: What are the differences?

What is LokiJS? In-memory JavaScript Datastore with Persistence. LokiJS is a document oriented database written in javascript, published under MIT License. Its purpose is to store javascript objects as documents in a nosql fashion and retrieve them with a similar mechanism. Runs in node (including cordova/phonegap and node-webkit), nativescript and the browser.

What is SQLite? A software library that implements a self-contained, serverless, zero-configuration, transactional SQL database engine. SQLite is an embedded SQL database engine. Unlike most other SQL databases, SQLite does not have a separate server process. SQLite reads and writes directly to ordinary disk files. A complete SQL database with multiple tables, indices, triggers, and views, is contained in a single disk file.

LokiJS and SQLite are primarily classified as "In-Memory Databases" and "Databases" tools respectively.

LokiJS is an open source tool with 4.95K GitHub stars and 389 GitHub forks. Here's a link to LokiJS's open source repository on GitHub.

- No public GitHub repository available -

What is LokiJS?

LokiJS is a document oriented database written in javascript, published under MIT License. Its purpose is to store javascript objects as documents in a nosql fashion and retrieve them with a similar mechanism. Runs in node (including cordova/phonegap and node-webkit), nativescript and the browser.

What is SQLite?

SQLite is an embedded SQL database engine. Unlike most other SQL databases, SQLite does not have a separate server process. SQLite reads and writes directly to ordinary disk files. A complete SQL database with multiple tables, indices, triggers, and views, is contained in a single disk file.
Get Advice Icon

Need advice about which tool to choose?Ask the StackShare community!

Why do developers choose LokiJS?
Why do developers choose SQLite?

Sign up to add, upvote and see more prosMake informed product decisions

    Be the first to leave a con
    What companies use LokiJS?
    What companies use SQLite?
      No companies found

      Sign up to get full access to all the companiesMake informed product decisions

      What tools integrate with LokiJS?
      What tools integrate with SQLite?

      Sign up to get full access to all the tool integrationsMake informed product decisions

      What are some alternatives to LokiJS and SQLite?
      Redis
      Redis is an open source, BSD licensed, advanced key-value store. It is often referred to as a data structure server since keys can contain strings, hashes, lists, sets and sorted sets.
      Pouchdb
      PouchDB enables applications to store data locally while offline, then synchronize it with CouchDB and compatible servers when the application is back online, keeping the user's data in sync no matter where they next login.
      NeDB
      Embedded persistent or in memory database for Node.js, nw.js, Electron and browsers, 100% JavaScript, no binary dependency. API is a subset of MongoDB's and it's plenty fast.
      MongoDB
      MongoDB stores data in JSON-like documents that can vary in structure, offering a dynamic, flexible schema. MongoDB was also designed for high availability and scalability, with built-in replication and auto-sharding.
      Hazelcast
      With its various distributed data structures, distributed caching capabilities, elastic nature, memcache support, integration with Spring and Hibernate and more importantly with so many happy users, Hazelcast is feature-rich, enterprise-ready and developer-friendly in-memory data grid solution.
      See all alternatives
      Decisions about LokiJS and SQLite
      Daniel Quinn
      Daniel Quinn
      Senior Developer at Founders4Schools · | 2 upvotes · 11.7K views
      atThe Paperless ProjectThe Paperless Project
      PostgreSQL
      PostgreSQL
      SQLite
      SQLite

      SQLite is a tricky beast. It's great if you're working single-threaded, but a Terrible Idea if you've got more than one concurrent connection. You use it because it's easy to setup, light, and portable (it's just a file).

      In Paperless, we've built a self-hosted web application, so it makes sense to standardise on something small & light, and as we don't have to worry about multiple connections (it's just you using the app), it's a perfect fit.

      For users wanting to scale Paperless up to a multi-user environment though, we do provide the hooks to switch to PostgreSQL .

      See more
      Interest over time
      Reviews of LokiJS and SQLite
      No reviews found
      How developers use LokiJS and SQLite
      Avatar of Romans Malinovskis
      Romans Malinovskis uses SQLiteSQLite

      We build queries in PHP with DSQL that work with SQLite. We also have SQLite data controller, so that you can build SQLite-based models.

      Avatar of Coolfront Technologies
      Coolfront Technologies uses SQLiteSQLite

      Used during the "build process" of Coolfront Mobile's Flat rate search engine database. Flat rate data that resides in Salesforce is transformed using SQLite into a format that is usable for our mobile Flat rate search engine (AKA: Charlie).

      Avatar of Sripathi Krishnan
      Sripathi Krishnan uses SQLiteSQLite

      RDBTools is a self-hosted application, and it is important that the installation process is simple. With SQLite, we create a new database file for every analysis. Once the analysis is done, the SQLite file can be thrown away easily.

      Avatar of Perljobs.Ru
      Perljobs.Ru uses SQLiteSQLite

      All the dynamic data (i.e.: jobs) is stored in a simple SQLite database.

      Все динамические данные (вакансии) хранятся в простой SQLite БД.

      Avatar of A. M. Douglas
      A. M. Douglas uses SQLiteSQLite

      There's really no call for something heavier for this site. SQLite is simple, easy to use and quite reliable given its age.

      Avatar of Mathieu Lory
      Mathieu Lory uses LokiJSLokiJS

      LokiJS handle in-memory database store for configs, users..

      How much does LokiJS cost?
      How much does SQLite cost?
      Pricing unavailable
      Pricing unavailable
      News about LokiJS
      More news