Using MQTT retained messages to store state between reboots

Is the recommendation then to use Mosquito as a stand-alone broker rather than Aedes as a hosted node.js broker ? Is there a guide to setting up a quality MQTT broker to interact with from node-red and third-party IOT devices ?