Netty Chinese User manual (i)

Source: Internet
Author: User

Preface


This guide provides an introduction to Netty and points out its significance.

1. Questions

We now communicate with each other using applications or components that are suitable for general purposes. For example, we often use an HTTP client to obtain information from a remote server or to invoke a remote method through Web services.

However, an agreement that is suitable for a general purpose or its implementation does not have scale extensibility. For example, we cannot use an ordinary HTTP server to interact with large files, e-mail messages, or to handle applications that require quasi-real-time messaging for financial information and multi-player data. Therefore, these require a highly optimized protocol implementation that is suitable for special purposes. For example, you might want to implement an HTTP server that has been specially optimized for AJAX-based chat applications, media streaming, or large file transfers. You may even want to design and implement a new communication protocol that is specific to your needs.

Another unavoidable scenario is that you may have to use a proprietary protocol to interact with the original system. In this case, you need to consider how you can quickly develop the implementation of this protocol without sacrificing the performance and stability of the final application.

2. The Programme

netty  is an asynchronous, event-driven Network programming framework and tool that uses netty  to quickly develop maintainable, high-performance, high-scalability protocol services and their client applications.

In other words,,netty  is a NIO-based client, a server-side programming framework that uses netty  to ensure that you can quickly and easily develop a Web application, such as a client that implements some kind of protocol, a service-side application. Netty quite simplifies and streamlines the programming of Web applications, for example, the development of socket services for TCP and UDP.

"Fast" and "simple" do not mean that your final application will cause maintenance or performance problems. netty  is an implementation experience that absorbs a variety of protocols, including Ftp,smpt,http, various binary, text protocols, and quite well-designed projects that eventually,netty  successfully found a way to Ensuring ease of development while ensuring the performance, stability and scalability of its applications.

Some users may have found some programming frameworks that also claim to have these features, so you might want to ask netty  what's different. The answer to this question is the design philosophy of the netty  project. From the beginning, both in the API and its implementation netty  are committed to providing you with the most comfortable experience. While this is not obvious, you will eventually realize that this philosophy of design makes it easier and easier to read this guide and use netty .

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.