Skip to main content
Jump to: navigation, search

Difference between revisions of "RAP/RWT Cluster"

< RAP
(Transparent session failover)
Line 1: Line 1:
 
| [[RAP|RAP wiki home]] | [http://eclipse.org/rap RAP project home] |
 
| [[RAP|RAP wiki home]] | [http://eclipse.org/rap RAP project home] |
 +
{{warning|Support for Transparent Session Failover in RWT is work in progress and details outlined below may change without prior notice}}
 +
 
== Load balancing ==
 
== Load balancing ==
 
[http://http://en.wikipedia.org/wiki/Load_balancing_(computing) Load balancing] to distribute workload across multiple nodes in a cluster works with RAP out of the box since version 1.0.
 
[http://http://en.wikipedia.org/wiki/Load_balancing_(computing) Load balancing] to distribute workload across multiple nodes in a cluster works with RAP out of the box since version 1.0.
Line 7: Line 9:
 
For information on how to set up load balancing, refer to the servlet container documentation. E.g. [http://tomcat.apache.org/tomcat-7.0-doc/balancer-howto.html Tomcat]
 
For information on how to set up load balancing, refer to the servlet container documentation. E.g. [http://tomcat.apache.org/tomcat-7.0-doc/balancer-howto.html Tomcat]
  
== Transparent session failover ==
 
{{warning|Support for clustering RWT is work in progress and details outlined below may change without prior notice}}
 
  
 +
== Transparent Session Failover ==
 
We are currently working to make transparent session [http://en.wikipedia.org/wiki/Failover failover] possible for RAP applications.
 
We are currently working to make transparent session [http://en.wikipedia.org/wiki/Failover failover] possible for RAP applications.
  

Revision as of 08:08, 5 June 2011

| RAP wiki home | RAP project home |

Warning2.png
Support for Transparent Session Failover in RWT is work in progress and details outlined below may change without prior notice


Load balancing

Load balancing to distribute workload across multiple nodes in a cluster works with RAP out of the box since version 1.0.

One thing to mind though when setting up a load balancer for RAP applications is that it must be configured to use stcky sessoins (aka session affinity). This entails that once a session is started, the same server serves all requests for that session.

For information on how to set up load balancing, refer to the servlet container documentation. E.g. Tomcat


Transparent Session Failover

We are currently working to make transparent session failover possible for RAP applications.

Run

  • add org.eclipse.rwt.internal.engine.RWTClusterSupport servlet filter to web.xml like so
 <servlet>
   <servlet-name>rwt</servlet-name>
   <servlet-class>org.eclipse.rwt.internal.engine.RWTDelegate</servlet-class>
 </servlet>
 <filter-mapping>
   <filter-name>org.eclipse.rwt.internal.engine.RWTClusterSupport</filter-name>
   <servlet-name>rwt</servlet-name>
 </filter-mapping>
  • set system property lifecycle to org.eclipse.rwt.internal.lifecycle.SimpleLifeCycle

Development Snapshots

Development takes place in HEAD, if you are interested you may want to directly check out the source from the source code repository. To run the tests you will have to add Jetty 7.4 and the H2 embedded database (version 1.1) to your target platform.

Nightly builds are also available and can be downloaded from the build server.

Schedule

We plan to ship a first version with Milestone 1 of RAP 1.5 which will be available end of August 2011.

Back to the top