From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,68494635acddb77e X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news4.google.com!feeder.news-service.com!newsfeed.freenet.de!news.tu-darmstadt.de!news.belwue.de!newsfeed.arcor.de!newsspool4.arcor-online.net!news.arcor.de.POSTED!not-for-mail From: "Dmitry A. Kazakov" Subject: Re: File output and buffering Newsgroups: comp.lang.ada User-Agent: 40tude_Dialog/2.0.15.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Reply-To: mailbox@dmitry-kazakov.de Organization: cbb software GmbH References: <60a35fd4-e5a6-4aa0-a73f-6815ce7e92fc@f36g2000hsa.googlegroups.com> <4af2f934-7458-4370-b325-c38e3a4068b8@s50g2000hsb.googlegroups.com> <1jt8nguvzf1hw$.189glcey6hmht.dlg@40tude.net> <84805bfc-26f4-4507-9024-9e3558c9cb32@m73g2000hsh.googlegroups.com> <104g44sstk0to$.1lektfatijska$.dlg@40tude.net> <4db7770e-a53b-436b-bc87-b487fdec430b@e39g2000hsf.googlegroups.com> <1n1jam128sz9v$.3jl0ijmar2gb.dlg@40tude.net> <6242f0d9-4874-427d-bf45-c5f5c36c75f2@k7g2000hsd.googlegroups.com> Date: Fri, 22 Aug 2008 15:22:41 +0200 Message-ID: NNTP-Posting-Date: 22 Aug 2008 15:22:45 CEST NNTP-Posting-Host: a8797898.newsspool1.arcor-online.net X-Trace: DXC=OKMCCG:AnAMFJ3]dH>I?oEic==]BZ:afN4Fo<]lROoRA4nDHegD_]REUc>niaN[d[BDNcfSJ;bb[EIRnRBaCdo4Y[F:kG On Fri, 22 Aug 2008 04:53:56 -0700 (PDT), Maciej Sobczak wrote: > On 21 Sie, 23:27, "Dmitry A. Kazakov" > wrote: > >> "Still synchronous operations" of items in the group? Come on, grouping >> brings nothing if items are output synchronously to the caller. > > Of course it brings a lot - it minimizes the total overhead due to > smaller number of requests. > > Ever tried to send each character in a separate mail instead of > sending one mail containing many characters? It seems that you didn't read my posts. One last try. In your example, when characters of a message are sent *synchronously* (assuming E-mail as the transport layer, no back doors, etc) then each single character has to be sent as a reply to the answer to the earlier mail. The very ability to send multiple characters in one mail means that they are sent in parallel = asynchronously. Compare it to parallel vs. serial communication. For the rest see http://en.wikipedia.org/wiki/Buffer_%28telecommunication%29 Note the category of the article, read the purposes of buffering. >> In which >> state relatively to the output is the caller between the ends of a group? > > Why should I care? Because it debunks your claim that the transfer of individual items is synchronous. It is asynchronous, when makes sense. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de