comp.lang.ada
 help / color / mirror / Atom feed
From: Pascal Obry <pascal@obry.net>
To: "R. Tyler Croy" <tyler@linux.com>
Subject: Re: Performance techniques used in AWS
Date: Mon, 13 Jun 2011 18:28:28 +0200
Date: 2011-06-13T18:28:28+02:00	[thread overview]
Message-ID: <4DF63AAC.5050708@obry.net> (raw)
In-Reply-To: <4df5a4bc$0$2120$742ec2ed@news.sonic.net>

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:<http://wiki.ada-
> 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




  parent reply	other threads:[~2011-06-13 16:28 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-13  5:48 Performance techniques used in AWS R. Tyler Croy
2011-06-13  8:06 ` Thomas Løcke
2011-06-13 16:28 ` Pascal Obry [this message]
2011-06-13 16:34   ` Pascal Obry
2011-06-14  4:37   ` J-P. Rosen
2011-06-14  5:14   ` R. Tyler Croy
2011-06-14  8:28     ` Natasha Kerensikova
2011-06-14 10:41       ` Yannick Duchêne (Hibou57)
2011-06-14 10:40     ` Simon Wright
2011-06-14 10:48       ` Yannick Duchêne (Hibou57)
2011-06-14 10:51         ` Yannick Duchêne (Hibou57)
2011-06-14 11:18         ` Simon Wright
2011-06-14 15:10           ` R. Tyler Croy
2011-06-14 15:31             ` Yannick Duchêne (Hibou57)
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox