From 6ef7ae2cf9b9419e1f9a844fa2c2dd32b4c94930 Mon Sep 17 00:00:00 2001 From: Feng Lee Date: Thu, 8 Oct 2015 21:16:20 +0800 Subject: [PATCH 1/5] 0.12.0 --- CHANGELOG.md | 36 ++++++++++++++++++++++++++++++++++-- 1 file changed, 34 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a9650d7b3..7a504730c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,10 +2,42 @@ emqttd ChangeLog ================== -0.11.1-beta (2015-09-30) +0.12.0-beta (2015-10-08) ------------------------- -Code refactor... +#### Highlights + +Enhance the **emqttd_ctl** module to allow plugins to register new commands (#256) + +Add [emqttd_recon plugin](https://github.com/emqtt/emqttd_recon) to debug/optimize the broker (#235) + +Add **'./bin/emqttd_ctl broker pubsub'** command to check the status of the core pubsub processes + +Add **'./bin/emqttd_top'** command(like etop) to show the top 'msg_q', 'reductions', 'memory' or 'runtime' processes + +#### Enhancemenets + +Qos1/2 messages will not be dropped under unstable mobile network (#264) + +**emqttd_session:subscribe/2, emqttd_session:unsubscribe/2** APIs should be asynchronous (#292) + +**etc/emqttd.config**: 'idle_timeout' option to close the idle client(socket connected but no 'CONNECT' frame received) + +**etc/emqttd.config**: 'unack_retry_interval' option for redelivering Qos1/2 messages + +How to monitor large 'message_queue_len' (#283) + +#### Bugfix + +Behaviour emqttd_auth_mod is missing init callback (#318) + +#### Benchmark + +Write a new [benchmark tool](https://github.com/emqtt/emqtt_benchmark) to benchmark this release + +Hw requirements - 5K users, 25-50 msgs/sec, QoS=1 (#209) + +Supported Number of Connections Greatly Reduced When Clients are Subscribing (#324) 0.11.0-beta (2015-09-25) From 0dde2df9126ea5b3a2db97a51149b426fb2e2b36 Mon Sep 17 00:00:00 2001 From: Feng Lee Date: Thu, 8 Oct 2015 21:24:51 +0800 Subject: [PATCH 2/5] 0.12.0 --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7a504730c..248a31f3c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,10 @@ Add **'./bin/emqttd_ctl broker pubsub'** command to check the status of the core Add **'./bin/emqttd_top'** command(like etop) to show the top 'msg_q', 'reductions', 'memory' or 'runtime' processes +'rel/files/emqttd.config.production' for production deployment(default) + +'rel/files/emqttd.config.development' for development deployment + #### Enhancemenets Qos1/2 messages will not be dropped under unstable mobile network (#264) From f6d7c8df1d2184e7b330449407b470ff97d7a5d6 Mon Sep 17 00:00:00 2001 From: Feng Lee Date: Thu, 8 Oct 2015 21:41:26 +0800 Subject: [PATCH 3/5] misc fix --- CHANGELOG.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 248a31f3c..d95eb02eb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,7 +11,7 @@ Enhance the **emqttd_ctl** module to allow plugins to register new commands (#25 Add [emqttd_recon plugin](https://github.com/emqtt/emqttd_recon) to debug/optimize the broker (#235) -Add **'./bin/emqttd_ctl broker pubsub'** command to check the status of the core pubsub processes +Add **'./bin/emqttd_ctl broker pubsub'** command to check the status of core pubsub processes Add **'./bin/emqttd_top'** command(like etop) to show the top 'msg_q', 'reductions', 'memory' or 'runtime' processes @@ -19,7 +19,7 @@ Add **'./bin/emqttd_top'** command(like etop) to show the top 'msg_q', 'reductio 'rel/files/emqttd.config.development' for development deployment -#### Enhancemenets +#### Enhancements Qos1/2 messages will not be dropped under unstable mobile network (#264) From 5f90350822f347c889f4bcac38d6c89330e6803a Mon Sep 17 00:00:00 2001 From: Feng Lee Date: Thu, 8 Oct 2015 21:44:19 +0800 Subject: [PATCH 4/5] 0.12.0 --- src/emqttd.app.src | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/emqttd.app.src b/src/emqttd.app.src index 72745a830..d970a9e01 100644 --- a/src/emqttd.app.src +++ b/src/emqttd.app.src @@ -1,7 +1,7 @@ {application, emqttd, [ {description, "Erlang MQTT Broker"}, - {vsn, "0.11.0"}, + {vsn, "0.12.0"}, {modules, []}, {registered, []}, {applications, [kernel, From 852e05b2a8586823617822fc93464b0c8c8908ef Mon Sep 17 00:00:00 2001 From: Feng Lee Date: Thu, 8 Oct 2015 22:45:44 +0800 Subject: [PATCH 5/5] 60 secs --- rel/files/emqttd.config.production | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rel/files/emqttd.config.production b/rel/files/emqttd.config.production index f34e2f9d6..c44e1354c 100644 --- a/rel/files/emqttd.config.production +++ b/rel/files/emqttd.config.production @@ -86,7 +86,7 @@ {max_inflight, 100}, %% Retry interval for redelivering QoS1/2 messages. - {unack_retry_interval, 30}, + {unack_retry_interval, 60}, %% Awaiting PUBREL Timeout {await_rel_timeout, 20},