DotNetty Performance Comparison in Windows and linux, dotnetty Performance Comparison

Source: Internet
Author: User

DotNetty Performance Comparison in Windows and linux, dotnetty Performance Comparison

1. DotNetty background

DotNetty is Microsoft's Azure team and is released using the Netty version implemented by C. It not only uses the technical features of C # And. Net platforms, but also retains most of Netty's original programming interfaces. We can follow Netty's official tutorial to learn and use the DotNetty application.

 
DotNetty is also open source, its source code is hosted on Github: https://github.com/azure/dotnetty

Netty official documentation: http://netty.io/wiki/all-documents.html

 

2. Introduction to various components of the DotNetty Project

The two folders we pay more attention to in the project downloaded from the Github Website: examples and src.

Examples is an example of using DotNetty for basic calls. src is the basic source code library of DotNetty. I usually use Echo. Server and Echo. Client, one Server and one Client.

Introduction to the Assembly in the src Folder:

  • DotNetty. Buffers

DotNetty. Buffers is the encapsulation of memory buffer management.

  • DotNetty. Codecs

DotNetty. Codecs is an encapsulation of codec, including the implementation of some basic base classes. The protocols we customize in the project must inherit the specific base classes and implementations of the project.

  • DotNetty. Codecs. Mqtt

MQTT (Message Queue telemetry transmission) codec is encapsulation, including the implementation of some basic classes.

  • DotNetty. Codecs. Protobuf

Protobuf codec is encapsulation, including the implementation of some basic classes.

  • DotNetty. Codecs. ProtocolBuffers

ProtocolBuffers codec is encapsulation, including the implementation of some basic classes.

  • DotNetty. Codecs. Redis

Redis protocol codec is encapsulation, including the implementation of some basic classes.

  • DotNetty. Common

DOtNetty. Common is the encapsulation of Common class library projects, packaging thread pools, parallel tasks, and Common help classes.

  • DotNetty. Handlers

DotNetty. Handlers encapsulates common MPs queues, such as Tls codec, timeout, heartbeat check, and logs.

  • DotNetty. Transport

DotNetty. Transport is the core implementation of DotNetty, Socket basic framework, communication mode: asynchronous non-blocking.

  • DotNetty. Transport. Libuv

DotNetty. Transport. Libuv is the core implementation of DotNetty Based on Libuv (high-performance, event-driven I/O library.

 

(...... Not finished, to be continued !)

 

Related Article

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.