Author: julien_viet
Date: 2009-10-25 07:55:22 -0400 (Sun, 25 Oct 2009)
New Revision: 426
Modified:
portal/branches/performance/webui/portal/src/main/java/org/exoplatform/portal/application/PortalRequestContext.java
Log:
GTNPORTAL-65 : use a 30k buffer on servlet output stream to avoid too many implicit
flushes
Modified:
portal/branches/performance/webui/portal/src/main/java/org/exoplatform/portal/application/PortalRequestContext.java
===================================================================
---
portal/branches/performance/webui/portal/src/main/java/org/exoplatform/portal/application/PortalRequestContext.java 2009-10-25
11:45:39 UTC (rev 425)
+++
portal/branches/performance/webui/portal/src/main/java/org/exoplatform/portal/application/PortalRequestContext.java 2009-10-25
11:55:22 UTC (rev 426)
@@ -274,6 +274,9 @@
if (writer_ == null)
{
+ // Setup a buffer size of 20K
+ response_.setBufferSize(30000);
+
//
PortalPrinter printer = new PortalPrinter(encoder, response_.getOutputStream(),
true);
Show replies by date