emqtt-bench
mria
emqtt-bench | mria | |
---|---|---|
5 | 4 | |
491 | 106 | |
0.4% | 4.7% | |
7.0 | 7.2 | |
3 months ago | 25 days ago | |
Erlang | Erlang | |
Apache License 2.0 | 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.
emqtt-bench
-
Getting Started with MQTT Performance Testing: A Primer on Scenarios and Metrics
For installation and usage, please refer to emqtt-bench: Lightweight MQTT benchmark tool written in Erlang
-
Get Started with MQTT over QUIC: A Quick Guide for The Next-generation IoT Standard Protocol
git clone https://github.com/emqx/emqtt-bench.git cd emqtt-bench CMAKE_BUILD_TYPE=Debug BUILD_WITH_QUIC=1 make
-
Evaluation for Popular Online Public MQTT Broker
With the help of the open-source MQTT performance test tool emqtt-bench, we test whether the client's Pub/Sub has a rate limit.
-
How to Use MQTT in Java
Originally published at https://www.emqx.com.
-
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.
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.
What are some alternatives?
emqx - The most scalable open-source MQTT broker for IoT, IIoT, and connected vehicles
walrus - Applying RLS to PostgreSQL WAL
MQTTX - A Powerful and All-in-One MQTT 5.0 client toolbox for Desktop, CLI and WebSocket.
wal2json - JSON output plugin for changeset extraction
emqtt - Erlang MQTT 5.0 Client
otp - Erlang/OTP
supabase - The open source Firebase alternative.
cdk-emqx-cluster
pynng-mqtt
aws-cdk - The AWS Cloud Development Kit is a framework for defining cloud infrastructure in code