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 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,7d747ac241d5a3d8 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,UTF8 Path: g2news1.google.com!news3.google.com!feeder.news-service.com!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!usenet-fr.net!proxad.net!feeder1-2.proxad.net!193.252.117.184.MISMATCH!feeder.news.orange.fr!not-for-mail Message-ID: <4DF63AAC.5050708@obry.net> Date: Mon, 13 Jun 2011 18:28:28 +0200 From: Pascal Obry Organization: Home - http://www.obry.net User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; fr-FR; rv:1.8.1.22) Gecko/20090605 Thunderbird/2.0.0.22 Mnenhy/0.7.5.0 MIME-Version: 1.0 Newsgroups: comp.lang.ada To: "R. Tyler Croy" Subject: Re: Performance techniques used in AWS References: <4df5a4bc$0$2120$742ec2ed@news.sonic.net> In-Reply-To: <4df5a4bc$0$2120$742ec2ed@news.sonic.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit NNTP-Posting-Date: 13 Jun 2011 18:28:28 CEST NNTP-Posting-Host: 82.124.77.113 X-Trace: 1307982508 reader.news.orange.fr 14654 82.124.77.113:14302 X-Complaints-To: abuse@orange.fr Xref: g2news1.google.com comp.lang.ada:19797 Date: 2011-06-13T18:28:28+02:00 List-Id: Le 13/06/2011 07:48, R. Tyler Croy a écrit : > I asked this in #Ada and couldn't find any decent documentation on some of > the techniques used in AWS to make it perform as well as it apparently > does (at least according to Thomas' silly benchmarks: dk.org/index.php/AWS_vs_node.js>) > > Surely beyond simple tasking there's some interesting approaches AWS must > be using to make it fast (I don't have the time nor expertise to figure it > out on my own) Sadly I fear there is no magic. I have never ever tried to build something fast in fact and never tried to optimized things a lot. I've always been concentrated to provide a simple and sound design. The heart of AWS has almost not been changed since it inception. I was the first surprised to see it being so fast. Note that Dmitriy Anisimkov already reported long time ago very good response time. I've seen so many applications molested to gain some speed without testing properly first... AWS is not in this category. The heart of the web server design is quite simple: a single queue for the incoming requests. Those requests are dispatched to a free task taken from a a poll. That's pretty all there is about it. Pascal. -- --|------------------------------------------------------ --| Pascal Obry Team-Ada Member --| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE --|------------------------------------------------------ --| http://www.obry.net - http://v2p.fr.eu.org --| "The best way to travel is by means of imagination" --| --| gpg --keyserver keys.gnupg.net --recv-key F949BD3B