Hi, On 4/14/06, Luke Hubbard ([EMAIL PROTECTED]) <[EMAIL PROTECTED]> wrote: > Hi Guys,
<snip/> > Will making lots of writes have a negative impact on performance? Theoretically, it should. Practically, if you switch off TCP_NODELAY, the NIO frameword should be able to handle it better. Another problem you might have in this case is the packet header and the actual payload coming in independent tcp packets. I assume that its alright with you if that happens. > Or is it better to use a larger buffer even if it cant be shared? A zero-copy mechanism is most efficient. Maybe the read-only buffers would be of help in this case. I'm not sure about that though - others would be able to give better suggestions. > And... does mina use scattered writes under the hood? AFAIK the NIO library doesn't support this. Mustang is bringing quite a few improvements, including support for epoll. That would be a blast! > Hope the above makes sense, and you can point me in the right direction. > Thanks for your work on an excellent framework. HTH, Vinod.
