From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: * X-Spam-Status: No, score=1.0 required=5.0 tests=AWL,DNS_FROM_RFC_ABUSE, DNS_FROM_RFC_WHOIS autolearn=disabled version=3.1.3 Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by yquem.inria.fr (Postfix) with ESMTP id 6F228BC6B for ; Mon, 8 Oct 2007 17:32:59 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAAAE7qCUfAXQInh2dsb2JhbACOQwIBCAop X-IronPort-AV: E=Sophos;i="4.21,243,1188770400"; d="scan'208";a="2630502" Received: from concorde.inria.fr ([192.93.2.39]) by mail2-smtp-roc.national.inria.fr with ESMTP; 08 Oct 2007 17:32:59 +0200 Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by concorde.inria.fr (8.13.6/8.13.6) with ESMTP id l98FWwln016985 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=OK) for ; Mon, 8 Oct 2007 17:32:59 +0200 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAAACLrCUfOvjGwoWdsb2JhbACOQwIBAQIFBAYJCAEX X-IronPort-AV: E=Sophos;i="4.21,243,1188770400"; d="scan'208";a="4055819" Received: from web54606.mail.re2.yahoo.com ([206.190.49.176]) by mail3-smtp-sop.national.inria.fr with SMTP; 08 Oct 2007 17:32:47 +0200 Received: (qmail 8998 invoked by uid 60001); 8 Oct 2007 15:32:46 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=lvvD3Ttg30Lpg2LUuKwKCFv7vzeB5rrehdWbBiHyoRLctspMY8hXSwfGys92Kt4GKL8xXJn/JR24U3MOl09Zy4xcTDWNz0BrHWYaO/yqVlwz6XsJyC7z4Xufj0BUbMm0LyosU8ceS0M3S6PVYh6ipmE3/nR/f1mbGwX55TbFqgE=; X-YMail-OSG: Q_W0UFwVM1lRNPCHoyW0ulPPo8EVe6s1SztbU1bd82HPuDtn9j5J5tiZWFIiFQgcWQc0UXzOzpjijuC4s.5xl27xi6C58Clj.Vtrkvl4igyBkEuFKF5oHV2qlI3agGQ.WyFEUtHE3wPn.XA- Received: from [82.155.251.50] by web54606.mail.re2.yahoo.com via HTTP; Mon, 08 Oct 2007 16:32:45 BST Date: Mon, 8 Oct 2007 16:32:45 +0100 (BST) From: Dario Teixeira Subject: Re: [Caml-list] Correct way of programming a CGI script To: Tom , Caml-list List In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <42827.8398.qm@web54606.mail.re2.yahoo.com> X-Miltered: at concorde with ID 470A4DAA.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; ocaml:01 ocaml:01 cheers:01 caml-list:01 output:02 module:03 languages:03 static:03 static:03 programming:03 programming:03 dynamic:03 dynamic:03 discarded:04 docs:07 > Hi! I am in a process of making a website (which might receive substantial > amounts of traffic), and am considering options for the backend. I discarded > PHP and other similar server-side scripting languages, due to performance > (...) Hi Tom, I suggest you take a look at Ocsigen (http://www.ocsigen.org/). It's a fully-featured web server written in OCaml, that not only supports static pages and traditional CGI programming, but also has a module called Eliom that allows you to build dynamic websites using all the best features of the OCaml language. As for performance, the bottleneck will surely be the database backend. Even when generating dynamic pages with Eliom, Ocsigen can easily output close to a hundred pages per second on a decent machine. (And of course it's even faster with static content!) Cheers, Dario Teixeira ________________________________________________________ Nervous about who has your email address? Yahoo! Mail can help you win the war against spam. http://uk.docs.yahoo.com/mail/addressguard2.html