English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
scalable web apps
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2010-07-26 (11:10)
From: Dario Teixeira <darioteixeira@y...>
Subject: Re: [Caml-list] Re: scalable web apps

> 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?
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.

Dario Teixeira