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

          JDK 6.0 nio支持epoll,對并發idle connection會有大幅度的性能提升,這就是很多網絡服務器應用程序需要的。

          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
          多路復用
          信號驅動IO
          異步IO

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

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


          網站導航:
           
           
          主站蜘蛛池模板: 丰原市| 开阳县| 天台县| 乌恰县| 宁城县| 搜索| 始兴县| 大名县| 石阡县| 扎赉特旗| 都江堰市| 宽甸| 高青县| 乐山市| 电白县| 图片| 嵊泗县| 太仆寺旗| 扬州市| 密云县| 河北区| 曲水县| 赤水市| 长武县| 资溪县| 汽车| 宁陕县| 宝丰县| 如东县| 萨迦县| 沂源县| 剑河县| 舞阳县| 西安市| 丹阳市| 遂川县| 竹溪县| 神池县| 佳木斯市| 临邑县| 揭阳市|