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 mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by sympa.inria.fr (Postfix) with ESMTPS id 38B6D7FB66 for ; Wed, 18 May 2016 16:20:05 +0200 (CEST) IronPort-PHdr: 9a23:zekKwBFKX3XM+nHszFvOuZ1GYnF86YWxBRYc798ds5kLTJ75r8WwAkXT6L1XgUPTWs2DsrQf27uQ6PirBjZIyK3CmU5BWaQEbwUCh8QSkl5oK+++Imq/EsTXaTcnFt9JTl5v8iLzG0FUHMHjew+a+SXqvnYsExnyfTB4Ov7yUtaLyZ/nhqbpo9aMOU1hv3mUX/BbFF2OtwLft80b08NJC50a7V/3mEZOYPlc3mhyJFiezF7W78a0+4N/oWwL46pyv+YJa6jxfrw5QLpEF3xmdjltvIy4gyLeVhOC7WcwVWAfkxwAQ1SUrUKyYpCkgyLgsew1/SicJs7nBeQlXDWk9KR6YB3hjiocKyQ0/X2Rgct12vF1uhWk8j54xcbwfY2RPf82KqHae/sASGFGX8IXUDZOVNDvJ7ATBvYMaL4L57L2oEED+F7jXAQ= Authentication-Results: mail3-smtp-sop.national.inria.fr; spf=None smtp.pra=jon@recoil.org; spf=None smtp.mailfrom=jon@recoil.org; spf=None smtp.helo=postmaster@bark.recoil.org Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of jon@recoil.org) identity=pra; client-ip=5.153.225.51; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="jon@recoil.org"; x-sender="jon@recoil.org"; x-conformance=sidf_compatible Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of jon@recoil.org) identity=mailfrom; client-ip=5.153.225.51; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="jon@recoil.org"; x-sender="jon@recoil.org"; x-conformance=sidf_compatible Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of postmaster@bark.recoil.org) identity=helo; client-ip=5.153.225.51; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="jon@recoil.org"; x-sender="postmaster@bark.recoil.org"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0AVBgD6eDxX/zPhmQVegzdVfqkBiG2KCCKFbwIIgS47EQEBAQEBAQEBZCeCLYIWAQEEMgENAwEqCwEBDgsOCgkEIQ8FMRgTEogDAxsBCbBjhSgHAohfA4QpAQEBAQEFAQEBAQEBGAEIinKFIoJIgi6GQQyRY4YAiBaBc06EAYhij0k2LIIGHIFMbYgGAQEB X-IPAS-Result: A0AVBgD6eDxX/zPhmQVegzdVfqkBiG2KCCKFbwIIgS47EQEBAQEBAQEBZCeCLYIWAQEEMgENAwEqCwEBDgsOCgkEIQ8FMRgTEogDAxsBCbBjhSgHAohfA4QpAQEBAQEFAQEBAQEBGAEIinKFIoJIgi6GQQyRY4YAiBaBc06EAYhij0k2LIIGHIFMbYgGAQEB X-IronPort-AV: E=Sophos;i="5.26,329,1459807200"; d="scan'208";a="178205124" Received: from bark.recoil.org ([5.153.225.51]) by mail3-smtp-sop.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 18 May 2016 16:20:04 +0200 Received: from bark.recoil.org (localhost [127.0.0.1]) by bark.recoil.org (OpenSMTPD) with ESMTP id 30584e6c; Wed, 18 May 2016 15:20:02 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=recoil.org; h=date:from:to :cc:subject:message-id:references:mime-version:content-type :content-transfer-encoding:in-reply-to; s=selector1; bh=JxTjVFga Roh5FI81DOIm0eowWhg=; b=S59wiRNHby8+Mo+FHyhNoNtxOHX2JzwkcSCPUC+4 MDMroj+vejyr/tL/nwoEQ0x5JKXwnpAxx4BaH1AnYg/aRd5rANTLsSvqiIa0NdpG 7vb1arbAnK03y/RoSskwRbBsO7Y5t8Jztu4mZHqwLQgn5EVTdaDpQ6MIg8VIh8a8 0l4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=recoil.org; h=date:from:to :cc:subject:message-id:references:mime-version:content-type :content-transfer-encoding:in-reply-to; q=dns; s=selector1; b=eV 2hPwsZ9SGILs6RNnPEZ4oAK2kfbbm4Qz6TSG7l+hlbNjtfAvu3oz0YNTaz3zpaCP Tn9HO8XZd3nsMv9Wwv/FeyRwd7kTftl4DxnBHPeppbQsPcGTdDMki+1l2quDcoeI wuynMLSge5GdSXMtRf9cdiEf1vgotPkbCupbqDCDI= Received: from localhost (default-46-102-197-194.interdsl.co.uk [46.102.197.194]) by bark.recoil.org (OpenSMTPD) with ESMTPSA id e8a22179 TLS version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO; Wed, 18 May 2016 15:20:02 +0100 (BST) Date: Wed, 18 May 2016 15:17:15 +0100 From: Jon Ludlam To: Yaron Minsky Cc: rixed@happyleptic.org, "caml-list@inria.fr" Message-ID: <20160518141715.GA6168@humongous> References: <20160518134349.GA10232@pim.happyleptic.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) Subject: Re: [Caml-list] RPC for OCaml? Mirage has a simple RPC generator that fits the same hole as Async-RPC, which we use quite heavily in XenServer. It's camlp4 dependent right now, which I'm keen to fix in the near future. github.com/mirage/ocaml-rpc I'll certainly be casting a careful eye over the Async-RPC versioning support as our current versioning story is somewhat primitive. Jon On Wed, May 18, 2016 at 09:52:13AM -0400, Yaron Minsky wrote: > Async-RPC is perhaps worth looking at, though I agree it doesn't give > you much of what you want --- certainly, we don't to RPC over HTTP, we > do it over bog-standard TCP, and the protocol is very much > OCaml-specific, being based on bin-io. That said, it might be useful > to look at for inspiration, in particular for how versioning is > handled in Versioned_rpc. We do also have some kerberos support in > there as well, though I'm not sure that's in the open source release. > > On Wed, May 18, 2016 at 9:43 AM, wrote: > > Hello. > > > > I'm thinking about implementing a library for doing RPC with OCaml, with large > > scale environments in mind (à la Stubby but with better type checking of > > course). I'm wondering what are the related libs I should make myself familiar > > with before starting. I've seen a few interesting things for serialization > > (piqi come to mind), some interesting event engines (LWT, Core), some protocol > > implementations suitable for transport but no HTTP2, nothing to interface with > > monitoring subsystems or TSDBs, nothing related to load balancing, routing, > > DDoS detection, etc, some crypto, an interesting TLS implementation from > > MirageOs, no OAuth or similar. > > > > What other related projects should I look at? > > > > Also, if anyone would be interested in contributing ideas, experience or code > > please let me know. > > > > > > -- > > Caml-list mailing list. Subscription management and archives: > > https://sympa.inria.fr/sympa/arc/caml-list > > Beginner's list: http://groups.yahoo.com/group/ocaml_beginners > > Bug reports: http://caml.inria.fr/bin/caml-bugs > > -- > Caml-list mailing list. Subscription management and archives: > https://sympa.inria.fr/sympa/arc/caml-list > Beginner's list: http://groups.yahoo.com/group/ocaml_beginners > Bug reports: http://caml.inria.fr/bin/caml-bugs