mria
mria | cdk-emqx-cluster | |
---|---|---|
4 | 1 | |
106 | 10 | |
4.7% | - | |
7.2 | 4.8 | |
25 days ago | 4 months ago | |
Erlang | Python | |
Apache License 2.0 | - |
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.
mria
-
How EMQX Under the New Architecture of Mria + RLOG Achieves 100M MQTT Connections
Mria is an open source extension to Mnesia that adds eventual consistency to clusters. Most of the features described earlier still apply to it, the difference is how data is replicated between nodes. Mria switched from a full mesh topology to a mesh+star topology. Each node assumes one of two roles: core node or replicant node.
-
Reaching 100M MQTT Connections with EMQX 5.0
In EMQX 5.0, we attempted to mitigate this issue in a new DB backend type called RLOG (as in replication log), which is implemented in Mria. Mria is an extension to the Mnesia database that helps it scale horizontally by defining two types of nodes: i) core nodes, which behave as usual Mnesia nodes and participate in write transactions; ii) replicant nodes, which do not take part in transactions and delegate those to core nodes, while keeping a read-only replica of the data locally. This helps to reduce the risk of split-brain scenarios and lessens the coordination needed for transactions, since fewer nodes participate in it, while keeping read-only data access fast, since data is available locally for reading in all nodes.
-
Challenges and Solutions of EMQX Horizontal Scalability - MQTT Broker Clustering Part 3
Mria is an open-source extension to Mnesia that adds eventual consistency to the cluster.
-
Show HN: Multiplayer Demo Built with Elixir
> write-up soon as a guide for Python developers moving to Elixir
Awesome initiative!
> ETS as a KV/document store to hold user and application state and then reacting to changes in to that the way you are here
This is actually pretty interesting. I can't speak to ETS but Mnesia has replication and you can expose the replication log using something like https://github.com/emqx/mria. I've only had a cursory look at this so I could be wrong about its capabilities but it would be an awesome extension to the new Realtime if possible.
cdk-emqx-cluster
-
Reaching 100M MQTT Connections with EMQX 5.0
For deploying and running our cluster tests, we used AWS CDK, which allowed us to experiment with different instance types and numbers, and also trying out different development branches of EMQX. You can checkout our scripts in this Github repo. In our load generator nodes ("loadgens" for short), we used our emqtt-bench tool to generate the connection / publishing / subscribing traffic with various options. EMQX's Dashboard and Prometheus were used for monitoring the progress of the test and the instances' health.
What are some alternatives?
walrus - Applying RLS to PostgreSQL WAL
otp - Erlang/OTP
wal2json - JSON output plugin for changeset extraction
emqtt-bench - Lightweight MQTT benchmark tool written in Erlang
emqx - The most scalable open-source MQTT broker for IoT, IIoT, and connected vehicles
supabase - The open source Firebase alternative.
prometheus - The Prometheus monitoring system and time series database.
aws-cdk - The AWS Cloud Development Kit is a framework for defining cloud infrastructure in code