comp.lang.ada
 help / color / mirror / Atom feed
From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: aws vs ruby rails or php? how much faster?
Date: Tue, 23 Apr 2013 12:08:15 +0200
Date: 2013-04-23T12:08:15+02:00	[thread overview]
Message-ID: <1bjhu6xj0sh4e.1u1r23nzr3zrh$.dlg@40tude.net> (raw)
In-Reply-To: op.wvzfj1adule2fv@cardamome

On Tue, 23 Apr 2013 09:10:39 +0200, Yannick Duch�ne (Hibou57) wrote:

> Asynchronous I/O can be achieved with Ada too, and that does not implies  
> tasking, just wrapping what the OS provides for that.

Oh, it does. I don't know what you guys are talking about, but asynchronous
I/O is intimately related to tasking.

If you have tasks you normally don't need asynchronous I/O, you do it in a
blocking way.

If you have one task or less tasks than I/O requests pending, you do I/O
asynchronously.

With many simultaneous requests you should go asynchronous because the
number of tasks is limited. An OS can handle far less simultaneous tasks
than simultaneous I/O requests/channels.

For either HD or sockets you could do I/O synchronously (blocking) or
asynchronously (non-blocking).

-- 
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de



  parent reply	other threads:[~2013-04-23 10:08 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-21  9:02 aws vs ruby rails or php? how much faster? johannes falcone
2013-04-21 21:27 ` Shark8
2013-04-22  7:22 ` Jacob Sparre Andersen
2013-04-22 19:35   ` johannes falcone
2013-04-22 20:26     ` Shark8
2013-04-22 20:53       ` johannes falcone
2013-04-22 20:04   ` johannes falcone
2013-04-23  7:42     ` Maciej Sobczak
2013-04-23  7:53       ` Thomas Løcke
2013-04-22 21:17   ` Yannick Duchêne (Hibou57)
2013-04-23  6:18     ` Thomas Løcke
2013-04-23  6:45       ` johannes falcone
2013-04-23  6:55         ` Thomas Løcke
2013-04-23  9:57           ` Dmitry A. Kazakov
2013-04-23  7:10       ` Yannick Duchêne (Hibou57)
2013-04-23  7:45         ` Thomas Løcke
2013-04-23  7:51           ` Yannick Duchêne (Hibou57)
2013-04-23 10:08         ` Dmitry A. Kazakov [this message]
2013-04-23 11:30           ` Yannick Duchêne (Hibou57)
2013-05-02 21:13             ` Randy Brukardt
2013-05-03  0:13               ` Shark8
2013-05-03 22:41                 ` Randy Brukardt
2013-05-03  1:02               ` Yannick Duchêne (Hibou57)
2013-05-03 22:48                 ` Randy Brukardt
2013-05-03  7:09               ` Dmitry A. Kazakov
2013-05-03  7:11                 ` Dmitry A. Kazakov
replies disabled

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