tomcat-dev mailing list archives

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

> 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] http://svn.apache.org/viewvc?view=revision&revision=1358055
>

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.

Rémy

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