Server Configuration"

From Documentation
m (add other servlet container)
Line 3: Line 3:
 
The configuration of a Web server really depends on the server itself. There is no standard approach.
 
The configuration of a Web server really depends on the server itself. There is no standard approach.
  
 +
= Load Balancer (Required) =
 +
Be sure to configure [http://wiki.metawerx.net/wiki/StickySessions sticky session] on your load balancer because ZK only works correctly on this case.
 +
<ref>
 +
Check DesktopImpl's source, you will see there are lots of <tt>synchronized</tt> used in many methods including:
 +
* generate desktop ID
 +
* addPage(), removePage()
 +
* enableServerPush()
 +
* processing server push update
 +
 +
The keyword <tt>synchronized</tt> only works in single JVM, so it’s impossible to keep the same state between 2 different nodes of a clustering even with session replication if 2 nodes receive 1 requests at roughly the same time.
 +
</ref>
 +
 +
<references/>
 
=Apache + Tomcat=
 
=Apache + Tomcat=
  

Revision as of 06:59, 13 January 2020


Server Configuration


The configuration of a Web server really depends on the server itself. There is no standard approach.

Load Balancer (Required)

Be sure to configure sticky session on your load balancer because ZK only works correctly on this case. [1]

  1. Check DesktopImpl's source, you will see there are lots of synchronized used in many methods including:
    • generate desktop ID
    • addPage(), removePage()
    • enableServerPush()
    • processing server push update
    The keyword synchronized only works in single JVM, so it’s impossible to keep the same state between 2 different nodes of a clustering even with session replication if 2 nodes receive 1 requests at roughly the same time.

Apache + Tomcat

For configuring Apache + Tomcat, please refer to

More detail settings

Google App Engine

For configuring Google App Engine, please refer to

Apache + JBoss

For configuring JBoss, please refer to

Glassfish

For configuring Glassfish, please refer to

WebLogic

For configuring WebLogic, please refer to

Version History

Last Update : 2020/01/13


Version Date Content
     



Last Update : 2020/01/13

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.