Full and half duplex, synchronous and asynchronous

Source: Internet
Author: User

Synchronous and asynchronous:

Because

Synchronize: Submit request, wait for server processing, and then return
Asynchronous: Requests are processed through event triggering server processing (which is still something the browser can do)

Also

Synchronization refers to: After the sender sends the data, wait for the receiver to send back the response , only send the next packet communication mode.
Asynchronous means that after the sender sends out the data, the receiver sends back the response , and then the next packet is communicated.

So

Synchronization is blocking mode, and asynchronous is non-blocking mode.

Simplex, full duplex and half duplex:

Simplex: Refers to the way messages can only be transmitted in one Direction

Half-duplex: refers to the data can be transmitted in two directions , but at the same time a channel only allows single-direction transmission , it is also known as bidirectional alternating communication

Full duplex: Refers to the simultaneous transmission of A to B and B to a on the line at any moment of communication

Full and half duplex, synchronous and asynchronous

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.