From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by yquem.inria.fr (Postfix) with ESMTP id B2087BBAF for ; Mon, 26 Jul 2010 18:49:12 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AmUDAJZZTUzUGyoGkWdsb2JhbACDFJAFjEcVAQEBAQkLCgcRAx+yKDuHeS6IWYEmgx1zBIhkgkw X-IronPort-AV: E=Sophos;i="4.55,262,1278280800"; d="scan'208";a="54764127" Received: from smtp6-g21.free.fr ([212.27.42.6]) by mail3-smtp-sop.national.inria.fr with ESMTP; 26 Jul 2010 18:49:11 +0200 Received: from localhost.localnet (unknown [78.226.58.147]) by smtp6-g21.free.fr (Postfix) with ESMTP id 69891822C1 for ; Mon, 26 Jul 2010 18:49:05 +0200 (CEST) From: Florent Monnier To: caml-list@yquem.inria.fr Subject: Re: [Caml-list] scalable web apps Date: Mon, 26 Jul 2010 18:50:30 +0200 User-Agent: KMail/1.12.4 (Linux/2.6.31.13-desktop586-1mnb; KDE/4.3.5; i686; ; ) References: <981136.2735.qm@web111515.mail.gq1.yahoo.com> In-Reply-To: <981136.2735.qm@web111515.mail.gq1.yahoo.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <201007261850.30437.monnier.florent@gmail.com> X-Spam: no; 0.00; scalable:01 46,:98 caml-list:01 data:02 dbm:03 dbm:03 apps:04 apps:04 concurrent:04 problem:05 lundi:05 blocks:07 uses:07 uses:07 i'm:09 Le lundi 26 juillet 2010 13:20:46, Dario Teixeira a =C3=A9crit : > Hi, >=20 > > > How does Ocsigen handle database operations? > > > > I thought it was using PG'OCaml, but maybe I'm wrong. >=20 > Ocsigen itself does not use PG'OCaml. The two are frequently associated > because the latest versions of PG'OCaml are Lwt-friendly and therefore > a good choice for Ocsigen apps. (Note that internally, Ocsigen uses > either Dbm or Sqlite to store session data). Both Dbm and Sqlite lock the entire files which blocks concurrent uses, isn't it a problem? =2D-=20