If your Web Service does not store any state in the context hierarchy then you could deploy your service in "n" number of nodes. Hot Deploy feature ensures that you could deploy new services without shutting down your existing services.Scalability support will ensure that your services can maintain the same level of serviceability/availability (QoS) in increased load conditions.Failover support will ensure that a client will continued be served, without any interruption due to a node failure.You can improve the availability of your Web Service by using the following Axis2 functionality. If you use Synapse with the Failover mediator you can provide transparent Failover. In the event the primary node fails, the clients can switch to one of the backups. If you deploy your Stateful Web Services in this mode, you can designate 1-2 backups and replicate state. FailoverĪxis2 provides excellent support for Failover by replicating to backup node(s). That is, you can deploy the same service in more than one node to share the work load, thereby increasing or maintaining the same level of serviceability (throughput etc). In order to maintain the same level of serviceability (QoS) during an increase in load you need the ability to scale.Īxis2 provides replication support to scale horizontally. A physical machine can contain more than one node. In the context of Axis2 clustering, a node is defined as a separate process with a unique port number where it listens for requests on a given transport. Example 3: Scalability and HA with Stateful Web Services.Example 2: Failover for Stateful Web Services.Example 1: Scalability and HA with Stateless Web Services.Configuring Axis2 to add Clustering Support.However it is important to understand the current limitations and the risks/impacts associated with each scenario. It also highlights the recommended approaches using examples.Īxis2 clustering support can be used in several scenarios. This guide will explain the extent of clustering support and it's the current limitations. Are you interested in improving Scalability and High Availability of your Web Services?Īxis2 1.4 provides experimental clustering support to add Scalability, Failover and High Availability to your Web Services.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |