caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Berke Durak <berke.durak@exalead.com>
To: Caml-list List <caml-list@inria.fr>
Subject: Re: [Caml-list] The closing gap (warning: long, inflammatory rant)
Date: Mon, 21 Apr 2008 17:57:25 +0200	[thread overview]
Message-ID: <480CB965.40708@exalead.com> (raw)
In-Reply-To: <142199.28761.qm@web54607.mail.re2.yahoo.com>

Dario Teixeira wrote:
> Hi,
> 
>> Now data center owners love Ruby-based apps, since you need 60 servers to do
>> 300 requests/second.
> 
> Is this hyperbole or hard numbers?  Since I finally managed to use natdynlink
> on an AMD64 machine (see Alain Frisch's today's message to this list), I ran
> some simple benchmarks on a dummy Ocsigen application generating dynamic pages.
> 

Hello,

Well I'll say that it's hyperbole to be on the safe side, but you might want to
look at this:

   http://highscalability.com/friends-sale-architecture-300-million-page-view-month-facebook-ror-app

Some people say that it's a Rails problem but why has Ruby the place it has
on the shootout?  Can't they indulge in some malloc+pointer-arithmetic tricks
like our Haskell brothers :) ?

> The results were more than good enough for my purposes, though I can't really
> compare them with other languages/frameworks:
>
> http://nleyten.com/2008/04/21/simple-benchmarks-on-the-ocsigen-server.aspx

Well these are pretty good numbers IMHO.  My own monadically threaded homegrown
"framework" tops at about 300 reqs/seq at ronchonneuse.com (native code,
a Dedibox on a VIA Esther at 2GHz), and it goes thru Lighttpd via SCGI
(FastCGI should improve it but it's not worth the hassle for now.)

> Could Ocsigen be a killer app for Ocaml?  Should we think of setting up
> a simple "web framework shootout"?  (Though personally I think the
> advantages of Ocsigen go way beyond speed).

Could be, but not in bytecode.  Let's place our hopes in natdynlink!

-- 
Berke DURAK


      reply	other threads:[~2008-04-21 15:57 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-21 12:27 Berke Durak
2008-04-21 13:11 ` Richard Jones
2008-04-21 13:29   ` Berke Durak
2008-04-21 14:44   ` Jon Harrop
2008-04-21 20:47     ` Richard Jones
2008-04-21 21:06       ` Arnaud Spiwack
2008-04-21 21:16         ` Berke Durak
2008-04-21 23:06           ` Jon Harrop
2008-05-17 22:03       ` Jon Harrop
2008-04-21 16:26   ` Elliott Oti
2008-04-21 20:48     ` Richard Jones
2008-04-21 21:06       ` Jon Harrop
2008-04-21 14:59 ` Dario Teixeira
2008-04-21 15:57   ` Berke Durak [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=480CB965.40708@exalead.com \
    --to=berke.durak@exalead.com \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).