bottleneck testcase based on rubbos
[bottlenecks.git] / rubbos / app / tomcat-connectors-1.2.32-src / docs / news / printer / 20081001.html
1 <html><head><META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>The Apache Tomcat Connector - News - 2008 News and Status</title><meta name="author" value="Apache Tomcat Connectors Project"><meta name="email" value="dev.AT.tomcat.DOT.apache.DOT.org"><link href="../../style.css" type="text/css" rel="stylesheet"></head><body bgcolor="#ffffff" text="#000000" link="#525D76" alink="#525D76" vlink="#525D76"><table border="0" width="100%" cellspacing="4"><!--PAGE HEADER--><tr><td colspan="2"><!--TOMCAT LOGO--><a href="http://tomcat.apache.org/"><img src="../../images/tomcat.gif" align="left" alt="Apache Tomcat" border="0"></a><!--APACHE LOGO--><a href="http://www.apache.org/"><img src="http://www.apache.org/images/asf-logo.gif" align="right" alt="Apache Logo" border="0"></a></td></tr><!--HEADER SEPARATOR--><tr><td colspan="2"><hr noshade size="1"></td></tr><tr><!--RIGHT SIDE MAIN BODY--><td width="80%" valign="top" align="left"><table border="0" width="100%" cellspacing="4"><tr><td align="left" valign="top"><h1>The Apache Tomcat Connector - News</h1><h2>2008 News and Status</h2></td><td align="right" valign="top" nowrap="true"><img src="../../images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table><table border="0" cellspacing="0" cellpadding="2" width="100%"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="2008 News &amp; Status"><strong>2008 News &amp; Status</strong></a></font></td></tr><tr><td><blockquote>
2 <br>
3 <table border="0" cellspacing="0" cellpadding="2" width="100%"><tr><td bgcolor="#828DA6"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="28 October - JK-1.2.27 released"><strong>28 October - JK-1.2.27 released</strong></a></font></td></tr><tr><td><blockquote>
4 <a name="20081028.1"></a>
5 <br>
6 <p>The Apache Tomcat team is proud to announce the immediate availability
7 of Tomcat Connectors 1.2.27. This is a stable release adding lots of new features
8 and some bug fixes.
9 </p><p>
10  Please see the <a href="../../miscellaneous/changelog.html">ChangeLog</a> for a full list of changes.
11 </p>
12 <p>If you find any bugs while using this release, please fill in the
13 <a href="https://issues.apache.org/bugzilla/enter_bug.cgi?product=Tomcat%20Connectors">Bugzilla</a>
14 Bug Report.
15 </p>
16 <p>
17 The most important new features in this version are:
18 </p>
19 <h3>Watchdog Thread for Periodic Tasks</h3>
20 <p>
21 The connector has to run some periodic tasks independant of
22 request processing. Examples are probing or closing down idle backend
23 connections, adjusting load numbers and recovering workers from error state.
24 </p>
25 <p>
26 Before version 1.2.27 these tasks were done inside the request processing loop.
27 When a new request came in and the task was due, the thread handling the
28 request first executed the internal task and then handled the request.
29 If there were no requests coming in, the tasks would not run. If any of
30 the tasks took unexpectedly long, the response time of the request waiting
31 for the finishing of the task went up.
32 </p>
33 <p>
34 Starting with this release you can configure a separate watchdog thread inside
35 the web server to run all those tasks independantly of request processing.
36 This new feature is avaliable for the connector when used with Apache httpd 2.x
37 or with Microsoft IIS. To keep the behaviour of the new version consistent
38 with previous releases, this feature is turned off by default.
39 You can activate the watchdog thread via
40 <a href="../../reference/apache.html"><b class="code">JkWatchdogInterval</b></a>
41 for Apache or
42 <a href="../../reference/iis.html"><b class="code">watchdog_interval</b></a>
43 for IIS.
44 </p>
45 <h3>Connection Probing</h3>
46 <p>
47 In previous releases connection probing (checking whether connections still work)
48 could only be done immediately after a new connection was established and
49 directly before sending each request. Since we now have the watchdog
50 thread available, we also added a periodic probing option, which you
51 can activate with the worker attribute
52 <a href="../../reference/workers.html"><b class="code">ping_mode</b></a>.
53 This will also be useful as a protection against the infamous firewall
54 idle connection drop.
55 </p>
56 <p>
57 The older attributes <b class="code">connect_timeout</b> and <b class="code">prepost_timeout</b>
58 still exist and work the same way they did in previous releases.
59 Since there are now three different probing options, we recommend to migrate
60 your configuration to the newer attributes <b class="code">ping_mode</b>,
61 <b class="code">ping_timeout</b> and <b class="code">connection_ping_interval</b>.
62 </p>
63 <h3>Mount Extensions</h3>
64 <p>
65 Usually one defines workers and mounts for the connector.
66 A worker defines a backend we want to talk to and the configuration parameters of the
67 communication, connection pools etc. The mounts define which URIs we want to forward to
68 which worker (so we also call a mount an URI map rule).
69 In version 1.2.27 you can overwrite certain worker parameter per mount.
70 </p>
71 <p>
72 One easy to understand example is reply timeouts. Until this release you had to specify
73 a reply timeout for the whole worker. But reply times depend a lot on the type of
74 request. So normally you want to define a general reply timeout and
75 for some special URLs you need to relax the reply timeout, because you know those
76 URLs take much longer to process (like e.g. reporting or other compute intensive tasks).
77 </p>
78 <p>
79 Another possible case is the activation status. You might use a load balancer worker to
80 forward requests to certain webapps in a farm of Tomcat nodes. If you wanted
81 to update some webapp on one node, you previously had to stop forwarding requests for
82 all webapps on this Tomcat node. What was not possible until now, was stopping forwarding
83 requests restricted to the webapp and the node you wanted to update.
84 </p>
85 <p>
86 Starting with this release, you can add so-called
87 <a href="../../reference/uriworkermap.html#Rule extensions">rule extensions</a>
88 to your uriworkermap file to influence worker parameters per mount. This will
89 work for all Apache versions and for IIS. Remember, that
90 the uriworkermap file automatically gets reloaded after changes without web server
91 restart.
92 </p>
93 <h3>Improved IIS support</h3>
94 <p>
95 We improved IIS support im various ways. It is now possible to use
96 multiple IIS 6 application pools with the ISAPI redirector.
97 </p>
98 <p>
99 Furthermore some improvements were added as compile time features.
100 The most notable one is chunked encoding support, which was a major
101 refactoring and is therefore still considered experimental. You can
102 download binaries with and without chunked encoding support. In future
103 versions, chunked encoding will likely be availabe in all builds.
104 </p>
105 <p>
106 Another new feature is an elegant way of configuring error page redirects.
107 All new features are documented on the documentation page about
108 <a href="../../reference/iis.html">configuring IIS</a>.
109 </p>
110 <h3>Enhanced Status Worker</h3>
111 <p>
112 The
113 <a href="../../reference/status.html">status worker</a>
114 now can also manage and show statistics for AJP workers that
115 are not part of a load balancer. Other improvements are the new <b class="code">dump</b>
116 action, the integration of the new configuration attributes, showing average
117 request and transfer rates since the last statistics reset and the ability to
118 display only a single member of a load balancer.
119 </p>
120 <p>
121 Unfortunately we had to change
122 <a href="../../reference/status.html#Data Parameters for the standard Update Action">some request parameters</a>
123 used for the <b class="code">update</b> action of the status worker.
124 </p>
125 <h3>Miscellaneous Improvements</h3>
126 <p>
127 Further enhancements are:
128 <ul>
129 <li>
130 Configurable session stickyness indicator: cookie name and URL path
131 parameter name can be freely chosen instead of the servlet spec compliant
132 <b class="code">JSESSIONID</b> and <b class="code">;jsessionid</b>.
133 </li>
134 <li>
135 Automatically determining the size of the shared memory segment needed
136 to accommodate all workers.
137 </li>
138 <li>
139 New connection establishment timeout <b class="code">socket_connect_timeout</b>.
140 </li>
141 <li>
142 New timeout <b class="code">connection_acquire_timeout</b> for acquiring a free connection from
143 the pool.
144 </li>
145 <li>
146 Improved retry handling by adjusting the meaning of the attribute <b class="code">retries</b> for
147 AJP workers and for load balancers and by adding the new <b class="code">retry_interval</b>.
148 </li>
149 <li>
150 Allowing the web server to provide error pages instead of Tomcat.
151 </li>
152 </ul>
153 </p>
154 </blockquote></td></tr></table>
155 </blockquote></td></tr></table></td></tr><!--FOOTER SEPARATOR--><tr><td colspan="2"><hr noshade size="1"></td></tr><!--PAGE FOOTER--><tr><td colspan="2"><div align="center"><font color="#525D76" size="-1"><em>
156         Copyright &copy; 1999-2011, Apache Software Foundation
157         </em></font></div></td></tr></table></body></html>