Becoming more ops-friendly, Beta.2 is on the way - EMQ X Newsletter 202110

Besides making EMQ X stronger and faster as an MQTT messaging broker, we also try hard to make it ops-friendly. From configuration to management API, dashboard UI to live code upgrade, single node docker run to massive scale clustering.

In October, EMQ X development teams have been mostly focusing on HTTP management API, the readiness of which will be checkpoint for the beta.2 release.

EMQ X v5.0-beta.2 updates

For beta.1 release at the end of September, our focus was to get the configuration interface ready (the HTTP APIs were unstable at the moment). Our primary focus for beta.2 is to get the management HTTP APIs stable. We are also working on two more features that missed the beta.1 release, hierarchical rate control and cross-node session migration which will hopefully be released as a part of the beta.2

Brand new management HTTP API

As we have previously mentioned, the new APIs are designed following OpenAPI (Swagger) 3.0 specification.

And the release comes with a built-in UI which demos curl command examples, as well as a "Try it out" button which make it easy to test thing out from the web UI.

This screenshot is an example “Try it out” result, which fetched back the configuration for an HTTP authentication API.


Hierarchical rate control

Up until EMQ X 4.3, the messaging rate limit control was done at connection level. To set rate controls at levels, we are introducing the new hierarchical rate control feature.

This will allow users to control message rates at ‘global', ‘zone’, ‘listener’, and ‘connection’ levels.

Replicated session state

Before 5.0, EMQ X already provides highly available persistent sessions across the nodes in a cluster. The state however is not replicated, that is, the session states are local to the node which is serving the client. Session take-over is triggered if the client moves from one node to another in the cluster. This has been working quite well given that EMQ X cluster’s long uptime with the help from live-code-upgrade (hot-patching without restarting the service).

To be more ops-friendly, we are now introducing cross-node session state replication. This will allow users to shut down a broker for maintenance without losing the persistent session states.

Did you like this blog post? Share it now

Related Posts

An exciting start of the cloud-native journey - EMQ X Newsletter 202105

Although a lot of changes originally planned for v5 have been pushed earlier to v4.3, the greater remaining work for v5 is just getting started, and everybody is so pumped to get started.

The Development Work for EMQ X 5.0 is in Full Swing - EMQ X Newsletter 202107

EMQ X development work is in full swing this July. We have added some exciting features and made a breakthrough progress on the key tasks of version 5.0.

EMQ X project newsletter 202101

Hello! This is our very first newsletter to share what’s happening in EMQ X open-source team.