comp.lang.ada
 help / color / mirror / Atom feed
From: johannes falcone <visphatesjava@gmail.com>
Subject: Re: aws vs ruby rails or php? how much faster?
Date: Mon, 22 Apr 2013 23:45:33 -0700 (PDT)
Date: 2013-04-22T23:45:33-07:00	[thread overview]
Message-ID: <b9cd8339-f151-48ce-a276-7f668d645014@googlegroups.com> (raw)
In-Reply-To: <517627a4$0$32104$14726298@news.sunsite.dk>

On Monday, April 22, 2013 11:18:12 PM UTC-7, Thomas Løcke wrote:
> On 04/22/2013 11:17 PM, Yannick Duchêne (Hibou57) wrote:
> 
> > What kind of request was tested with this benchmark? Was this static
> 
> > content delivery? Dynamic content? If this was dynamic content, then how
> 
> > was it defined, as there is no way to have a PHP reference file
> 
> > implemented in Ada (too much different)?
> 
> >
> 
> > That's not a surprise to me well designed Ada outperformed PHP and Ruby,
> 
> > but I still would like more details.
> 
> 
> 
> 
> 
> It was an in-house test we did to figure out how different frameworks
> 
> performed. We tested both templating systems and purely static content.
> 
> 
> 
> The differences were massive. Compared to Ruby, PHP and Python, AWS was
> 
> so much faster, that testing it hardly made any sense.
> 
> 
> 
> We didn't go out of our way to optimize anything. All frameworks were
> 
> running in out of the box mode. The assumption was that a decent
> 
> framework should be able to perform without forcing the user to learn
> 
> about all sorts of arcane tricks to make it go faster. Also we assumed
> 
> that X amount of time used to optimize a framework would result in
> 
> fairly similar performance gains across the board.
> 
> 
> 
> What we did not do was test things that relied on the performance of
> 
> external systems, such as databases. We focused very narrowly on the
> 
> straight-up performance of serving simple static and templated content
> 
> over plain HTTP. This was mostly a benchmark of the frameworks ability
> 
> to handle huge loads of HTTP requests.
> 
> 
> 
> A few years ago I did a test[1] against node.js, mainly to prove that
> 
> the threading model of AWS was not as inferior to the event model of
> 
> node.js as many claimed. That test was equally simple and
> 
> un-scientific, but it did get the point across. Please note that this
> 
> test is very old and that node.js has since surpassed AWS. It still
> 
> stands though that using a threaded webserver does not necessarily
> 
> equal slow performance.
> 
> 
> 
> It would be interesting to do some of these tests in a more controlled
> 
> manner, and in an open forum where it is known what and how tests are
> 
> done. Also we could learn more about AWS, and perhaps take a look at
> 
> how we can make it go even faster. :o)
> 
> 
> 
> [1] http://wiki.ada-dk.org/aws_vs_node.js
> 
> 
> 
> -- 
> 
> Thomas Løcke | thomas@12boo.net | http://12boo.net

If node.js is faster then why doesn't everyone use node.js?
In a nutshell is javascript enough to program a dynamic website?
What do you think of aolserver or naviserver vs aws?



  reply	other threads:[~2013-04-23  6:45 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 [this message]
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
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