Discussion on the protocol log server of cloud-nest technology

Source: Internet
Author: User
Keywords Server Cloud nest end talking research and development staff

Intermediary transaction http://www.aliyun.com/zixun/aggregation/6858.html ">seo diagnose Taobao guest cloud host technology Hall

Wikipedia's definition of cloud computing is that cloud computing delivers it-related capabilities to users in a service-enabled way, allowing users to get the services they need over the Internet without understanding the technology that provides it, the knowledge it has, and the ability to operate it. Cloud computing includes the application services on the Internet and the hardware and software facilities that provide these services in the data center, while the hardware and software facilities of the data center are cloud.

Cloud computing is a new network architecture, and network communication based on the protocol, with cloud nest technology in the cloud computing technology gradually deepened, the use of more and more agreements, the current view has reached more than 800 of the agreement. With the increase of protocol usage, there are many problems, such as protocol sending error, incomplete protocol sending, loss of protocol sending, etc. In order to be able to record the results of the Protocol and facilitate the commissioning of the research and development staff, cloud Nest Technology Development Group developed a tool for recording the delivery protocol-----The Protocol log server, hereinafter referred to as the log server.

1. The principle of the log server

The log server is based on the development of the underlying public library of cloud nesting technology, the bottom of the public library is divided into the processing of the sender and the processing of the receiver, the log server will not affect the original data send and receive format, it is a stand-alone module, played a forwarding role, whenever the packet sent and received packets, The identity of the sender/receiver is added on the basis of the original packet: The sending end is 1, the receiver is 0, then the length of the destination IP address, the IP address of the destination (for example, a total of two modules call the underlying common library, a, b,a module to send data to B module). The protocol package format that is eventually sent to the log server is as follows:

A->b sender, sending data from a module to B module

1 IP Length Purpose b module IP original packet

B->a receiver, b module received data from module a

0 IP Length Purpose a module IP original packet

The new data packet, through the design of the log server send module sent to the log server receiving module, the log server send module design asynchronous mode, send module for a similar daemon operation mode, Send data to the log server receiver every 0.1 seconds, and the maximum amount of data sent is 4M of data per 0.1 seconds.

The log server receives the data from the sending end to parse, the parsed data is written to the file, and the parsed data includes: time (accurate to millisecond), transceiver identification (0, send 1), source/destination IP, protocol number, UUID, and its format as follows:

Time Receipt/Send identification source/destination IP address protocol number UUID packet

The log server writes the data in this format to a file for recording, if the data received is missing and wrong, or damage can be displayed in this file, to facilitate the research and development personnel on the wrong treatment.

Cloud Nest technology to the development of this function module, greatly improve the efficiency of the research and development staff, improve the overall system stability and fault tolerance, but also for cloud nest technology in the field of cloud computing deeper development in the grasp of the opportunity.

Free Application Cloud Nest IPC Address: http://pc.vcnglobal.cn

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.