![]() | ![]() | ![]() |
| |||||||
![]() | ||||||||||
![]() | ![]() | |||||||||
Resin 3.1 Documentation Examples Changes Release Notes Change Logs Resin 3.1.2 Resin 3.1.1 Resin 3.1.0 Archive Resin 3.0.20 Resin 3.0.19 Resin 3.0.18 Resin 3.0.17 Resin 3.0.16 Resin 3.0.15 Resin 3.0.14 Resin 3.0.13 Resin 3.0.12 Resin 3.0.11 Resin 3.0.10 Resin 3.0.9 Resin 3.0.8 Resin 3.0.7 Resin 3.0.6 Resin 3.0.5 Resin 3.0.4 Resin 3.0.3 Resin 3.0.2 Resin 3.0.1 Resin 3.0.0 |
session enhancementssave-modeThe session-config now has a save-mode attribute, specifying when Resin should save changes. The possible values are:
The default is "after-request", which is the current Resin behavior. Sites which have distribted sessions, but do not have a sticky-session load balancer may need to use "before-headers". "before-headers" does add a latency penalty. java.util.logging fixesThe operation of the java.util.logging has changed to properly implement/configure the java.util.logging API. For clarification, the <log> tag's "level" attribute sets the level of the logging Handler. It does not set the level of the Logger. <logging>The new <logging> tag configures the Logger, e.g. <logger name="com.caucho" level="fine"/> Is equivalent to: Logger.getLogger("com.caucho").setLevel(Level.FINE); If no <logger> is supplied, the level default to the parent. If no parent has a <logger>, the level defaults to INFO. Admin enhancementsSome MBeans have been reworked and extended:
Load Balancing enhancementsclient-connect-timeoutSets the time a client should wait for a connection to a backend server. Defaults to 5s. client-weightThe backend <srun> servers can now have a client-weight, so the load balancer can distribute more or less load to more or less powerful servers. The default value is 100. <cluster id="app-tier"> <srun id="app-a" client-weight="200" host="192.168.0.10"/> <srun id="app-b" host="192.168.0.10"/> <srun id="app-test" client-weight="1" host="192.168.0.200"/> </cluster> client-warmup-timeThe backend <srun> servers can now have a warmup-time. The client-warmup-time will throttle requests to the backend server while the client "warms up". The default value is 60s. <cluster id="app-tier"> <client-warmup-time>60s</client-warmup-time> <srun id="app-a" host="192.168.0.10"/> <srun id="app-b" host="192.168.0.11"/> </cluster> client-max-idle-timeclient-max-idle-time is a renaming of live-time. It's the maximum time the socket will stay in the idle pool for a load balancer before it's removed. client-fail-recover-timeclient-max-idle-time is a renaming of dead-time. It's the time the load balancer will skip a dead backend server before retrying. HessianHessian 2.0 DraftAn early draft of Hessian 2.0 protocol is available. Hessian 2.0 provides a number of compact bytecodes to reduce the size of serialized messages. Hessian 1.0 clients will continue to work with Hessian 2.0 servers without modification. EnumHessian will now read and write JDK 1.5 enums. QuercusQuercus, Caucho's implementation of the PHP language in Java, has continued its rapid development, adding advanced features as well as more PHP libraries. Distributed SessionsQuercus provides Distributed Sessions for PHP, with the same distributed capabilities as servlets already use. New LibrariesQuercus now supports server-envThe QuercusServlet now allows <server-env> to define environment variables for $_SERVER. <servlet servlet-name="php" servlet-class="com.caucho.quercus.servlet.QuercusServlet"> <init> <servlet-env foo="bar"/> </init> </servlet>
|