From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@sympa.inria.fr Delivered-To: caml-list@sympa.inria.fr Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by sympa.inria.fr (Postfix) with ESMTPS id E8B4C7EE7A for ; Tue, 26 Mar 2013 15:29:31 +0100 (CET) Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of philippe.veber@gmail.com) identity=pra; client-ip=209.85.212.174; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="philippe.veber@gmail.com"; x-sender="philippe.veber@gmail.com"; x-conformance=sidf_compatible Received-SPF: Pass (mail2-smtp-roc.national.inria.fr: domain of philippe.veber@gmail.com designates 209.85.212.174 as permitted sender) identity=mailfrom; client-ip=209.85.212.174; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="philippe.veber@gmail.com"; x-sender="philippe.veber@gmail.com"; x-conformance=sidf_compatible; x-record-type="v=spf1" Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of postmaster@mail-wi0-f174.google.com) identity=helo; client-ip=209.85.212.174; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="philippe.veber@gmail.com"; x-sender="postmaster@mail-wi0-f174.google.com"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AoIBAPivUVHRVdSujWdsb2JhbABDxAJ9CBYOAQEBAQcLCwkSBlqCFlABGxAKBAMSCAEHB1YBEQEFAQ4UiBQBAw8MoByCcowygXGBCoRJChknDVmIfAEBBAyPAoNLA5Mhg0aPJRYphC47 X-IPAS-Result: AoIBAPivUVHRVdSujWdsb2JhbABDxAJ9CBYOAQEBAQcLCwkSBlqCFlABGxAKBAMSCAEHB1YBEQEFAQ4UiBQBAw8MoByCcowygXGBCoRJChknDVmIfAEBBAyPAoNLA5Mhg0aPJRYphC47 X-IronPort-AV: E=Sophos;i="4.84,911,1355094000"; d="scan'208";a="9390070" Received: from mail-wi0-f174.google.com ([209.85.212.174]) by mail2-smtp-roc.national.inria.fr with ESMTP/TLS/RC4-SHA; 26 Mar 2013 15:29:31 +0100 Received: by mail-wi0-f174.google.com with SMTP id hj8so933878wib.13 for ; Tue, 26 Mar 2013 07:29:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:from:date:message-id:subject:to :content-type; bh=OhqophmFGcVd2ntylSw7wvsTh+msN5mEek4sGILp1WM=; b=S0tcuR0MmzCOoSyID1NFVmzTu5DEES2/lqbNffk7jGXv91PFfnDmWv7S0pql1s42HI x9Lc8lj+a4AWZKuq0VbMtFJVa1bTDZHM8RGtqIfYZKW9WU391oqzRf5caWakCRJGW8n0 L8o1NPX3+FDTMggBOniFdxpaVmcGUSiqDq180mHP+9TmQvYSZJ9t66kgfgaFViC1IDaL uG3rfvclDwzaIkNO/Azo9mvroMQVnuMEpZiGDqTP5G3oLkS6gauMjqDfbq4VIyeBdHwv YBpGrJsioEi1wn1yUw7eQiguD9Eo+fUzGULPmXQ23GImkQhmEL01JfcUL/v310SUljME HH6Q== X-Received: by 10.194.237.40 with SMTP id uz8mr25122262wjc.49.1364308170945; Tue, 26 Mar 2013 07:29:30 -0700 (PDT) MIME-Version: 1.0 Received: by 10.194.87.230 with HTTP; Tue, 26 Mar 2013 07:29:10 -0700 (PDT) From: Philippe Veber Date: Tue, 26 Mar 2013 15:29:10 +0100 Message-ID: To: caml users Content-Type: multipart/alternative; boundary=089e01493720e4c1aa04d8d4bfdd X-Validation-by: philippe.veber@gmail.com Subject: [Caml-list] Master-slave architecture behind an ocsigen server. --089e01493720e4c1aa04d8d4bfdd Content-Type: text/plain; charset=ISO-8859-1 Dear all, I'm developping an ocsigen website doing some scientific calculations. Up to now, the calculations were done in the same process that runs the server. In order to gain in scalability (and maybe stability too), I would like to run those calculations in a separate (pool of) process(es). As this is a pretty typical setup, I guess quite a few people have already done that. So I'd like to hear some suggestions on what library to use in this particular context. It seems to me that the release library [1] should do the job and is lwt-friendly, but there are maybe other good options? Thanks for any hint, cheers! Philippe. [1] https://github.com/andrenth/release --089e01493720e4c1aa04d8d4bfdd Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Dear all,

I'm developping an ocsigen website do= ing some scientific calculations. Up to now, the calculations were done in = the same process that runs the server. In order to gain in scalability (and= maybe stability too), I would like to run those calculations in a separate= (pool of) process(es). As this is a pretty typical setup, I guess quite a = few people have already done that. So I'd like to hear some suggestions= on what library to use in this particular context. It seems to me that the= release library [1] should do the job and is lwt-friendly, but there are m= aybe other good options?

Thanks for any hint, cheers!

Philippe.

[1] https://github.com/andrenth/release
--089e01493720e4c1aa04d8d4bfdd--