Two years ago I presented MQTT.js and the broker Mosca, and the projects thrived with popularity! At Nodeconf.eu 2013 I met Trevor Norris, that introduced me to the black magic of node performance: I dived into the rabbit hole. The new version of Mosca handle 60K messages/second, where the old one ticked at 20K. This is the story of what I learned in the process, and how you can make your application run fast too!
Two years ago I presented MQTT.js and the broker Mosca, and the projects thrived with popularity! At Nodeconf.eu 2013 I met Trevor Norris, that introduced me to the black magic of node performance: I dived into the rabbit hole. The new version of Mosca handle 60K messages/second, where the old one ticked at 20K. This is the story of what I learned in the process, and how you can make your application run fast too!