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=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 Path: border1.nntp.ams3.giganews.com!border1.nntp.ams2.giganews.com!border2.nntp.ams2.giganews.com!border4.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!rt.uk.eu.org!aioe.org!.POSTED!not-for-mail From: =?utf-8?Q?Yannick_Duch=C3=AAne_=28Hibou57?= =?utf-8?Q?=29?= Newsgroups: comp.lang.ada Subject: Re: aws vs ruby rails or php? how much faster? Date: Fri, 03 May 2013 03:02:16 +0200 Organization: Ada @ Home Message-ID: References: <87vc7fm3lp.fsf@adaheads.sparre-andersen.dk> <517627a4$0$32104$14726298@news.sunsite.dk> <1bjhu6xj0sh4e.1u1r23nzr3zrh$.dlg@40tude.net> NNTP-Posting-Host: nReaOVWq/ugo3wZUL0F24Q.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes Content-Transfer-Encoding: Quoted-Printable X-Complaints-To: abuse@aioe.org User-Agent: Opera Mail/12.15 (Linux) X-Notice: Filtered by postfilter v. 0.8.2 X-Original-Bytes: 2199 Xref: number.nntp.dca.giganews.com comp.lang.ada:181369 Date: 2013-05-03T03:02:16+02:00 List-Id: Le Thu, 02 May 2013 23:13:24 +0200, Randy Brukardt = a =C3=A9crit: > A bit of background: Janus/Ada uses it's own task management, so all = > tasks > run inside of a single OS process/thread. In our web server running on= > Windows 2K, we tried to use asynchonrous socket I/O to prevent uninten= ded > blocking from socket calls. But the effect was that the server ran 10 = = > times > slower than using busy-waited socket I/O; effectively W2K used only a = = > single > OS thread to implement then asynchronous sockets and that effectively > serialized everything going in and out of the server. I don't understand how this can make it working ten times slower. W2K mu= st = be eating something in the while, which is not related to the asynchrono= us = I/O. Or else, I don't understand=E2=80=A6 -- = =E2=80=9CSyntactic sugar causes cancer of the semi-colons.=E2=80=9D [1] =E2=80=9CStructured Programming supports the law of the excluded muddle.= =E2=80=9D [1] [1]: Epigrams on Programming =E2=80=94 Alan J. =E2=80=94 P. Yale Univers= ity