Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Muleesb availability

Sponsored · SiteGround - Reliable hosting with speed, security, and support you can count on. →
Avatar for Loi Tran Loi Tran
February 15, 2017

Muleesb availability

Muleesb availability

Avatar for Loi Tran

Loi Tran

February 15, 2017

More Decks by Loi Tran

Other Decks in Technology

Transcript

  1. About high-reliable applications... A high-reliability application must feature the following:

    – Zero tolerance for message loss – Reliable underlying infrastructure (ESB) – Highly reliable individual connections The feature known as transactionality tracks application event sequences to ensure that: – each message-processing step gets completed successfully – No messages get lost or processed incorrectly If a step fails, for some reason, the transactional mechanism rolls back all previous processing events, then restarts the message processing sequence again. 2
  2. Design considerations Non-functional requirements largely determine your design Using a

    cluster for HA? Clustering or multiple, stand-alone runtimes? What transactionality option? – Atomic transactions – Multiple-resource transactions – XA transactions 3
  3. High Availability in CloudHub environments HA can be achieved by

    using multiple workers (horizontal scaling) – Easily configurable – Workers do not share memory – Workers can use extra infrastructure in CloudHub for sharing data Application data is stored in CloudHub's object stores Queues can be persisted, no need to change a deployed application There is no clustering support in CloudHub 4
  4. High Availability in on-premise environments High Availability can be achieved

    using – Mule clustering – Load balanced, stand-alone Mule instances 6 Third-party Load Balancer Mule Server (cluster node) Mule Server (cluster node) Mule Server (cluster node) Distributed shared memory
  5. Improving High Availability Improve reliability by persisting all data stores

    – Requires third-party database solution Improve reliability by replicating data to another data center – Requires addition configuration for database replication/synchronization – Requires fast network connection Cross data center clustering is possible, however… – Requires ultra-fast set up between data centers 7