comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: Performance techniques used in AWS
Date: Tue, 14 Jun 2011 11:40:15 +0100
Date: 2011-06-14T11:40:15+01:00	[thread overview]
Message-ID: <m2k4co3ddc.fsf@pushface.org> (raw)
In-Reply-To: 4df6ee43$0$2131$742ec2ed@news.sonic.net

"R. Tyler Croy" <tyler@linux.com> writes:

> What I'm trying to work out in my head is how to build an application
> (in Ada) that can compete[0] effectively with a libev-based program
> written in C. The advantage that libev brings to the table is that
> this program (in C) can very easily handle and respond to tens of
> thousands of concurrent connections.
>
> Unlike AWS or most web servers however, these connections are not
> HTTP- based and do not follow the traditional Request->Response->Close
> pattern of most of the HTTP world, but rather sockets are held open
> for minutes even hours at a time.

Nowadays most HTTP connections are persistent, either because of
HTTP/1.0's "Connection: Keep-Alive" or the absence of the newer
"Connection: close".

I guess the performance will depend heavily on select(2) vs poll(2) or
epoll.




  parent reply	other threads:[~2011-06-14 10:40 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
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 [this message]
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