Java高性能網絡應用框架,Netty 4.0.25.Final 發布

jopen 9年前發布 | 13K 次閱讀 Netty

Netty 4.0.25.Final 在 2014 年結束之前發布了,該版本修復了超過 20 個 bug,同時包含如下新特性和改進:

  • SSL

    • Works as a drop-in replacement of JDK stockSSLEngineImpl!

    • SslContextadds ALPN and mutual authentication support.

    • SslHandler.renegotiate()adds proper SSL renegotiation support.

    • SniHandleradds Server Name Indication support.

    • OpenSslEngineis now (almost) feature-complete with client mode support.

  • SPDY

    • Pushed resource support

  • HTTP

    • Higher performance

  • Linux native transport (epoll)

    • Higher performance

詳細列表請看:issue tracker.

Netty 提供異步的、事件驅動的網絡應用程序框架和工具,用以快速開發高性能、高可靠性的網絡服務器和客戶端程序。

項目地址:http://netty.io/

體系結構圖

Java高性能網絡應用框架,Netty 4.0.25.Final 發布

Features

Design

  • Unified API for various transport types - blocking and non-blocking socket
  • Based on a flexible and extensible event model which allows clear separation of concerns
  • Highly customizable thread model - single thread, one or more thread pools such as SEDA
  • True connectionless datagram socket support (since 3.1)

Ease of use

  • Well-documented Javadoc, user guide and examples
  • No additional dependencies, JDK 5 (Netty 3.x) or 6 (Netty 4.x) is enough

Performance

  • Better throughput, lower latency
  • Less resource consumption
  • Minimized unnecessary memory copy

Security

  • Complete SSL/TLS and StartTLS support

Community

  • Release early, release often
  • The author has been writing similar frameworks since 2003 and he still finds your feed back precious!

來自:http://www.oschina.net/news/58409/netty-4-0-25-final

 本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
 轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
 本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!