Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

// request.cf · coarse context

A page that knows where it met you.

Only coarse request metadata is shown. This demo does not display or persist visitor IP addresses.

Country
US
Cloudflare location
CMH
Connection
HTTP/2
Language
Not provided

Ray ID: a23f4c32c8a8b6ed

Jump to content

// Workers AI · dad joke modeWhat did async say to sync? You're always in phase, I'm not.

From Wikipedia, the free encyclopedia

The role of an asynchronous communication mechanism (ACM) is to synchronize the transfer of data in a system between a writing process and a reading process operating concurrently. [1]

Description

[edit]

The mechanism by which the ACM performs its tasks varies heavily depending upon the situation in which the ACM is employed. A possible scenario is the writer outputs data at a higher rate than the reader can process it. Without an ACM, one of two things will happen:

  • If the system incorporates a buffer between processes (e.g., a Unix shell pipe), then data will accumulate and be processed at the reader's maximum rate. There are some circumstances in which this is a desirable characteristic (e.g. piping a file over SSH, or if all data in the set is important, and the reader's output does not need to be synchronised with the input).

If it is necessary to synchronize the input of the writer with the output of the reader, then the ACM can interface with the two systems, and make active decisions on how to handle each packet of information. If, for example, maximum synchronization is required, the ACM could be configured to drop packets, and output the newest packets at the reader's maximum speed.

Alternatively, if there is no buffer, some data may be lost. If this is undesirable, the ACM can provide this buffer, or process the data in such a way that minimal information is lost.

References

[edit]
  1. H.R., Simpson (July 1997). "Role model analysis of an asynchronous communication mechanism". IEE Proceedings - Computers and Digital Techniques. 144 (4): 232–240. doi:10.1049/ip-cdt:19971219 (inactive 11 July 2025). ISSN 1350-2387. Archived from the original on December 8, 2019.{{cite journal}}: CS1 maint: DOI inactive as of July 2025 (link)

See also

[edit]