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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,3e9e2e402ed75bc3 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII X-Received: by 10.224.88.200 with SMTP id b8mr22000650qam.8.1366699533903; Mon, 22 Apr 2013 23:45:33 -0700 (PDT) X-Received: by 10.50.50.205 with SMTP id e13mr1130726igo.4.1366699533869; Mon, 22 Apr 2013 23:45:33 -0700 (PDT) Path: ef9ni9516qab.0!nntp.google.com!gp5no5071971qab.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Mon, 22 Apr 2013 23:45:33 -0700 (PDT) In-Reply-To: <517627a4$0$32104$14726298@news.sunsite.dk> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=71.106.146.92; posting-account=VJwTTQoAAABKqOMAgvkZcRCnb3dmjtF- NNTP-Posting-Host: 71.106.146.92 References: <87vc7fm3lp.fsf@adaheads.sparre-andersen.dk> <517627a4$0$32104$14726298@news.sunsite.dk> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: aws vs ruby rails or php? how much faster? From: johannes falcone Injection-Date: Tue, 23 Apr 2013 06:45:33 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Date: 2013-04-22T23:45:33-07:00 List-Id: On Monday, April 22, 2013 11:18:12 PM UTC-7, Thomas L=F8cke wrote: > On 04/22/2013 11:17 PM, Yannick Duch=EAne (Hibou57) wrote: >=20 > > What kind of request was tested with this benchmark? Was this static >=20 > > content delivery? Dynamic content? If this was dynamic content, then ho= w >=20 > > was it defined, as there is no way to have a PHP reference file >=20 > > implemented in Ada (too much different)? >=20 > > >=20 > > That's not a surprise to me well designed Ada outperformed PHP and Ruby= , >=20 > > but I still would like more details. >=20 >=20 >=20 >=20 >=20 > It was an in-house test we did to figure out how different frameworks >=20 > performed. We tested both templating systems and purely static content. >=20 >=20 >=20 > The differences were massive. Compared to Ruby, PHP and Python, AWS was >=20 > so much faster, that testing it hardly made any sense. >=20 >=20 >=20 > We didn't go out of our way to optimize anything. All frameworks were >=20 > running in out of the box mode. The assumption was that a decent >=20 > framework should be able to perform without forcing the user to learn >=20 > about all sorts of arcane tricks to make it go faster. Also we assumed >=20 > that X amount of time used to optimize a framework would result in >=20 > fairly similar performance gains across the board. >=20 >=20 >=20 > What we did not do was test things that relied on the performance of >=20 > external systems, such as databases. We focused very narrowly on the >=20 > straight-up performance of serving simple static and templated content >=20 > over plain HTTP. This was mostly a benchmark of the frameworks ability >=20 > to handle huge loads of HTTP requests. >=20 >=20 >=20 > A few years ago I did a test[1] against node.js, mainly to prove that >=20 > the threading model of AWS was not as inferior to the event model of >=20 > node.js as many claimed. That test was equally simple and >=20 > un-scientific, but it did get the point across. Please note that this >=20 > test is very old and that node.js has since surpassed AWS. It still >=20 > stands though that using a threaded webserver does not necessarily >=20 > equal slow performance. >=20 >=20 >=20 > It would be interesting to do some of these tests in a more controlled >=20 > manner, and in an open forum where it is known what and how tests are >=20 > done. Also we could learn more about AWS, and perhaps take a look at >=20 > how we can make it go even faster. :o) >=20 >=20 >=20 > [1] http://wiki.ada-dk.org/aws_vs_node.js >=20 >=20 >=20 > --=20 >=20 > Thomas L=F8cke | 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?