Message lost

Johnny Luong johnny.luong at trustcommerce.com
Tue Jun 29 17:47:51 EDT 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

bgoetzmann wrote:
| Hello Johnny,
|
| I think Netty is really interesting and powerful in its conception. As I'm
| new in Netty, perhaps I can apply a better solution to my solution. In my
| application, I don't only exchange Java objects: to simplify, I wanted the
| send a Java objet at the start of the connection and then ChannelBuffers
| (sending the content of a file).
|
| Cheers,
|
| Bertrand.

Hi Bertand,

My thinking was that perhaps your messages overall would be small enough
and the overhead of transferring objects was less than the management of
the individual ChannelBuffer.  Have you looked into using
ChunkedWriteHandler or possibly rolling your own code that uses the
FileRegion interface?

Best,
Johnny

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkwqagcACgkQg7TIS7A9iscingCfcff2V4agvlnBPZEfrqwWG+b8
nk8An0/nJaPAXLMYTI7CGrLipGeSSeE3
=+rdP
-----END PGP SIGNATURE-----


More information about the netty-users mailing list