Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^4: how did blocking IO become such a problem?

by sundialsvc4 (Abbot)
on Feb 21, 2012 at 03:57 UTC ( [id://955219]=note: print w/replies, xml ) Need Help??


in reply to Re^3: how did blocking IO become such a problem?
in thread how did blocking IO become such a problem?

This node falls below the community's threshold of quality. You may see it by logging in.
  • Comment on Re^4: how did blocking IO become such a problem?

Replies are listed 'Best First'.
Re^5: how did blocking IO become such a problem?
by BrowserUk (Patriarch) on Feb 21, 2012 at 12:11 UTC

    Sorry, but it is blindingly obvious that you have no idea what is meant by asynchronous IO.

    Specifically, it is not a select loop. To correct your analogy, it is definitively not the following:

    Imagine employing an intern to sit in the reception of your office block, and have him or her verbally relay each part of each telephone call coming in or out of the build. Ie. there is no direct connection between the outside lines and the internal extensions.

    When Mrs. Brown calls to speak to accounts. The receptionist listens to her question and then calls Accounts and repeats it. Then listens to Accounts response and repeats it on the outside line to Mrs. Brown.

    At the same time, s/he, the receptionist, is doing the same thing between: HMRC and the Audit Department; and between the Chairman and his wife; and between Goods-in and the Post Office; the head of HR and a sacked employee; the post guy and his boyfriend; the cook and a wholesaler; and the Chairman and his girlfriend; ...

    Needless to say, "polishing nails" doesn't get a look in.

    That is a fairly accurate analogy of a select loop. All state visible from the one point in the program. No way to prioritise one event over another; or one event type over another, much less one particular conversation over another. All your eggs in one basket. Always fighting fires.

    No, Asynchronous IO, also known as Overlapped IO, is a quite, quite different beast.

    I suggest you look it up -- you know, do a little research, ensure that you know what it is you're pontificating about -- before you torture any more incorrect analogies to death.


    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.

    The start of some sanity?

    A reply falls below the community's threshold of quality. You may see it by logging in.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://955219]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2024-04-16 17:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found