tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rémy Maucherat <>
Subject Re: NIO buffering
Date Wed, 23 Apr 2014 16:37:09 GMT
2014-04-23 18:30 GMT+02:00 Mark Thomas <>:

> I'd agree with that assessment.
> I do remember having to be very careful with some of that code to get
> things working correctly. If there is a cleaner solution then I'd be all
> for it as long as performance is no worse.
> Mark
> [1]

Well, it's fine, but I didn't see the point for me since the buffers were
throw away and I didn't need to track their flip state.

So the plan next for me would be to try a buffer pool for NIO2 [this is
appropriate for NIO2 since scatter/gather can be used to access them]. No
idea if it would actually be really faster.


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message