Netty介绍

Netty is an asynchronous event-driven network application framework for rapid development of maintainable high performance protocol servers & clients.

Netty是一个异步事件驱动的网络应用程序框架,为了快速开发可维护的高性能的服务端和客户端。

Netty is a NIO client server framework which enables quick and easy development of network applications such as protocol servers and clients. It greatly simplifies and streamlines network programming such as TCP and UDP socket server.
'Quick and easy' doesn't mean that a resulting application will suffer from a maintainability or a performance issue. Netty has been designed carefully with the experiences earned from the implementation of a lot of protocols such as FTP, SMTP, HTTP, and various binary and text-based legacy protocols. As a result, Netty has succeeded to find a way to achieve ease of development, performance, stability, and flexibility without a compromise.

Netty是一个NIO 客户端服务端框架,使用Netty可以快速并且容易开发网络应用程序,例如服务端和客户端协议。它极大的简化了网络编程,例如TCP和UDP套接字服务器。

”快速和简单“并不意味着产生的应用程序会受到可维护性和性能问题。Netty已经通过实现许多协议(如FTP,SMTP,HTTP以及各种二级制和基于文本的传统协议)获得的经验进行了精心的设计。Netty已经成功的找到了一种方式实现易于开发,高性能,高稳定性和灵活性,而不需要妥协。


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)

设计

    用于各种传输类型的统一API - 阻塞和非阻塞套接字;

    基于灵活和可扩展的事件模型,可以清晰地分离问题;

    高度可定制的线程模型 - 单线程,一个或多个线程池,如SEDA;

    真正的无连接数据报套接字支持(自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
        Note: Some components such as HTTP/2 might have more requirements. Please refer to the Requirements page for more information.    

易于使用

    丰富的文档,用户指南和示例;

    没有额外的依赖关系,JDK5(Netty3.x)或 JDK6(Netty4.x)就足够了;

        注意:某些组件(如HTTP/2)可能有更多要求,请参阅要求页面了解更多信息。

Performance
    Better throughput, lower latency
    Less resource consumption

    Minimized unnecessary memory copy

性能

    高吞吐量,低延时;

    更少的资源消耗;

    最小化不必要的内存拷贝。

Security

    Complete SSL/TLS and StartTLS support

安全性

    完整的SSL/TLS和StartTLS支持

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

社区

    版本发布频繁;

    自2003年以来,作者一直在写类似的框架,他仍然发现您的反馈非常珍贵!

 

本文翻译自Netty官网首页,对Netty有个整体的介绍,不正之处,请多多指教。博主会在后期继续翻译Netty官网提供的资料,欢迎有志之士共同学习。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值