NR + MQTT as standalone server - opinions

Currently I'm confused about following things:

  1. What OS would be the best base?

  2. Is docker better than installing directly to the OS ?
    (Maybe could run tests easier by cloning and revert to prev. state, if did something wrong... but maybe the different port-forwarding would make it just more difficult.)

  3. Do I need to isolate multiple NR instances to handle different pizzerias?
    (Some are connected to each other, like having 1 call center but 2-3 kitchens on different locations in the city, so maybe it would be better to have only one to isolate + group.)

  4. NR is not multicore, so scaling on the VPS can be difficult, if I run only one instance.
    (How many MQTT messages + node-red flows can handle one Xeon CPU core anyway?)

  5. Instead of installing this complicated way SSL + firewall + everything (link...) I have red everywhere I should user a reverse proxy instead, because it is much much more secure. Something like this:
    reverse_proxy (Caddyfile directive) — Caddy Documentation
    ... which seems to be much easier to configure + it handles all the Let's Encrypt things by itself.
    Any experience with this?

  6. Is https://www.hivemq.com the most recommended MQTT solution?

  7. How should I secure MQTT, so nobody can use it, only my APP and customers? But I can not change any CERT files or keys in my APPs every year!

  • You should use Docker
  • No need
  • something else ...

0 voters