文章:
          http://blogs.sun.com/alanb/entry/epoll

          JDK 6.0 nio支持epoll,對并發(fā)idle connection會有大幅度的性能提升,這就是很多網(wǎng)絡(luò)服務(wù)器應(yīng)用程序需要的。

          One of the updates in build 59 of Mustang (JavaTM SE 6) is that the New I/O Selector implementation will use the epoll event notification facility when running on the Linux 2.6 kernel.


          JDK 5.0 update 9也支持了。

          The epoll SelectorProvider will be included in 5.0 update 9. To enable it requires setting the system property java.nio.channels.spi.SelectorProvider to the value sun.nio.ch.EPollSelectorProvider.


          5種IO模型:
          阻塞IO
          非阻塞IO
          多路復(fù)用
          信號驅(qū)動IO
          異步IO

          最好性能的還是異步IO,目前Java只能支持到多路復(fù)用一級,期待著以后Java 7.0/8.0支持異步IO,6.0是沒有希望了。
          posted on 2006-11-20 02:17 溫少的日志 閱讀(6364) 評論(3)  編輯  收藏
          Comments

          只有注冊用戶登錄后才能發(fā)表評論。


          網(wǎng)站導(dǎo)航:
           
           
          主站蜘蛛池模板: 新乐市| 炎陵县| 明光市| 阿尔山市| 霍山县| 桂林市| 鹿邑县| 阿城市| 永年县| 宁阳县| 天津市| 伊川县| 泾阳县| 抚松县| 博白县| 盐亭县| 巴彦县| 乐陵市| 松溪县| 宜城市| 利津县| 红安县| 永兴县| 双牌县| 新化县| 花垣县| 平邑县| 阿尔山市| 丰宁| 碌曲县| 四会市| 额济纳旗| 西宁市| 沂水县| 平陆县| 循化| 汨罗市| 五峰| 蓝山县| 繁峙县| 齐河县|