anyone using AsynchronousDatagramChannel?
Alan Bateman
Alan.Bateman at oracle.com
Mon Dec 30 06:27:04 PST 2013
On 30/12/2013 07:00, Michael Tague wrote:
>
> :
>
> Does my description sound like it would be the right tool?
>
>
Hard to say as adding an asynchronous I/O API for UDP sockets would be
more about the programming model rather than performance or scalability.
You mentioned about having to create a thread per port but this
shouldn't be the case as you can configure a DatagramChannel to be
non-blocking and you can multiplex using a Selector.
-Alan.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/nio-dev/attachments/20131230/ab80f473/attachment-0001.html
More information about the nio-dev
mailing list