The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning. Learn more →
Top 5 Erlang Database Projects
-
CouchDB
Seamless multi-master syncing database with an intuitive HTTP/JSON API, designed for reliability
-
khepri
Khepri is a tree-like replicated on-disk database library for Erlang and Elixir. (by rabbitmq)
Erlang/OTP doesn't handle leader election, and by itself is bad at handling netsplits.
There is https://github.com/rabbitmq/ra which is a Raft implementation in Erlang that is Jepsen-tested. You could use it to build "etcd in Erlang", or https://github.com/rabbitmq/khepri which is built on top of Ra.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
Project mention: Show HN: ElectricSQL, Postgres to SQLite active-active sync for local-first apps | news.ycombinator.com | 2023-09-20
Hi HN, James, Valter, Sam and the team from ElectricSQL here.
We're really excited to be sharing ElectricSQL with you today. It's an open source, local-first sync layer that can be used to build reactive, realtime, offline-capable apps directly on Postgres with two way active-active sync to SQLite (including with WASM in the browser).
Electric comprises a sync layer (built with Elixir) placed in front of your Postgres database and a type safe client that allows you to bidirectionally sync data from your Postgres to local SQLite databases. This sync is CRDT-based, resilient to conflicting edits from multiple nodes at the same time, and works after being offline for extended periods.
Some good links to get started:
- website: https://electric-sql.com
- docs: https://electric-sql.com/docs
- code: https://github.com/electric-sql/electric
- introducing post: https://electric-sql.com/blog/2023/09/20/introducing-electri...
You can also see some demo applications:
- Linear clone: https://linear-lite.electric-sql.com
- Realtime demo: https://electric-sql.com/docs/intro/multi-user
- Conflict-free offline: https://electric-sql.com/docs/intro/offline
The Electric team actually includes two of the inventors of CRDTs, Marc Shapiro and Nuno Preguiça, and a number of their collaborators who've pioneered a lot of tech underpinning local-first software. We are privileged to be building on their research and delighted to be surfacing so much work in a product you can now try out.
-
-
Project mention: Ask HN: Good examples of fault-tolerant Erlang code? | news.ycombinator.com | 2023-12-28
Making cluster fault tolerant is an art on its own in Erlang ;)
Riak Core is extremely cool, but Riak is dead by now. It was a child of the times when NoSQL was cool. Still, basho code is interesting to read. (https://github.com/basho/riak_core)
Self-ads: we've tried to remove Mnesia from our project, HN post incoming, once the library is prettified and tested hard (https://github.com/esl/cets).
-
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.
Erlang Database related posts
- The Erlang Runtime System
- Khepri is a tree-like replicated on-disk database library for Erlang and Elixir
- Reaching 100M MQTT Connections with EMQX 5.0
- [AskJS] technology stack for PWA, ServiceWorker and offline first web app?
- I implemented a verkle tree database. It is an alternative to merkle trees based on pedersen commitments. The proofs and database are smaller than an equivalent merkle tree.
- I programmed a verkle tree in Erlang. It is a more scalable alternative to merkle trees that makes statelessness work better. Ethereum is planning to use this kind of database.
- I made a Pedersen verkle tree. It is a more-scalable alternative to merkle trees, that will allow Ethereum full nodes to be stateless.
-
A note from our sponsor - WorkOS
workos.com | 18 Apr 2024
Index
What are some of the best open-source Database projects in Erlang? This list will help you:
Project | Stars | |
---|---|---|
1 | CouchDB | 6,009 |
2 | khepri | 300 |
3 | vaxine | 109 |
4 | verkle | 17 |
5 | cets | 11 |