Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Java Reactor Pattern with java.io Package

Tags:

java

io

nio

reactor

I see in several application source like Minecraft and JIrcs they both use java.io to implement Reactor Plugin (if I'm not wrong) and also in this article. So, what is the difference between java.io and java.nio when implementing Reactor Pattern? I mean, like performance advantage, process efficiency etc and where i can get good tutorial if you think java.io is the good solution to implement Reactor Pattern (since google give me tons of java.nio tuts not java.io as i want)

like image 917
pengemizt Avatar asked Mar 29 '12 19:03

pengemizt


1 Answers

It isn't really true that NIO is faster. Paul Tyma demolished that myth sometime back.

http://mailinator.blogspot.in/2008/02/kill-myth-please-nio-is-not-faster-than.html

http://paultyma.blogspot.in/2008/03/writing-java-multithreaded-servers.html

Hope that help.

like image 200
Krebto Avatar answered Oct 27 '22 16:10

Krebto