Comparison - DMR vs MNR

giri
giri Member, Administrator, Employee Posts: 116 admin

Based on my reading, both features serve the scaling needs of an enterprise - is there a feature comparison list of these two.

When would a MNR be used over DMR or vice versa?

Tagged:

Best Answer

  • ChristianHoltfurth
    ChristianHoltfurth Member, Employee Posts: 75 Solace Employee
    #2 Answer ✓

    Hi @giri ,

    Take a look at this post in the community for a start:
    https://solace.community/discussion/184/ha-group-with-multiple-standby-nodes

    High level: MNR is for direct messaging only and DMR can do both.
    If in doubt, use DMR as default. It's the newer technology and what our Event Mesh concept is based on.

    MNR has been around longer and doesn't support guaranteed messaging, so it's basically best-effort and you might loose messages on links, if the network is congested or disrupted. It's often used in market data type distribution use cases.

    You could probably stop at this, but if you want to go a bit deeper into this, then there's one more thing to consider:

    The other key difference is that MNR allows routing via multiple hops (many). You don't need direct links between all the nodes and messages can get routed over multiple brokers on their way to their destination.
    DMR does currently (mid 2021) support max 3 hops (1 internal cluster link + 1 external link + 1 internal cluster link), so in theory you could build more complex distributed networks with MNR at the moment, but DMR is catching up quickly and will soon support more complex architectures/networks probably beyond what you could build with MNR.

Answers

  • ChristianHoltfurth
    ChristianHoltfurth Member, Employee Posts: 75 Solace Employee
    #3 Answer ✓

    Hi @giri ,

    Take a look at this post in the community for a start:
    https://solace.community/discussion/184/ha-group-with-multiple-standby-nodes

    High level: MNR is for direct messaging only and DMR can do both.
    If in doubt, use DMR as default. It's the newer technology and what our Event Mesh concept is based on.

    MNR has been around longer and doesn't support guaranteed messaging, so it's basically best-effort and you might loose messages on links, if the network is congested or disrupted. It's often used in market data type distribution use cases.

    You could probably stop at this, but if you want to go a bit deeper into this, then there's one more thing to consider:

    The other key difference is that MNR allows routing via multiple hops (many). You don't need direct links between all the nodes and messages can get routed over multiple brokers on their way to their destination.
    DMR does currently (mid 2021) support max 3 hops (1 internal cluster link + 1 external link + 1 internal cluster link), so in theory you could build more complex distributed networks with MNR at the moment, but DMR is catching up quickly and will soon support more complex architectures/networks probably beyond what you could build with MNR.

  • giri
    giri Member, Administrator, Employee Posts: 116 admin