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 278CB7EE7A for ; Tue, 26 Mar 2013 20:02:57 +0100 (CET) Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of martin.jambon@ens-lyon.org) identity=pra; client-ip=66.111.4.25; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="martin.jambon@ens-lyon.org"; x-sender="martin.jambon@ens-lyon.org"; x-conformance=sidf_compatible Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of martin.jambon@ens-lyon.org) identity=mailfrom; client-ip=66.111.4.25; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="martin.jambon@ens-lyon.org"; x-sender="martin.jambon@ens-lyon.org"; x-conformance=sidf_compatible Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of postmaster@out1-smtp.messagingengine.com) identity=helo; client-ip=66.111.4.25; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="martin.jambon@ens-lyon.org"; x-sender="postmaster@out1-smtp.messagingengine.com"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AlkDAA7wUVFCbwQZk2dsb2JhbABDgzsBgx29P4EGFg4BAQEBBwsLCRQEWoIfAQEFIxUILAoCAQEPCxIGAgIFFgsCAgkDAgECATcOBg0BBwEBiBAMrXBxgkCBEI5fAgSBI41vB4ItgROIe4opiUWOMw X-IPAS-Result: AlkDAA7wUVFCbwQZk2dsb2JhbABDgzsBgx29P4EGFg4BAQEBBwsLCRQEWoIfAQEFIxUILAoCAQEPCxIGAgIFFgsCAgkDAgECATcOBg0BBwEBiBAMrXBxgkCBEI5fAgSBI41vB4ItgROIe4opiUWOMw X-IronPort-AV: E=Sophos;i="4.84,913,1355094000"; d="scan'208";a="9436778" Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by mail2-smtp-roc.national.inria.fr with ESMTP/TLS/ADH-AES256-SHA; 26 Mar 2013 20:02:56 +0100 Received: from compute2.internal (compute2.nyi.mail.srv.osa [10.202.2.42]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id 53FEB2088A; Tue, 26 Mar 2013 15:02:54 -0400 (EDT) Received: from frontend2.nyi.mail.srv.osa ([10.202.2.161]) by compute2.internal (MEProxy); Tue, 26 Mar 2013 15:02:54 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=message-id:date:from:mime-version:to:cc :subject:references:in-reply-to:content-type :content-transfer-encoding; s=smtpout; bh=lav/cAEdOIXxtIhbNWRwn7 L/1Ek=; b=Rls5hRfVptjdqG9ZmEruipYQ6K2KPcST8qSM2WHLTkmWM0aE89cC/q VJeyRF8An/CAcHe8azkIAEDF2rD5cvbvBTQUxQ1E4XohkkQAnq/LIukCRR8E1rm2 JNOeIB7xCZloeQ2kDAstSs7HQ6KH+t6UNLpg+L3ybhsWtrs1CrIjI= X-Sasl-enc: AA/zKT6er4lnaxbOOZRXhfYHRufaEn7TKHU4fNJVBmzw 1364324574 Received: from [192.168.1.123] (unknown [50.76.32.210]) by mail.messagingengine.com (Postfix) with ESMTPA id D4AB2200101; Tue, 26 Mar 2013 15:02:53 -0400 (EDT) Message-ID: <5151F0DC.1030202@ens-lyon.org> Date: Tue, 26 Mar 2013 12:02:52 -0700 From: Martin Jambon User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120827 Thunderbird/15.0 MIME-Version: 1.0 To: Philippe Veber CC: caml users References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Caml-list] Master-slave architecture behind an ocsigen server. I know it's off-topic but I suggest not using the word "slave" but "worker" instead. I find it unnecessarily offensive. Martin On Tue 26 Mar 2013 07:29:10 AM PDT, Philippe Veber wrote: > 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