Informatica

Ultra Messaging Knowledge Base


Is UMP Compatible with Hot Failover

This article outlines the advantages and disadvantages of using Hot Failover with Persistence and suggests ways to optimize the benefits of using the two together. It was originally: "FAQ: Is UMP compatible with Hot Failover?" https://knowledge.informatica.com/s/article/80173

Is UMP Compatible with Hot Failover
    • Benefits
    • Costs and Considerations
    • Addressing Hardware Issues
    • Addressing Application Issues
    • Down To Business

Benefits

Hot Failover provides zero-latency failover for any component in the path from source to receiver: the source-side application, operating system, or NIC, even the network switches and routers along the way. If one of a pair of Hot Failover sources goes down, any receiving applications listening to that source's topic won't even notice the failure. Receiving applications notice no latency spikes or delay while failing over to a waiting warm backup source; there is practically no change at all, from a receiver's perspective. Business simply continues as usual, and the failed source can be repaired and brought back up when it is convenient.

For more details on how Hot Failover works, please see Hot Failover (HF).

Costs and Considerations

As with any architectural decision, using Hot Failover comes with certain trade-offs. The following issues arise when using Hot Failover independently of UMP.

Using Hot Failover with UMP poses all of the same issues mentioned above plus the following issues.

Even with these considerations, UMP and Hot Failover can successfully be used together, and in fact are used together in daily, business-critical production deployments of Ultra Messaging software.

Addressing Hardware Issues

Here are some recommendations to help mitigate or solve the issues associated with using Hot Failover and UMP together.

Addressing Application Issues

Using UMP and Hot Failover together requires some additional application complexity not needed when using UMP or Hot Failover alone.

For more information about lbm_msg_retain(), please refer to the C API documentation. Information about LBMMessage can be found in the .NET and Java API documentation. Information about hf_duplicate_delivery is in the "Hot Failover Operation Options" section of the LBM Configuration Guide, and ume_explicit_ack_only information is in the "Ultra Messaging Persistence Options" section of the same document.

Down To Business

Whether or not to use Hot Failover with UMP is essentially a business decision. Hot Failover provides one massive benefit - zero-latency source failover - at the significant costs of increased hardware expenditures, the necessity of a much more tightly controlled infrastructure, and increased software complexity.

To use an exchange as an example, the main questions to ask when making a decision for or against using Hot Failover might be:

Or, to put it more bluntly,

Do not use Hot Failover if you want lower average latencies with the occasional rare latency spike on a hot-warm source failover.

Use Hot Failover if you want slightly higher average latencies with no latency spikes on source failover.



© 2024 Informatica. All Rights Reserved

KB Home | Index

UM Home

See Notices for important information.