<返回更多

两分钟浅述JBOSS Netty(附英文)

2020-07-29    
加入收藏

而今,微服务架构是一个绕不开的话题。一款优秀的网络通信框架更是在微服务架构中起到了举足轻重的作用,JBOSS Netty就是其中最璀璨的明珠,Let's Approach Netty. https://netty.io/

两分钟浅述JBOSS Netty(附英文)

Netty Architecture

What is Netty?

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

Netty是一款异步事件驱动的网络应用框架。用于快速开发可维护的高性能协议服务器和客户端。

Introduction

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客户端服务器框架,它可以快速、方便地开发网络应用,如协议服务器和客户端。它极大地简化和精简了网络编程,诸如TCP和UDP套接字服务器。

‘快速和简单‘并不意味着所产生的应用程序将受到可维护性或性能问题的影响。Netty经过精心设计,吸取了许多协议的经验,如FTP、SMTP、HTTP以及各种二进制和基于文本的传统协议。因此,Netty成功地找到了一种无需让步即可轻松实现开发、性能、稳定性和灵活性的方法。

NoteNIO——Non-Blocking IO的缩写,非阻塞输入/输出 (NIO) 库是在 JDK 1.4 中引入的NIO 弥补了原来的 I/O 的不足,它在标准 JAVA 代码中提供了高速的 I/O。

声明:本站部分内容来自互联网,如有版权侵犯或其他问题请与我们联系,我们将立即删除或处理。
▍相关推荐
更多资讯 >>>