You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by Johannes Zillmann <JZ...@yahoo.de> on 2006/01/07 18:35:43 UTC

[MINA] Re: direct access to sockets

I'm soryy,
i've forgott the mina prefix...

Johannes Zillmann schrieb:

> Dear mina team,
>
> currently i'm participate in 2 projects in which network communication 
> plays a big role.
> The profile of the projects looks similar:
> - there is a lot of coordination communication to do, whereat mina is 
> great
> - but a lot of large data blocks(simply call it files..) has to be 
> moved as well, whereat mina naturally can't beat fe a simple bio 
> socket implementation in performance
>
> After testing a lot and thinking some time about it, i came to the 
> point that the simplest way to gain the efforts of using
> mina but not loosing any piece of performance is to have the 
> possibilty to get direct access to a sessions socket (no matter if bio 
> or nio).
>
> This would avoid the overhead of chunking, filtering,... data which is 
> not intended to do so.
> And it would allow things like
> FileChannel fc;
> SocketChannel sc;
> fc.transferFrom(sc,0,23);
>
> Of cause it may break the api ?
>
> What do you think about ?
>
> best regards
> Johannes
>
>     
>
>  
>


	

	
		
___________________________________________________________ 
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de