From: <tho...@us...> - 2014-05-04 20:35:38
|
Revision: 8184 http://sourceforge.net/p/bigdata/code/8184 Author: thompsonbry Date: 2014-05-04 20:35:34 +0000 (Sun, 04 May 2014) Log Message: ----------- Changed the default policy to the GangliaLBSPolicy for testing. Added min/max threads environment variables to startHAServices. This are examined by jetty.xml. Modified Paths: -------------- branches/BIGDATA_RELEASE_1_3_0/bigdata-war/src/WEB-INF/web.xml branches/BIGDATA_RELEASE_1_3_0/src/resources/bin/startHAServices Modified: branches/BIGDATA_RELEASE_1_3_0/bigdata-war/src/WEB-INF/web.xml =================================================================== --- branches/BIGDATA_RELEASE_1_3_0/bigdata-war/src/WEB-INF/web.xml 2014-05-04 19:33:40 UTC (rev 8183) +++ branches/BIGDATA_RELEASE_1_3_0/bigdata-war/src/WEB-INF/web.xml 2014-05-04 20:35:34 UTC (rev 8184) @@ -139,7 +139,7 @@ <async-supported>true</async-supported> <init-param> <param-name>policy</param-name> - <param-value>com.bigdata.rdf.sail.webapp.lbs.policy.RoundRobinLBSPolicy</param-value> + <param-value>com.bigdata.rdf.sail.webapp.lbs.policy.ganglia.GangliaLBSPolicy</param-value> <description> The load balancer policy. This must be an instance of the IHALoadBalancerPolicy interface. A default policy (NOPLBSPolicy) is @@ -151,15 +151,23 @@ The following policies are pre-defined: - com.bigdata.rdf.sail.webapp.lbs.policy.NOPLBSPolicy - Does not load balance read requests. + com.bigdata.rdf.sail.webapp.lbs.policy.NOPLBSPolicy: - com.bigdata.rdf.sail.webapp.lbs.policy.RoundRobinLBSPolicy - Round robin for read requests. + Does not load balance read requests. - com.bigdata.rdf.sail.webapp.lbs.policy.GangliaLBSPolicy - Load based proxying for read requests using ganglia. + com.bigdata.rdf.sail.webapp.lbs.policy.RoundRobinLBSPolicy: - Some policies can be configured using additional init-param elements - that they understand. See the javadoc for the individual policies for - more information. + Round robin for read requests. + + com.bigdata.rdf.sail.webapp.lbs.policy.ganglia.GangliaLBSPolicy: + + Load based proxying for read requests using ganglia. Either gmond + must be installed on each node or the embedded GangliaService must + be enabled such that performance metrics are collected and reported. + + Some of these policies can be further configured using additional + init-param elements that they understand. See the javadoc for the + individual policies for more information. </description> </init-param> </servlet> Modified: branches/BIGDATA_RELEASE_1_3_0/src/resources/bin/startHAServices =================================================================== --- branches/BIGDATA_RELEASE_1_3_0/src/resources/bin/startHAServices 2014-05-04 19:33:40 UTC (rev 8183) +++ branches/BIGDATA_RELEASE_1_3_0/src/resources/bin/startHAServices 2014-05-04 20:35:34 UTC (rev 8184) @@ -82,6 +82,8 @@ -DZK_SERVERS=${ZK_SERVERS}\ -DHA_PORT=${HA_PORT}\ "-Dcom.bigdata.hostname=${BIGDATA_HOSTNAME}"\ + "-Djetty.threads.min=${JETTY_THREADS_MIN}"\ + "-Djetty.threads.max=${JETTY_THREADS_MAX}"\ "-Djetty.port=${JETTY_PORT}"\ "-Djetty.resourceBase=${JETTY_RESOURCE_BASE}"\ "-DJETTY_XML=${JETTY_XML}"\ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |