Nice work! I'd be curious to see a comparison w/ RabbitMQ's MQTT extension. By any chance have you done such a comparison? Also I assume the comparisons are done at QOS level 0?
I have in fact tested RabbitMQ but it was not at all impressive. The two fastest brokers I have found are emqtt and Mosquitto, both good at either large or small broadcasts but not both.
> The two fastest brokers I have found are emqtt and Mosquitto
What about vernemq? I [ran across][1] a comment a while back about some tradeoffs with emqtt's usage of mnesia. Haven't gotten around to trying verne myself yet though.
We can have a big bench-off with more brokers later on. I have tested maybe 6 and from this I have decided to write my own. I wouldn't spend time reinventing the wheel for free if I didn't have a reason for it :) Then you also have memory usage which is impossible to optimize in VM/GC languages.
Edit: yes they are qos 0 (just like Redis)