LokiJS vs NCache vs Redis




- 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 NCache?

It is an extremely fast and scalable distributed cache for .NET. It helps high traffic server applications remove data storage bottlenecks by caching application and linearly scale to handle extreme transaction loads without slowing down.

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

Want advice about which of these to choose?Ask the StackShare community!

Why do developers choose LokiJS?
Why do developers choose NCache?
Why do developers choose Redis?
    Be the first to leave a pro
    What are the cons of using LokiJS?
    What are the cons of using NCache?
    What are the cons of using Redis?
      Be the first to leave a con
        Be the first to leave a con
        What companies use LokiJS?
        What companies use NCache?
        What companies use Redis?
          No companies found
          What are some alternatives to LokiJS, NCache, and Redis?
          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.
          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.
          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.
          Aerospike is an open-source, modern database built from the ground up to push the limits of flash storage, processors and networks. It was designed to operate with predictable low latency at high throughput with uncompromising reliability – both high availability and ACID guarantees.
          MemSQL converges transactions and analytics for sub-second data processing and reporting. Real-time businesses can build robust applications on a simple and scalable infrastructure that complements and extends existing data pipelines.
          See all alternatives
          What tools integrate with LokiJS?
          What tools integrate with NCache?
          What tools integrate with Redis?
            No integrations found
            Decisions about LokiJS, NCache, and Redis
            No stack decisions found
            Interest over time
            Reviews of LokiJS, NCache, and Redis
            Review ofRedisRedis

            Redis is a good caching tool for a cluster, but our application had performance issues while using Aws Elasticache Redis since some page had 3000 cache hits per a page load and Redis just couldn't quickly process them all in once + latency and object deseialization time - page load took 8-9 seconds. We create a custom hybrid caching based on Redis and EhCache which worked great for our goals. Check it out on github, it's called HybriCache - https://github.com/batir-akhmerov/hybricache.

            How developers use LokiJS, NCache, and Redis
            Avatar of Cloudcraft
            Cloudcraft uses RedisRedis

            Redis is used for storing all ephemeral (that's data you don't necessarily want to store permanently) user data, such as mapping of session IDs (stored in cookies) to current session variables at Cloudcraft.co. The many datastructures supported by Redis also makes it an excellent caching and realtime statistics layer. It doesn't hurt that the author, Antirez, is the nicest guy ever! These days, I would be really hard pressed to find any situation where I would pick something like Memcached over Redis.

            Avatar of Trello
            Trello uses RedisRedis

            Trello uses Redis for ephemeral data that needs to be shared between server processes but not persisted to disk. Things like the activity level of a session or a temporary OpenID key are stored in Redis, and the application is built to recover gracefully if any of these (or all of them) are lost. We run with allkeys-lru enabled and about five times as much space as its actual working set needs, so Redis automatically discards data that hasn’t been accessed lately, and reconstructs it when necessary.

            Avatar of Stack Exchange
            Stack Exchange uses RedisRedis

            The UI has message inbox that is sent a message when you get a new badge, receive a message, significant event, etc. Done using WebSockets and is powered by redis. Redis has 2 slaves, SQL has 2 replicas, tag engine has 3 nodes, elastic has 3 nodes - any other service has high availability as well (and exists in both data centers).

            Avatar of Brandon Adams
            Brandon Adams uses RedisRedis

            Redis makes certain operations very easy. When I need a high-availability store, I typically look elsewhere, but for rapid development with the ability to land on your feet in prod, Redis is great. The available data types make it easy to build non-trivial indexes that would require complex queries in postgres.

            Avatar of Kent Steiner
            Kent Steiner uses RedisRedis

            I use Redis for cacheing, data storage, mining and augmentation, proprietary distributed event system for disparate apps and services to talk to each other, and more. Redis has some very useful native data types for tracking, slicing and dicing information.

            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 NCache cost?
            How much does Redis cost?
            Pricing unavailable
            Pricing unavailable
            News about LokiJS
            More news
            News about NCache
            More news