materialite
RethinkDB
materialite | RethinkDB | |
---|---|---|
2 | 25 | |
65 | 26,537 | |
- | 0.2% | |
9.1 | 5.5 | |
29 days ago | about 2 months ago | |
TypeScript | C++ | |
Apache License 2.0 | GNU General Public License v3.0 or later |
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.
materialite
-
Ask HN: How Can I Make My Front End React to Database Changes in Real-Time?
Hey, Electric co-founder here.
Yup, our reactivity is quite simple at the moment, as described, and works quite well because SQLite is so fast. There are other projects doing more sophisticated reactivity algorithms, like Riffle/LiveStore, which has a reactive DAG optimised to avoid re-rendering and https://github.com/vlcn-io/materialite, which is like differential dataflow for live queries.
They're quite bleeding edge at the moment, but you can expect more efficient primitives for incremental view maintenance / efficient subscriptions to land in the embedded database layer quite soon.
Just also re: above, shape filtering for partial sync landed in v0.10 https://electric-sql.com/blog/2024/04/10/electricsql-v0.10-r... :)
-
Let's learn how modern JavaScript frameworks work by building one
I've stopped paying close attention to the web framework scene in the past couple of years, as most of the interesting ideas on this topics are usually coming from different communities. But as I understand, the majority of popular web frameworks (React, Vue3, Angular) are still using tree diffing or hybrid "signals"+tree diffing strategies.
In my opinion, one of the most interesting ideas to explore in this problem space is a hybrid solution: differential dataflow[1][2](model) + self-adjusting computations(view-model + view).
1. https://github.com/vlcn-io/materialite
2. https://timelydataflow.github.io/differential-dataflow/
RethinkDB
- Ask HN: How Can I Make My Front End React to Database Changes in Real-Time?
- RethinkDB: The open-source database for the realtime web
-
You forget RethinkDB, it's a shame
I've been poking around, testing and breaking database servers for a long time (more than 20 years today). But a few years ago I came across a jewel, the grail, one of the best solutions available. Under the radar, shunned for whatever reason, RethinkDB is nonetheless one of the finest database server projects I've ever tested.
-
Ask HN: Anyone Using RethinkDB in Production?
RethinkDB[0] looks like a "too good to be true" type of database. Anyone using it in production? What is your experience like? What are the pros and cons?
[0] https://rethinkdb.com
-
Help wanted for a project idea - A multi-room live chat experience, similar to Twitch chat's functionality
Since you’re not new to the field you might want to peek https://rethinkdb.com/ since it got picked up as an open source project.
-
What's the big deal about key-value databases like FoundationDB ands RocksDB?
No I don't think that's relevant. They implement their own btree it seems [0].
They don't use a key-value store library.
I know it's a bit of a fine line. But I'm talking about standalone libraries people embed across different applications/databases. That's what RocksDB/LevelDB/Pebble are.
[0] https://github.com/rethinkdb/rethinkdb/tree/v2.4.x/src/btree
-
Python, the usefulness of "dataclass"
A Data Objects represents data which can be saved inside a database. This concept is in the heart of SQLAlchemy, but as the name should be obvious: it's for SQL Database (in general). Today, there are now document databases too (like MongoDB, ArangoDB, RethinkDB that I love so much, or even PostgreSQL). So, a "data" is like a "structured and typed document" that you save "as is". That's not the same paradigm, not the same controls. There are advantages and disadvantages, but we won't debate that here.
-
Tools/kit/api/framework for creating a Synchronous app?
There are multiple ways to share data between two (or more) instances of your app: - you can use a shared storage, such as Cloud Firestore, - you can build your own backend (based on a real-time database, such as RethinkDB), - or you can rely on local communication using the Multipeer framework you linked.
- RethinkDB: the open-source database for the realtime web
What are some alternatives?
denorm - Denormalized and aggregated tables for PostgreSQL.
CouchDB - Seamless multi-master syncing database with an intuitive HTTP/JSON API, designed for reliability
butterfloat - The greatest view engine for the modern web
ArangoDB - 🥑 ArangoDB is a native multi-model database with flexible data models for documents, graphs, and key-values. Build high performance applications using a convenient SQL-like query language or JavaScript extensions.
capable-js - An effect system for building multi-stage UIs, powered by async generators.
MongoDB - The MongoDB Database
pota - pota is a small and pluggable Reactive Web Renderer. https://pota.quack.uy/
Apache Cassandra - Mirror of Apache Cassandra
RavenDB - ACID Document Database
supabase - The open source Firebase alternative.
Apache HBase - Apache HBase
LevelDB - LevelDB is a fast key-value storage library written at Google that provides an ordered mapping from string keys to string values.