From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by yquem.inria.fr (Postfix) with ESMTP id B2CB3BBAF for ; Mon, 26 Jul 2010 13:10:23 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AjYCACMKTUxDww+LkWdsb2JhbACDFI9WjQwBAQEBCQsKBxEDH65GO4IQhRWJAgEEBAGBIYMdcwSECA X-IronPort-AV: E=Sophos;i="4.55,261,1278280800"; d="scan'208";a="64413469" Received: from web111502.mail.gq1.yahoo.com ([67.195.15.139]) by mail1-smtp-roc.national.inria.fr with SMTP; 26 Jul 2010 13:10:22 +0200 Received: (qmail 70538 invoked by uid 60001); 26 Jul 2010 11:10:21 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1280142621; bh=8FYjNHc/qQCfVV4wyBwYAGDyDpPXqQITL0+FALUkDwQ=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=st1LObt4nt7LK4MQgFfXI5uUdfOrgQzEj3hPu4Qspcm1ljKY9bbu21dqcFYMIAk3niTbbmWQDseVzK7+Dc5dcYsKbmckOqiO/3u/NMWaOBmuoRVLow9EP1CdR2jWj8zCJM93GXMq3v15gP0DcVG7j9WOF0+9sQxM6gcjmL/SyT0= DomainKey-Signature:a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=HNStcLVOuHgvjIshmeoPst7+m2UpRXDffkTaVGhgAIv4+M5Mgl5/nCeS+Lf64hZRl5UUdYPjB7VpxVwmutRv6T2jFXfatYZ0x/GjfZWE/2zd41qEXPTAWzVT4ym63cIBCBxXzHbwAokEkNydv9/e5Tgepulag8adzMKQfCP9o4g=; Message-ID: <442805.67917.qm@web111502.mail.gq1.yahoo.com> X-YMail-OSG: NYQgflsVM1lYeh0Ig90xSHZA9A9vpHSTpvGMgFDh1hMtg85 ezH_J0C_cXSJI13Ru_O6gvFqruLWnJSrh_pmC3u0ChAMMTohTYsQmRUQaSqh xi2JMkDkf.7jb.bk4xtNcYjkE9rsVM5v9znV7wibU.D1tUmBz1q0E0I_QW.r mxwvU.5e.CYX5VxDN62GNm68JJ14aufQ8eIR5fXJzd7H.LvQbqRkWQsJm8KZ GA03fa9umdz.0z6VJv_b13CGZ._BAzOrroH6QYg.SzbIP3ThDcQ6lPEg3vE0 9mzb6mARUO8jiyYsCTpnNBlduxngJIkQp27Swzy5z Received: from [213.205.71.57] by web111502.mail.gq1.yahoo.com via HTTP; Mon, 26 Jul 2010 04:10:21 PDT X-Mailer: YahooMailClassic/11.2.4 YahooMailWebService/0.8.105.277674 Date: Mon, 26 Jul 2010 04:10:21 -0700 (PDT) From: Dario Teixeira Subject: Re: [Caml-list] Re: scalable web apps To: caml-list@inria.fr, Sylvain Le Gall In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam: no; 0.00; scalable:01 non-blocking:01 ocaml:01 buffered:01 cheers:01 unix:01 caml-list:01 tar:01 tar:01 kernel:02 tend:03 static:03 apps:04 problem:05 max:06 Hi,=0A=0A> I am creating an application with ocsigen that requires to serve= a lot=0A> of .tar.gz as static contents. =0A> =0A> Do you think the "no Un= ix supports non-blocking mode" will cause problem=0A> in this case?=0A=0AI = presume that application is related to the Oasis-DB initiative, right?=0AI = wouldn't worry too much in that case. First, because the Ocaml community= =0Ais not that big (yet) as to cause such heavy traffic. Second, because= =0Athe set of tar.gz files is not that great (a few hundred, max?) and thos= e=0Afiles will tend to be small. If your server has enough memory, there's= a=0Agood chance many of the file blocks requested will eventually be buffe= red=0Ain memory by the kernel, thus minimising expensive disc I/O.=0A=0AChe= ers,=0ADario Teixeira=0A=0A=0A=0A