From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id VAA15716; Fri, 13 Jul 2001 21:59:46 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id VAA15640 for ; Fri, 13 Jul 2001 21:59:46 +0200 (MET DST) Received: from tor.abc.se (ns.abc.se [195.17.72.11]) by nez-perce.inria.fr (8.11.1/8.10.0) with ESMTP id f6DJxjj20547 for ; Fri, 13 Jul 2001 21:59:45 +0200 (MET DST) Received: from gateway (dialup-87 [195.17.73.87]) by tor.abc.se (8.9.3+Sun/8.9.3) with SMTP id VAA17979 for ; Fri, 13 Jul 2001 21:59:43 +0200 (MET DST) From: "Mattias Waldau" To: "Caml list" Subject: [Caml-list] Will Ocaml use a 4-way SMP box without splitting the program into separate processes? Date: Fri, 13 Jul 2001 21:59:39 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk As I understand it, Ocaml has one master lock for handling threading. Doesn't this mean that a process can never use more than one processor? And if that is true, following Xavier Leroy idea "Using separate processes for the HTTP server/servlet container and for the servlets (but not starting a new servlet process on each request like CGI does)" is the only scalable way to go. Because, I don't think a solution that doesn't use a SMP-machine effectively is a good solution. > [mailto:owner-web-caml@quatramaran.ens.fr]On Behalf Of William Chesters > Depends on the kind of market you are thinking of. The performance we > get out of Melati+postgres on a cheap PC is adequate for the great > majority of all known websites, without really trying. If you put a > good ocaml-based equivalent on a 4-way SMP box talking to a database > on another box, you would be comfortably into the hundreds of hits per > second I reckon. What have I misunderstood? /mattias ------------------- Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr