From: William Le Ferrand <William.Le-Ferrand@polytechnique.edu>
To: Sylvain Le Gall <sylvain@le-gall.net>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] Re: scalable web apps
Date: Mon, 26 Jul 2010 15:20:53 +0200 [thread overview]
Message-ID: <AANLkTinB8gdp+Hk6gi+9emODQLK4Xc57FJL98yHPcMe3@mail.gmail.com> (raw)
In-Reply-To: <slrni4r1kd.e23.sylvain@gallu.homelinux.org>
[-- Attachment #1: Type: text/plain, Size: 1782 bytes --]
Why would you use ocsigen to serve static files?
For corefarm.com we put all the files in amazon s3 and we just generate on
the fly the url to retrieve them (adding the timestamp, signing the get
parameters etc).
My 2 cents,
william
2010/7/26 Sylvain Le Gall <sylvain@le-gall.net>
> On 26-07-2010, Dario Teixeira <darioteixeira@yahoo.com> wrote:
> > Hi,
> >
> >> I am creating an application with ocsigen that requires to serve a lot
> >> of .tar.gz as static contents.
> >>
> >> Do you think the "no Unix supports non-blocking mode" will cause problem
> >> in this case?
> >
> > I presume that application is related to the Oasis-DB initiative, right?
>
> You guess right ;-)
>
> > I wouldn't worry too much in that case. First, because the Ocaml
> community
> > is not that big (yet) as to cause such heavy traffic. Second, because
> > the set of tar.gz files is not that great (a few hundred, max?) and those
> > files will tend to be small. If your server has enough memory, there's a
> > good chance many of the file blocks requested will eventually be buffered
> > in memory by the kernel, thus minimising expensive disc I/O.
> >
>
> There is indeed a good chance that the files end up in memory.
>
> Thank you for your remarks.
>
> Regards,
> Sylvain Le Gall
>
> _______________________________________________
> Caml-list mailing list. Subscription management:
> http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
> Archives: http://caml.inria.fr
> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
> Bug reports: http://caml.inria.fr/bin/caml-bugs
>
--
William Le Ferrand
Speed matters : http://www.corefarm.com
Objects get social : http://www.sotokolan.com
Mobile : +33 6 84 01 52 92
LinkedIn : http://www.linkedin.com/in/williamleferrand
[-- Attachment #2: Type: text/html, Size: 2910 bytes --]
next prev parent reply other threads:[~2010-07-26 13:20 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-24 7:49 Joel Reymont
2010-07-24 8:57 ` Sylvain Le Gall
2010-07-24 10:55 ` [Caml-list] " William Le Ferrand
2010-07-25 13:52 ` Dario Teixeira
2010-07-25 19:19 ` Joel Reymont
2010-07-26 7:29 ` Török Edwin
2010-07-26 7:59 ` Jérémie Dimino
2010-07-26 8:19 ` Török Edwin
2010-07-27 6:46 ` Jérémie Dimino
2010-07-26 11:27 ` Dario Teixeira
2010-07-26 19:57 ` Jake Donham
2010-07-26 20:02 ` Török Edwin
2010-07-27 6:55 ` Jérémie Dimino
2010-07-26 9:11 ` Sylvain Le Gall
2010-07-26 11:10 ` [Caml-list] " Dario Teixeira
2010-07-26 12:58 ` Sylvain Le Gall
2010-07-26 13:20 ` William Le Ferrand [this message]
2010-07-25 19:46 ` [Caml-list] " Richard Jones
2010-07-25 21:45 ` Dario Teixeira
2010-07-25 21:56 ` Joel Reymont
2010-07-25 22:03 ` Gabriel Kerneis
2010-07-25 22:24 ` Dario Teixeira
2010-07-26 7:34 ` Richard Jones
2010-07-26 11:20 ` Dario Teixeira
2010-07-26 16:50 ` Florent Monnier
2010-07-26 17:10 ` Sylvain Le Gall
2010-07-26 17:21 ` [Caml-list] " Gabriel Kerneis
2010-07-26 17:37 ` Sylvain Le Gall
2010-07-25 22:44 ` [Caml-list] " Yoann Padioleau
2010-07-26 9:08 ` Sylvain Le Gall
2010-07-26 13:45 [Caml-list] " Dario Teixeira
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=AANLkTinB8gdp+Hk6gi+9emODQLK4Xc57FJL98yHPcMe3@mail.gmail.com \
--to=william.le-ferrand@polytechnique.edu \
--cc=caml-list@inria.fr \
--cc=sylvain@le-gall.net \
/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