文章:
          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 溫少的日志 閱讀(6356) 評論(3)  編輯  收藏
          Comments

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


          網(wǎng)站導(dǎo)航:
           
           
          主站蜘蛛池模板: 马公市| 上虞市| 黄大仙区| 齐河县| 育儿| 冕宁县| 永登县| 烟台市| 宜宾市| 西藏| 大厂| 镇原县| 日土县| 贵州省| 易门县| 琼结县| 镇沅| 广宁县| 安阳市| 灵璧县| 宿松县| 维西| 志丹县| 东乡县| 石柱| 宜章县| 青海省| 修武县| 万全县| 嘉鱼县| 峨山| 库伦旗| 蓝山县| 陇川县| 左权县| 和龙市| 宁明县| 乐山市| 咸阳市| 措勤县| 丹寨县|