Does Buffer size affects the performance in any way?

JIA Java Italian Association

I would say that it depends on the pages you normally handle. Bigger buffers are normally faster but they use a bigger amount of memory that, in a Servlet/JSP system could have a negative impact on server's performances.
Default value should be 8K, and except few cases, I've always considered it a reasonable value. I change it only when I have to send out very big pages.

0 Comments  (click to add your comment)
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.