It’s often needed to extend a Java/PHP application across multiple servers. This is especially crucial when your business fully depends on your application availability. The high availability helps to prevent failed transactions, error-filled shopping carts and lost work of the users. Extending the application across a number of the servers provides redundancy. As a result when one server fails, the whole app will not be brought down. Thus no server is a single point of failure for the application.
This is also important to have a scalable solution. If you run your application on the different servers, you want to be capable to handle session failover. The redundancy ensures that if one server dies, the remaining ones can take over the work of the failed one. Also there is the need to add more servers in order to avoid the overload of the remaining servers. This is gained with a help of the horizontal scalability.
Obviously the Jelastic vertical scaling also comes into the game nicely – the remaining server instance also gets the memory and processing power required to serve the doubled load.
Thus providing high availability for your application demands the related redundancy and scalability strengths. There is only one way to make sure this is achieved: a solution that adds cluster to the cloud. The cluster ensures that no server is a single point of failure. The cloud ensures that one server failure doesn’t overload the rest of the servers.
Navigate to the following documents to get more detailed information on establishing highly available application in your Jelastic environment.
App Server Clustering
Database Server Replication