stm-containers VS js-db

Compare stm-containers vs js-db and see what are their differences.

js-db

Key-Value DB for TypeScript and JavaScript Applications (by MatrixAI)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
stm-containers js-db
2 1
62 5
- -
3.7 7.1
14 days ago 6 months ago
Haskell TypeScript
MIT License Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

stm-containers

Posts with mentions or reviews of stm-containers. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-07-26.

js-db

Posts with mentions or reviews of js-db. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-07-26.
  • Software Transactional Memory (1997)
    4 projects | news.ycombinator.com | 26 Jul 2022
    I've been working on a JS database to support optimistic concurrency control. I did some research and arrived on 2 seemingly related concepts but from independent research lines. Software transactional memory in functional programming/Haskell land versus snapshot isolation in database research.

    After reading them both, I asked this unanswered question on SO: https://stackoverflow.com/q/72084071/582917. My theory is that STM is the same as SI, but most SI database implementations don't just do value comparisons, but actually check a logical timestamp. This is probably done for performance reasons as databases handle larger pieces of data than functions would when using STM.

    Along the way I also discovered SSI serializable snapshot isolation but it isn't yet available in rocksdb but cockroachdb apparently has a fork of rocksdb with it but I couldn't find it.

    Anyway the db library which wraps around rocksdb is available to be used embedded in any nodejs program at https://github.com/MatrixAI/js-db.

What are some alternatives?

When comparing stm-containers and js-db you can also consider the following projects:

stm-incremental - A very simple interface for incremental computation using STM in Haskell.

TypeORM - ORM for TypeScript and JavaScript. Supports MySQL, PostgreSQL, MariaDB, SQLite, MS SQL Server, Oracle, SAP Hana, WebSQL databases. Works in NodeJS, Browser, Ionic, Cordova and Electron platforms.

restricted-workers - Interactive-diagrams

stmx - High performance Transactional Memory for Common Lisp

stm-chunked-queues - Thread communication queues that group items/requests that occur close together in time

theatre - Minimalistic actor library for Haskell

named-lock - A named lock that is created on demand.

conceit - Concurrently + Either

ttrie - A contention-free STM hash map for Haskell

stm-hamt - STM-specialised Hash Array Mapped Trie

stm-channelize - Transactional I/O for duplex streams

stm-queue-extras - Extra utilities for STM queues