Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

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 (09:15)
From: Sylvain Le Gall <sylvain@l...>
Subject: Re: scalable web apps

On 25-07-2010, Dario Teixeira <> wrote:
> The only circumstance where I would be cautious on relying solely on a
> naked Ocsigen is if you are also required to serve plenty of static content
> (images, etc).  Even though Ocsigen includes an extension for serving static
> pages, for hysterical reasons no Unix supports non-blocking mode for regular
> files, which of course causes problems for Lwt-apps (see the Lwt manual for
> more information on this).  Therefore, in this context you may get better
> results by having another server (like Nginx) dedicated to static content.

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?

Sylvain Le Gall